/* Silk Agenda — promo site. Premium look taken from the 3D app icon: plum velvet, satin rose,
   ivory, soft layered shadows and generous rounding. Max font-weight 600. Made by Site Done. */
:root {
  --bg: #FDF2F1; --bg2: #F9E6E4; --surface: #FFFFFF; --surface2: #FBF3EF;
  --border: #EBD9D3; --border-soft: #F3E4DE;
  --rose: #C4727A; --rose-dim: #D9A0A6; --rose-bg: #F8E9EA; --satin: #E7B9B6;
  --plum: #5C324A; --plum-2: #3E2031; --ivory: #F7EFE6;
  --text: #2D1D22; --text-soft: #5D4146; --muted: #A08583;
  --shadow: rgba(92, 50, 74, .10); --shadow-2: rgba(92, 50, 74, .22); --scrim: rgba(45, 29, 34, .55);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150E10; --bg2: #1E1216; --surface: #1F1418; --surface2: #281A1F;
    --border: #3A282E; --border-soft: #2A1C22;
    --rose: #E8A0A8; --rose-dim: #B07A82; --rose-bg: #2C1E22; --satin: #C58C8C;
    --plum: #7A4664; --plum-2: #4A2638; --ivory: #F7EFE6;
    --text: #F3E9EC; --text-soft: #D4B8BE; --muted: #8A7075;
    --shadow: rgba(0, 0, 0, .35); --shadow-2: rgba(0, 0, 0, .55); --scrim: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); overflow-x: hidden;
  font: 400 17px/1.55 "Nunito Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1100px 620px at 85% -10%, var(--bg2), transparent 60%),
    radial-gradient(900px 560px at -10% 30%, color-mix(in srgb, var(--satin) 22%, transparent), transparent 60%),
    var(--bg);
}
a { color: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

/* Header */
header { padding: 18px 0; position: relative; z-index: 2; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo {
  display: block; width: 46px; height: 46px; border-radius: 22.5%; flex: none;
  box-shadow: 0 1px 1px rgba(255,255,255,.4) inset, 0 6px 14px -4px var(--shadow-2), 0 0 0 .5px rgba(0,0,0,.06);
}
.brand .word { display: flex; flex-direction: column; line-height: 1.05; }
.brand .word b { font-size: 21px; font-weight: 600; letter-spacing: .34em; color: var(--text); }
.brand .word i { font-style: normal; font-size: 12.5px; font-weight: 500; letter-spacing: .32em; color: var(--rose); margin-top: 3px; }
.head { display: flex; align-items: center; gap: 10px; }
.lang, .head-link {
  font: 600 13px/1 "Nunito Sans", sans-serif; letter-spacing: .06em; text-decoration: none; cursor: pointer;
  padding: 11px 14px; border-radius: 999px; border: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text-soft); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.head-link { color: var(--rose); border-color: color-mix(in srgb, var(--rose) 35%, transparent); }
.lang:hover, .head-link:hover { border-color: var(--rose-dim); color: var(--rose); }

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--rose);
  padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1px solid var(--border-soft); box-shadow: 0 4px 14px -8px var(--shadow-2);
}
.eyebrow svg { width: 15px; height: 15px; }
h1 { font-size: clamp(38px, 9.4vw, 64px); line-height: 1.04; font-weight: 500; margin: 0 0 20px; letter-spacing: -.02em; }
h1 em, .h2 em { font-style: normal; font-weight: 400; color: var(--rose);
  background: linear-gradient(120deg, var(--rose) 10%, var(--plum) 120%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.h2 { font-size: clamp(30px, 6.6vw, 46px); line-height: 1.08; font-weight: 500; margin: 0 0 14px; letter-spacing: -.02em; }
.lead { font-size: 18.5px; color: var(--text-soft); margin: 0 0 30px; max-width: 32em; }
.sub { color: var(--text-soft); margin: 0; max-width: 34em; }

/* Store button: shaped like the official App Store badge (big Apple mark, two-line
   label), in the icon's plum velvet (Den: not the darker brown) with a soft top highlight. */
.cta { display: grid; gap: 14px; max-width: 420px; }
.store {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 13px;
  width: 100%; min-height: 68px; padding: 10px 28px 10px 22px; border-radius: 18px; cursor: pointer;
  font-family: "Nunito Sans", -apple-system, sans-serif; text-align: left; color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 86%, #fff) 0%, var(--plum) 45%, var(--plum-2) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 18px 34px -16px var(--shadow-2), 0 6px 14px -8px var(--shadow-2);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store::after { content: ""; position: absolute; inset: 1px 1px 55% 1px; border-radius: 17px 17px 50% 50% / 17px 17px 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); pointer-events: none; }
.store:hover { transform: translateY(-1px); }
.store:active { transform: scale(.985); }
.store svg { width: 64px; height: 64px; flex: none; margin: -10px -10px -6px -14px; }
.store span { display: flex; flex-direction: column; }
.store small { display: block; font-size: 13px; font-weight: 400; letter-spacing: .01em; opacity: .92; line-height: 1.1; }
.store b { display: block; font-size: 28px; font-weight: 400; letter-spacing: -.01em; line-height: 1.05; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.facts li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 11px 6px; border-radius: 16px; font-size: 13px; line-height: 1.2; color: var(--text-soft);
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--border-soft);
  box-shadow: 0 8px 18px -14px var(--shadow-2);
}
.facts svg { width: 20px; height: 20px; color: var(--rose); flex: none; }

/* Phones: plum velvet bezel, satin glow behind */
.stage { position: relative; display: grid; justify-items: center; gap: 18px; }
.stage::before {
  content: ""; position: absolute; inset: 8% 4% 2%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--satin) 55%, transparent), transparent);
  filter: blur(30px);
}
.phone {
  width: min(320px, 80vw); border-radius: 54px; padding: 11px;
  background: linear-gradient(150deg, #7a4a64 0%, var(--plum) 35%, #2a1520 100%);
  box-shadow: 0 1px 1px rgba(255,255,255,.35) inset, 0 -1px 2px rgba(0,0,0,.35) inset,
              0 50px 90px -40px var(--shadow-2), 0 24px 40px -24px var(--shadow-2), 0 0 0 1px rgba(0,0,0,.05);
}
.phone picture { display: contents; }
.phone img, .phone video { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1565; border-radius: 44px; object-fit: cover; background: var(--bg); }
.caption {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; max-width: 340px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border-soft);
  box-shadow: 0 14px 30px -18px var(--shadow-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.caption i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--ivory);
  background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 80%, #fff), var(--plum-2)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset; }
.caption i svg { width: 18px; height: 18px; }
.caption b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.caption span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }

/* Sections */
.hero { display: grid; gap: 48px; padding-block: 24px 72px; align-items: center; }
.section { padding-block: 56px; }
.split { display: grid; gap: 40px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.steps li {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 78%, transparent); border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px -20px var(--shadow-2); color: var(--text-soft); font-size: 16px;
}
.steps b { flex: none; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; font-weight: 600;
  color: var(--ivory); background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 80%, #fff), var(--plum-2)); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset; }
.steps strong { color: var(--text); font-weight: 600; }


/* «Запис голосом» — the signature feature, right after the hero. */
.voice { padding-top: 8px; }
.voice-card {
  display: grid; gap: 30px; align-items: center; padding: 30px 22px; border-radius: 34px;
  background: radial-gradient(520px 300px at 100% 0%, color-mix(in srgb, var(--satin) 45%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 80px -50px var(--shadow-2), 0 10px 24px -16px var(--shadow);
}
.voice-demo {
  display: grid; justify-items: center; gap: 16px; padding: 26px 18px; border-radius: 28px; text-align: center;
  background: linear-gradient(160deg, #6d3d58 0%, #5C324A 45%, #321a27 100%); color: var(--ivory);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 30px 60px -34px rgba(92,50,74,.7);
}
.mic { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.mic i { position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #e3a3a9, #c4727a); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 12px 24px -10px rgba(0,0,0,.5); }
.mic i svg { width: 30px; height: 30px; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(231,185,182,.6); animation: ring 2.4s ease-out infinite; }
.ring.r2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.wave { display: flex; align-items: center; gap: 4px; height: 26px; }
.wave b { width: 4px; height: 100%; border-radius: 4px; background: rgba(247,239,230,.75); animation: wave 1.1s ease-in-out infinite; transform-origin: center; }
.wave b:nth-child(3n) { animation-delay: -.3s; } .wave b:nth-child(3n+1) { animation-delay: -.6s; } .wave b:nth-child(4n) { animation-delay: -.85s; }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.phrase { margin: 0; font-size: 17px; line-height: 1.45; max-width: 22em; color: var(--ivory); }
.heard { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.heard li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 14px; color: #3E2031;
  background: linear-gradient(180deg, #fffaf5, #f1e2d6); box-shadow: 0 1px 0 #fff inset, 0 8px 16px -10px rgba(0,0,0,.5);
  animation: pop-in 6s ease infinite; animation-delay: calc(var(--d) * .35s);
}
.heard svg { width: 15px; height: 15px; color: #C4727A; }
@keyframes pop-in { 0%, 8% { opacity: 0; transform: translateY(6px) scale(.96); } 16%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.voice-note { margin: 0; font-size: 13.5px; color: rgba(247,239,230,.75); }
@media (min-width: 760px) {
  .voice-card { grid-template-columns: 1fr 1fr; padding: 44px; gap: 44px; }
}

/* Feature cards */
.head-block { text-align: center; margin: 0 auto 34px; max-width: 40em; }
.head-block .sub { margin: 0 auto; }
.features { display: grid; gap: 16px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 26px; padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 22px 44px -32px var(--shadow-2), 0 6px 14px -10px var(--shadow);
}
.tile {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #F3D3CF;
  background: linear-gradient(160deg, color-mix(in srgb, var(--plum) 78%, #fff) 0%, var(--plum) 45%, var(--plum-2) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 18px -10px var(--shadow-2);
}
.tile svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 600; margin: 0 0 6px; }
.card p { margin: 0; color: var(--text-soft); font-size: 16px; }
.card code { font-family: inherit; color: var(--rose); white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.chips span {
  padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-soft);
  font-size: 15px; color: var(--text-soft); box-shadow: 0 8px 18px -14px var(--shadow-2);
}

/* Final band: the icon's plum velvet */
.band {
  position: relative; overflow: hidden; border-radius: 34px; padding: 40px 26px; text-align: center; color: var(--ivory);
  background: radial-gradient(600px 260px at 20% 0%, rgba(231,185,182,.35), transparent 70%),
              linear-gradient(160deg, #6d3d58 0%, #5C324A 40%, #321a27 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 40px 80px -40px rgba(92,50,74,.6);
}
.band img { width: 84px; height: 84px; border-radius: 22.5%; box-shadow: 0 14px 28px -10px rgba(0,0,0,.45); }
.band h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 500; line-height: 1.1; margin: 18px 0 10px; letter-spacing: -.02em; }
.band p { margin: 0 auto 26px; max-width: 30em; color: rgba(247,239,230,.82); }
.band .store { max-width: 340px; margin: 0 auto; color: #170a11; border-color: rgba(0,0,0,.12);
  background: linear-gradient(180deg, #fffaf5, #efe0d3); box-shadow: 0 1px 0 #fff inset, 0 18px 30px -16px rgba(0,0,0,.5); }

footer { padding: 34px 0 calc(28px + env(safe-area-inset-bottom)); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--rose); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.scrim { position: absolute; inset: 0; background: var(--scrim); animation: fade .2s ease; }
.dialog {
  position: relative; width: 100%; max-width: 380px; background: var(--surface); border-radius: 28px;
  border: 1px solid var(--border-soft); padding: 30px 24px 22px; text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.28); animation: pop .22s cubic-bezier(.2, .9, .3, 1.2);
}
.dialog .logo { width: 68px; height: 68px; margin: 0 auto 16px; }
.dialog h2 { font-size: 23px; font-weight: 500; margin: 0 0 8px; }
.dialog h2 em { font-style: normal; color: var(--rose); }
.dialog p { margin: 0 0 22px; color: var(--text-soft); font-size: 16px; }
.btn {
  width: 100%; min-height: 50px; border: 0; border-radius: 14px; color: var(--ivory); cursor: pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--plum) 86%, #fff), var(--plum-2));
  font: 600 13px/1 "Nunito Sans", sans-serif; letter-spacing: .1em; text-transform: uppercase;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

@media (min-width: 760px) {
  header { padding: 26px 0; }
  .hero { grid-template-columns: 1.1fr .9fr; padding-block: 40px 96px; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: auto; }
  .store { width: auto; justify-content: flex-start; padding-right: 34px; }
  .band { padding: 56px 40px; }
}
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
