/* Founday — лендинг. Порт канон-прототипа «Founday - Landing Page.dc.html».
   Без сборки и без внешних ресурсов: шрифты и картинки лежат рядом. */

@font-face{font-family:'Golos Text';src:url('/fonts/golos_text_variable.woff2') format('woff2-variations');font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/fonts/jetbrains_mono_variable.woff2') format('woff2-variations');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/fonts/instrument_serif_regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('/fonts/instrument_serif_italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}

:root{
  --bg:#FCFBF7; --ink:#1A1B17; --dark:#0A0B0A; --paper:#ECEDEA;
  --accent:#D99A3C; --accent-soft:#E8B968; --accent-deep:#B0701C;
  --card-dark:#17190F; --band:#F3F1E8;
  --gutter:44px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Golos Text',system-ui,-apple-system,sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img{max-width:100%}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}

/* --- переключатель языка: в DOM лежат обе версии, видна одна --- */
.ru{display:none}
[data-lang="ru"] .ru{display:revert}
[data-lang="ru"] .en{display:none}

.mono{font-family:'JetBrains Mono',ui-monospace,monospace}
.serif,em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400}
.dot{color:var(--accent)}
.gold{color:var(--accent-soft)}
.gold-deep{color:var(--accent-deep)}
.wrap{max-width:1200px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}

/* ================= HERO ================= */
.hero{
  position:relative;color:var(--paper);overflow:hidden;
  background:
    radial-gradient(120% 68% at 14% -2%, rgba(217,154,60,0.18), transparent 55%),
    radial-gradient(105% 60% at 94% 6%, rgba(123,140,214,0.13), transparent 52%),
    var(--dark);
}
.topbar{position:relative;z-index:6;max-width:1200px;margin:0 auto;padding:26px var(--gutter);display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{font-weight:800;font-size:22px;letter-spacing:-0.03em;color:var(--paper);text-decoration:none}
.topbar-right{display:flex;align-items:center;gap:30px}
.nav{display:flex;align-items:center;gap:26px;font-size:14px}
.nav a{color:rgba(236,237,234,0.72);text-decoration:none;transition:color .18s ease}
.nav a:hover{color:var(--paper)}
.langswitch{display:flex;gap:2px;background:rgba(236,237,234,0.07);border:1px solid rgba(236,237,234,0.12);border-radius:999px;padding:3px}
.langbtn{cursor:pointer;font-family:'JetBrains Mono',monospace;font-weight:600;font-size:12px;padding:5px 11px;border-radius:999px;border:none;background:none;color:rgba(236,237,234,0.5);transition:color .18s ease,background .18s ease}
[data-lang="en"] .langEn,[data-lang="ru"] .langRu{background:var(--paper);color:var(--dark)}

.hero-body{position:relative;min-height:812px}
/* Высота стены — по содержимому, а не по герою: при заданной высоте браузер
   раскладывает кадры в колонки, часть которых уезжает за правый край, и стена
   не достаёт до низа. Здесь колонки выравниваются между собой сами, лишнее
   обрезает overflow:hidden у .hero. */
.mosaic{position:absolute;top:0;left:0;right:0;column-count:5;column-gap:12px;padding:0 12px;opacity:.92}
/* height:auto обязательна: атрибуты width/height в разметке браузер применяет
   как CSS-размер, и без неё картинку растягивает до height="…" пикселей. */
.mosaic img{width:100%;height:auto;display:block;border-radius:14px;margin-bottom:12px;break-inside:avoid}
.mosaic-veil-x{position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,11,10,0.94) 0%,rgba(10,11,10,0.86) 34%,rgba(10,11,10,0.4) 62%,rgba(10,11,10,0.72) 100%)}
.mosaic-veil-y{position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,11,10,0.5) 0%,transparent 22%,transparent 62%,rgba(10,11,10,0.75) 100%)}
.hero-content{position:relative;z-index:3;max-width:1200px;margin:0 auto;padding:40px var(--gutter) 96px;min-height:812px;display:flex;flex-direction:column;justify-content:center}
.hero-copy{max-width:620px}

.pill{display:inline-flex;align-items:center;gap:10px;background:rgba(236,237,234,0.07);border:1px solid rgba(236,237,234,0.14);border-radius:999px;padding:7px 14px 7px 12px}
.pill-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(217,154,60,0.2)}
.pill-text{font-size:11px;letter-spacing:0.14em;color:rgba(236,237,234,0.7)}
.eyebrow-gold{margin-top:24px;font-size:12px;letter-spacing:0.2em;color:var(--accent-soft)}
.prompt-sample{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-size:60px;line-height:1;letter-spacing:-0.01em;color:var(--paper);margin:8px 0 22px}
.hero-title{font-weight:800;font-size:58px;line-height:1;letter-spacing:-0.035em;text-wrap:balance}
.hero-title em{font-size:1.14em}
.hero-sub{font-size:18px;line-height:1.5;color:rgba(236,237,234,0.66);margin-top:20px;max-width:468px}

