@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/onest-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-cyrillic-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-cyrillic-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-cyrillic-wght-italic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-latin-ext-wght-italic.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Literata"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(../fonts/literata-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --night: #0B0F17; --night-2: #141A26; --night-line: #2A3141;
  --gold: #E9B357; --gold-deep: #8A6322; --gold-mid: #A87B2F;
  --cream: #F6EBD6; --sand: #C9BFAE;
  --marble: #F4F1EB; --stone: #ECE7DD; --stone-line: #CFC6B5;
  --ink: #1E2633; --ink-2: #3E4757; --muted: #5D6676; --slate: #4A5A70;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--marble); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.kicker { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.6vw, 22px); color: var(--slate); }
.muted { color: var(--muted); font-size: 16px; }
section h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.07; letter-spacing: -0.02em; margin-top: 10px; text-wrap: balance; }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 16px 30px; border-radius: 999px; font-weight: 750; font-size: 18px; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.cta:hover { transform: translateY(-1px); }
.cta-gold { background: var(--gold); color: var(--night); }
.cta-gold:hover { background: #F2C672; }
.cta-ink { background: var(--ink); color: var(--marble); }
.cta-line { border: 2px solid var(--ink); color: var(--ink); }

.hero { display: flex; flex-wrap: wrap; min-height: min(100svh, 940px); background: var(--night); color: var(--cream); }
.hero-copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; padding: 24px var(--pad) clamp(40px, 6vw, 72px); }
.nav { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 22px; font-weight: 600; font-size: 16px; }
.nav-links a { text-decoration: none; color: var(--cream); opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--night-line); border-radius: 999px; padding: 3px; }
.lang button { font: inherit; font-size: 13px; font-weight: 700; border: 0; background: none; color: var(--sand); padding: 7px 11px; border-radius: 999px; cursor: pointer; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.login { color: var(--gold); font-weight: 700; text-decoration: none; padding: 10px 2px; }
.hero-main { margin: auto 0; padding-top: clamp(40px, 8vh, 80px); max-width: 640px; }
.hero h1 { font-weight: 800; font-size: clamp(46px, 6.4vw, 92px); line-height: .96; letter-spacing: -0.045em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { margin-top: 26px; font-size: clamp(17px, 1.45vw, 20px); color: var(--sand); max-width: 560px; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.cta-link { color: var(--cream); font-weight: 650; text-underline-offset: 4px; }
.hero-stats { margin: clamp(36px, 6vh, 56px) 0 0; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 20px clamp(32px, 5vw, 56px); }
.hero-stats dt { font-weight: 800; font-size: clamp(40px, 4.4vw, 60px); color: var(--gold); line-height: 1; letter-spacing: -0.03em; }
.hero-stats dt small, .proof b small { font-size: .42em; font-weight: 600; letter-spacing: 0; margin-left: 4px; opacity: .75; }
.hero-stats dd { margin: 6px 0 0; font-size: 15px; color: var(--sand); }
.hero-photo { flex: 1 1 480px; min-width: 0; position: relative; min-height: 420px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.hero-main > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-main > :nth-child(2) { animation-delay: .08s; }
.hero-main > :nth-child(3) { animation-delay: .16s; }
.hero-main > :nth-child(4) { animation-delay: .24s; }
.hero-photo img { animation: fade 1.4s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-main > *, .hero-photo img { animation: none; } }

.arch { margin: 0; }
.arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; background: #D9D2C4; }
.arch figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }


.record { background: var(--stone); overflow: hidden; }
.record-in { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 9vw, 110px) var(--pad); }
.record-head { max-width: 680px; }
.proof { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stone-line); border-bottom: 1px solid var(--stone-line); }
.proof-item { padding: clamp(28px, 4vw, 44px) clamp(0px, 3vw, 40px) clamp(28px, 4vw, 44px) 0; }
.proof-item + .proof-item { border-left: 1px solid var(--stone-line); padding-left: clamp(24px, 4vw, 48px); }
.proof b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(64px, 9vw, 120px); line-height: .95; letter-spacing: -0.03em; color: var(--ink); }
.proof p { margin-top: 16px; max-width: 30ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--ink-2); }
.papers-wrap { margin-top: clamp(40px, 5vw, 56px); }
.papers-wrap .papers-title { margin-top: 0; }
.papers-wrap .papers { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.papers-title { margin-top: 40px; font-size: 15px; color: var(--muted); }
.papers { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.papers button { all: unset; cursor: pointer; display: block; width: 100%; background: var(--marble); border: 1px solid var(--stone-line); border-radius: 6px; padding: 8px 8px 12px; box-shadow: 0 10px 24px rgba(30, 38, 51, .08); transition: transform .2s ease, box-shadow .2s ease; }
.papers li:nth-child(odd) button { transform: rotate(-1.4deg); }
.papers li:nth-child(even) button { transform: rotate(1deg); }
.papers button:hover, .papers button:focus-visible { transform: rotate(0) translateY(-3px); box-shadow: 0 16px 32px rgba(30, 38, 51, .14); }
.papers img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 0; border-radius: 3px; background: #E3DDD0; }
.papers b { display: block; margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.papers b .of { font-size: .6em; color: var(--muted); margin-left: 2px; }
.papers small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--muted); }

.method { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 10vw, 120px) var(--pad); }
.method-head { max-width: 700px; }
.columns { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: end; }
.columns li { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(250px + var(--h) * 30px); padding: 36px 18px 24px; background: #FFFFFF; border: 1px solid var(--stone-line); border-bottom: 10px solid var(--ink); border-radius: 999px 999px 4px 4px; }
.columns .n { font-family: var(--serif); font-size: 42px; line-height: 1; color: var(--gold-mid); }
.columns b { margin-top: 12px; font-size: 18px; line-height: 1.25; }
.columns .d { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.method-foot { margin-top: 24px; }

.free { background: var(--ink); color: var(--marble); }
.free-in { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 9vw, 110px) var(--pad); display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); }
.free-head { flex: 0 1 380px; min-width: 0; }
.free .kicker { color: #C7B48C; }
.free h2 { font-size: clamp(32px, 3.8vw, 54px); }
.free-head p:not(.kicker) { margin-top: 20px; font-size: 18px; color: #C9CED8; }
.free-head .cta { margin-top: 32px; }
.free-more { display: block; margin-top: 16px; color: #C9CED8; font-weight: 600; text-underline-offset: 4px; width: fit-content; }
.free-grid { flex: 1 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #3A4456; border: 1px solid #3A4456; border-radius: 14px; overflow: hidden; }
.free-grid li { background: var(--ink); padding: 26px; display: flex; flex-direction: column; }
.free-grid .wide { grid-column: 1 / -1; }
.free-grid small { font-size: 14px; font-weight: 700; color: #C7B48C; }
.free-grid b { margin-top: 8px; font-size: 21px; line-height: 1.25; }
.free-grid span { margin-top: 6px; font-size: 15px; color: #C9CED8; }

.last { max-width: 1240px; margin: 0 auto; padding: clamp(72px, 9vw, 110px) var(--pad); display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); align-items: center; }
.last-copy { flex: 1 1 480px; min-width: 0; }
.last h2 { margin-top: 0; }
.last-copy p { margin-top: 20px; max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.last-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.arch-last { flex: 0 1 300px; min-width: 0; }
.arch-last img { object-position: 40% 50%; }

.foot { border-top: 1px solid var(--stone-line); max-width: 1240px; margin: 0 auto; padding: 30px var(--pad) calc(30px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-2); padding: 6px 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); max-height: 92svh; }
.lightbox::backdrop { background: rgba(11, 15, 23, .82); }
.lightbox img { max-height: 92svh; width: auto; margin: 0 auto; border-radius: 6px; }
.lb-close { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--marble); color: var(--ink); font-size: 26px; cursor: pointer; }

@media (max-width: 1060px) {
  .papers-wrap .papers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .columns li { min-height: calc(230px + var(--h) * 12px); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { flex-direction: column-reverse; flex-wrap: nowrap; min-height: 0; }
  .hero-copy { padding-top: 0; }
  .hero-photo { flex: none; min-height: 0; height: 46svh; max-height: 420px; order: 0; }
  .hero-copy .nav { position: absolute; top: 0; left: 0; right: 0; padding: 14px var(--pad); background: linear-gradient(rgba(11, 15, 23, .72), rgba(11, 15, 23, 0)); z-index: 2; }
  .hero { position: relative; }
  .hero-main { padding-top: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .columns { grid-template-columns: 1fr; gap: 12px; }
  .columns li { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 20px 22px; border-radius: 22px; border-bottom-width: 1px; border-left: 8px solid var(--ink); }
  .columns .n { font-size: 30px; }
  .columns b { margin-top: 0; flex: 1 1 160px; }
  .columns .d { flex-basis: 100%; margin-top: 2px; }
  .free-grid { grid-template-columns: 1fr; }
  .papers-wrap .papers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .proof { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--stone-line); padding-left: 0; }
  .hero-ctas .cta, .last-ctas .cta, .free-head .cta { width: 100%; }
}
