html {
  --bg:#0f1724;
  --accent:#ab417f;
  --muted:#94a3b8;
  --glass:rgba(255,255,255,0.04)
}

body {
  margin: 0;
}

h1 {
  margin:0;
  font-size: 1.5rem;
}

p {
  margin: 0;
  padding: 0;
}

a.link{color:inherit;text-decoration:underline}

.page {
  margin: 0;
  width: 100%;
  color: #e6eef8;
  background: linear-gradient(180deg, #071126 0%, #071639 100%);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  font-size: 14px;
  display: flex; 
  justify-content: center; 
  padding: 20px 0;
  box-sizing: border-box;
  min-height: 100vh;
}

.wrap {
  max-width: 450px;
  display: grid;
  grid: repeat(4, auto) / 1fr;
  margin: 0;
  padding: 0 20px 0 20px;
  background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
  border-radius:24px;
  box-shadow:0 8px 30px rgba(2,6,23,0.6);backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.03);
}

.head {
  display:flex;
  align-items:center;
  gap: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.head-domain {  
  display: grid;
  gap: 10px;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start; 
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  background: var(--glass);
  color: var(--muted);
  font-size: 0.8rem;
  transition: background .3s ease;
}

.pill:hover {
  background:rgba(255, 255, 255, 0.086);
}

.meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.box {
  background: rgba(255,255,255,0.02);
  padding: 12px;
  border-radius: 10px;
  transition: background .3s ease;
  margin: 0;
}

.box:hover {
  background:rgba(255,255,255,0.05);
}


.foot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 10vh;
  color:var(--muted);
  padding-bottom: 10px;
}

.pill-foot {
  font-size: 0.8rem;
}

.hint {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  opacity: 0.8;
}

.hint-text {
  margin: 3px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.anketa {
  display:flex;
  flex-direction:column;
  gap:8px;
}

.anketa-title {
  font-size: 0.8rem;
  color:var(--muted);
}

.anketa-input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  color: inherit;
  transition: all .3s ease;
}

.anketa-input:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(171, 65, 127, 0.4);
  box-shadow: 0 2px 8px rgba(171, 65, 127, 0.1);
}

.anketa-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 2px rgba(171, 65, 127, 0.2);
}

.anketa-textarea {
  min-height:100px;
}

.anketa-button {
  cursor: pointer;
  border: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  transition: all .3s ease;
  opacity: 0.8;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.btn-primary {
  background: linear-gradient(90deg, #ab417f, #ff4a8d);
  color: #fff;
  position: relative;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #006c25, #1aa52b);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 10px;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 4px 15px rgba(171, 67, 65, 0.4);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.berry-logo-container {
    background: transparent;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.berry-logo {
    filter: 
        contrast(1.25)
        brightness(1.05)
        saturate(1.15);
    background: transparent;
    border: none;
    outline: none;
    height: auto;
    display: block;
}


.berry-logo-img {
    width: 100px;
}


@media (max-width: 431px) {
  h1 {
    font-size: 1.2rem;
  }

  .page {
    padding: 0;
  }

  .wrap {
    max-width: 100%;
    border-radius: 70px;
    background:linear-gradient(180deg,rgba(255, 255, 255, 0.018),rgba(255, 255, 255, 0.047));
  }
  
  .head {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: 30px;
  }

  .berry-logo-img {
    width: 90px;
    margin-top: 20px;
  }
     
  .features {
    gap: 20px;
  }
  
  .pill {
    font-size: 0.8rem;
    padding: 5px 8px;
  }
  
  .pill-foot {
    font-size: 0.8rem;
    padding: 5px 8px;
    text-align: center;
  }
  
  .meta {
    justify-content: center;
    gap: 15px;
  }
  
  .box {
    padding: 10px;
    text-align: left;
  }
     
  .anketa-button {
    font-size: 0.9rem;
    width: 100%;
  }
  
  .foot {
    font-size: 0.6rem;
    text-align: center;
    margin-top: 12px;
    min-height: 50%;
  }
  
  .hint {
    font-size: 0.9rem;
    text-align: center;
  }
 
  .anketa {
    gap: 6px;
  }
  
  .anketa-title {
    font-size: 0.9rem;
    margin-top: 5px;
  }
  
  .anketa-input {
    padding: 12px;
    font-size: 0.8rem;
  }
  
  .anketa-textarea {
    min-height: 80px;
  }
 
}