/* --- форма листа ожидания --- */
.waitlist{margin-top:30px;max-width:468px}
.waitlist-row{display:flex;gap:10px}
.waitlist input[type=email]{flex:1;min-width:0;height:56px;border-radius:16px;background:rgba(236,237,234,0.06);border:1px solid rgba(236,237,234,0.16);color:var(--paper);font-family:inherit;font-size:16px;padding:0 18px;outline:none;transition:border-color .18s ease}
.waitlist input[type=email]:focus{border-color:rgba(217,154,60,0.6)}
.waitlist input::placeholder{color:rgba(236,237,234,0.4)}
.waitlist button{flex:none;height:56px;padding:0 24px;border-radius:16px;background:var(--accent);color:#1A140A;border:none;font-family:inherit;font-weight:700;font-size:16px;cursor:pointer;white-space:nowrap;transition:background .18s ease}
.waitlist button:hover{background:var(--accent-soft)}
.waitlist button[disabled]{opacity:.55;cursor:default}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.waitlist-note{font-size:13px;line-height:1.5;color:rgba(236,237,234,0.45);margin-top:12px}
.waitlist-note a{color:rgba(236,237,234,0.7)}
.waitlist-msg{font-size:15px;line-height:1.5;margin-top:14px;display:none}
.waitlist.is-done .waitlist-row,.waitlist.is-done .waitlist-note{display:none}
.waitlist.is-done .waitlist-msg,.waitlist.is-error .waitlist-msg{display:block}
.waitlist.is-done .waitlist-msg{display:flex;align-items:center;gap:12px;background:rgba(217,154,60,0.12);border:1px solid rgba(217,154,60,0.3);border-radius:16px;padding:16px 20px;color:rgba(236,237,234,0.9)}
.waitlist.is-done .waitlist-msg::before{content:'✓';flex:none;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#1A140A;display:flex;align-items:center;justify-content:center;font-weight:800}
.waitlist.is-error .waitlist-msg{color:#E8B968}

/* ================= ФИЛОСОФИЯ ================= */
.philosophy{padding-top:110px;padding-bottom:90px}
.section-head{max-width:760px}
.section-head.center{text-align:center;max-width:640px;margin:0 auto 60px}
.eyebrow{font-size:12px;letter-spacing:0.2em;color:var(--accent-deep)}
.section-head h2{font-weight:700;font-size:46px;line-height:1.04;letter-spacing:-0.03em;margin-top:14px;text-wrap:balance}
.band .section-head h2{font-size:42px}
.lede{font-size:18px;line-height:1.55;color:rgba(26,27,23,0.62);margin-top:18px}
.on-dark{color:var(--paper)}
.lede.on-dark{color:rgba(236,237,234,0.62)}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:48px}
.card-light{background:#fff;border:1px solid rgba(26,27,23,0.09);border-radius:22px;padding:30px 30px 26px}
.card-dark{background:var(--card-dark);border:1px solid rgba(217,154,60,0.24);border-radius:22px;padding:30px 30px 26px;color:var(--paper)}
.card-tag{display:flex;align-items:center;gap:10px;margin-bottom:22px;font-size:11px;letter-spacing:0.16em;color:rgba(26,27,23,0.6)}
.card-dark .card-tag{color:var(--accent-soft)}
.card-tag .sq{width:9px;height:9px;border-radius:2px;background:var(--ink)}
.card-tag .ci{width:9px;height:9px;border-radius:50%;background:var(--accent)}
.material{display:flex;flex-direction:column;gap:12px}
.material li{display:flex;align-items:center;gap:14px}
.material img{width:52px;height:52px;flex:none;border-radius:12px;object-fit:cover}
.material .serif{font-size:27px}
.abstract{display:flex;flex-direction:column;gap:15px}
.abstract li{font-size:30px;line-height:1.06;color:#F3E7D2}
.card-foot{font-size:13.5px;line-height:1.5;color:rgba(236,237,234,0.55);margin-top:22px}

/* ================= КАК ЭТО РАБОТАЕТ ================= */
.band{background:var(--band);border-top:1px solid rgba(26,27,23,0.06);border-bottom:1px solid rgba(26,27,23,0.06)}
.band .wrap{padding-top:100px;padding-bottom:100px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.step{background:#fff;border:1px solid rgba(26,27,23,0.08);border-radius:22px;padding:28px;display:flex;flex-direction:column}
.step--dark{background:var(--card-dark);border-color:rgba(217,154,60,0.22);color:var(--paper)}
.step-img{position:relative;height:168px;border-radius:14px;overflow:hidden;margin-bottom:22px}
.step-img img{width:100%;height:100%;object-fit:cover;display:block}
/* Кот сидит левее центра — иначе обрезка карточки оставляет одну кирпичную стену. */
.step--dark .step-img img{object-position:32% 45%}
.stamp{position:absolute;inset:0;margin:auto;width:max-content;height:max-content;transform:rotate(-8deg);border:3px solid var(--accent-soft);color:var(--accent-soft);font-weight:700;font-size:24px;letter-spacing:0.1em;padding:6px 18px;border-radius:7px;background:rgba(10,11,10,0.28);display:flex;align-items:center}
.step-n{font-size:12px;color:var(--accent-deep)}
.step--dark .step-n{color:var(--accent-soft)}
.step h3{font-weight:700;font-size:23px;letter-spacing:-0.02em;margin-top:6px}
.step p{font-size:15px;line-height:1.5;color:rgba(26,27,23,0.6);margin-top:8px}
.step--dark p{color:rgba(236,237,234,0.62)}

/* ================= СООБЩЕСТВО ================= */
.community{position:relative;background:var(--dark);color:var(--paper);overflow:hidden}
.community::before{content:'';position:absolute;inset:0;background:radial-gradient(90% 60% at 82% 0%, rgba(217,154,60,0.14), transparent 55%)}
.community .wrap{position:relative;padding-top:100px;padding-bottom:100px}
.grid6{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:44px}
.grid6 img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:14px;display:block}

/* ================= FAQ ================= */
.faq{max-width:860px;margin:0 auto;padding:100px var(--gutter)}
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq details{background:#fff;border:1px solid rgba(26,27,23,0.09);border-radius:18px;padding:22px 26px}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;font-weight:600;font-size:18px;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';flex:none;font-family:'JetBrains Mono',monospace;font-size:20px;color:var(--accent-deep)}
.faq details[open] summary::after{content:'−'}
.faq details p{font-size:16px;line-height:1.55;color:rgba(26,27,23,0.62);margin-top:12px}

/* ================= ФУТЕР ================= */
.download{background:radial-gradient(100% 70% at 50% 0%, rgba(217,154,60,0.16), transparent 58%), var(--dark);color:var(--paper)}
.download .wrap{padding-top:100px;padding-bottom:56px}
.download-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:center}
h2.big{font-weight:800;font-size:54px;line-height:1;letter-spacing:-0.035em;text-wrap:balance}
.download .lede{max-width:460px}
.store{display:inline-flex;align-items:center;gap:12px;background:#141513;border:1px solid rgba(236,237,234,0.14);border-radius:15px;padding:11px 20px 11px 16px;margin-top:22px}
.store-soon{font-size:9px;letter-spacing:0.14em;color:rgba(236,237,234,0.5)}
.store-name{font-weight:600;font-size:15px}
.qr-block{display:flex;align-items:center;gap:24px;justify-content:center}
.qr-col{display:flex;flex-direction:column;align-items:center;gap:12px}
.qr{border-radius:20px;box-shadow:0 16px 40px rgba(0,0,0,0.4);display:block}
.qr-cap{font-size:10px;letter-spacing:0.12em;color:rgba(236,237,234,0.5);text-align:center;max-width:170px}
.mascot{flex:none}

.footbar{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:80px;padding-top:30px;border-top:1px solid rgba(236,237,234,0.1)}
.footbar-brand{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.footbar .brand{font-size:20px}
.tagline{font-size:17px;color:rgba(236,237,234,0.55)}
.footlinks{display:flex;gap:18px;flex-wrap:wrap;font-size:13px}
.footlinks a{color:rgba(236,237,234,0.5);text-decoration:none}
.footlinks a:hover{color:var(--paper)}
.copy{font-size:11px;color:rgba(236,237,234,0.4)}

/* ================= АДАПТИВ ================= */
@media (max-width:1080px){
  .hero-title{font-size:48px}
  h2.big{font-size:44px}
  .section-head h2{font-size:38px}
  .band .section-head h2{font-size:34px}
  .prompt-sample{font-size:48px}
  .abstract li{font-size:26px}
  .material .serif{font-size:23px}
  .grid6{grid-template-columns:repeat(3,1fr)}
  .download-grid{grid-template-columns:1fr;gap:44px}
  .qr-block{justify-content:flex-start}
}
@media (max-width:820px){
  :root{--gutter:22px}
  .nav{display:none}
  .steps{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .mosaic{column-count:3}
  .hero-body,.hero-content{min-height:0}
  .hero-content{padding-top:64px;padding-bottom:72px}
  .philosophy{padding-top:72px;padding-bottom:64px}
  .band .wrap,.community .wrap{padding-top:72px;padding-bottom:72px}
  .faq{padding-top:72px;padding-bottom:72px}
  .download .wrap{padding-top:72px}
  .mosaic-veil-x{background:linear-gradient(90deg,rgba(10,11,10,0.9) 0%,rgba(10,11,10,0.78) 60%,rgba(10,11,10,0.86) 100%)}
}
@media (max-width:560px){
  .hero-title{font-size:38px}
  h2.big{font-size:36px}
  .section-head h2,.band .section-head h2{font-size:30px}
  .prompt-sample{font-size:38px}
  .hero-sub,.lede{font-size:16px}
  .waitlist-row{flex-wrap:wrap}
  .waitlist input[type=email]{flex:1 1 100%}
  .waitlist button{flex:1 1 100%}
  .grid6{grid-template-columns:repeat(2,1fr)}
  .mosaic{column-count:2}
  .abstract li{font-size:23px}
  .material .serif{font-size:20px}
  .footbar{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
