
:root, [data-theme="dark"] {
  --bg: #0E0B14; --bg2: #171221; --card: #1A1424; --card2: #1E1830;
  --text: #F4EFE8; --muted: rgba(244,239,232,0.74); --faint: rgba(244,239,232,0.58);
  --line: rgba(244,239,232,0.13); --line-strong: rgba(244,239,232,0.26);
  --link: #E9C78F; --btn: #F4EFE8; --btn-text: #14101E;
  --gold: #E9C78F; --gold-lit: #E9C78F; --accent: #E9C78F; --apricot: #E97F2E; --red: #9E1B3C; --teal: #7FC7BF;
  --red-text: #E0607F; /* designer 09-18. սխալ-ՏԵՔՍՏԻ կարմիրը. --red-ը (#9E1B3C) մուգ ֆոնին 2.3:1 էր (AA<4.5); սա 5.7:1 --bg-ի, 5.3:1 --card-ի վրա։ Կոճակ-ֆոնը մնում է --red */
  --elev: none; --elev-lg: 0 24px 60px rgba(0,0,0,0.45);
  --media-bg: #14101E;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #FBF8F3; --bg2: #F2EBE0; --card: #FFFFFF; --card2: #F2EBE0;
  --text: #1A1410; --muted: rgba(26,20,16,0.70); --faint: rgba(26,20,16,0.62);
  --line: rgba(26,20,16,0.12); --line-strong: rgba(26,20,16,0.22);
  --link: #6B4A2E; --btn: #1A1410; --btn-text: #FBF8F3;
  --gold: #8A6A48; --accent: #8A6A48; --apricot: #A84F14; --red: #9E1B3C; --teal: #2F7F78;
  --red-text: #9E1B3C; /* լույսում --red-ը ինքն է 6.7:1 */
  --elev: 0 1px 2px rgba(26,20,16,0.04), 0 12px 32px rgba(26,20,16,0.07);
  --elev-lg: 0 2px 4px rgba(26,20,16,0.04), 0 28px 64px rgba(26,20,16,0.12);
  color-scheme: light;
}
:root {
  --fixed-ink: #F3EDE2;      /* լույս թանաք միշտ-մուգ մակերեսին (hero) */
  --fixed-ink-hi: #F7F1E6;   /* նույնը՝ hero-ի վերնագրին, մեկ քայլ բաց */
  --fixed-ink-soft: #F4EFE8; /* նույնը՝ invite-ի մարմնին */
  --fixed-paper: #0E0B14;    /* միշտ-մուգ մակերես (hero) */
  --on-gold: #1A1410;        /* մուգ թանաք ոսկե կոճակին */
  --on-red: #FBF8F3;         /* լույս թանաք կարմիր կոճակին */
  --invite-a: #4A2C5E;       /* invite-ի շառավղային անցում, մոտ */
  --invite-b: #1E1530;       /* … և հեռու ծայրը */
}


html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Noto Sans Armenian", "Noto Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.6; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
body, .site-header, .section--tint, .card, .chat-card, .bubble, .chat-card-input, .theme-toggle, .nav-toggle, .about-photo { transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
@media (prefers-reduced-motion: reduce) { body, .site-header, .section--tint, .card, .chat-card, .bubble, .chat-card-input, .theme-toggle, .nav-toggle, .about-photo, .btn { transition: none; } }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img, video { max-width: 100%; display: block; }
video { background: var(--media-bg); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
.serif { font-family: "Noto Serif Armenian", "Noto Serif", serif; font-weight: 500; }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.page { width: 100%; max-width: 1440px; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; position: relative; }
.wrap { padding-left: clamp(24px, 5vw, 80px); padding-right: clamp(24px, 5vw, 80px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; background: var(--btn); color: var(--btn-text); font-size: 17px; font-weight: 500; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; transition: opacity 0.2s ease, transform 0.2s ease; }
.btn:hover { opacity: 0.88; transform: translateY(-1px); color: var(--btn-text); }
.btn--small { padding: 11px 20px; font-size: 15px; }
.btn--gold { background: var(--gold-lit); color: var(--on-gold); }
.btn--red { background: var(--red); color: var(--on-red); }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 15px; }
.lockup { flex: none; display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); }
.lockup img { width: 30px; height: 30px; }
.lockup span { font-size: 17px; letter-spacing: 0.005em; }
.site-nav { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 24px; color: var(--muted); }
.site-nav a { color: inherit; padding: 6px 0; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); }
.nav-lang { letter-spacing: 0.08em; font-size: 13px; color: var(--faint); padding: 6px 0; }
.nav-lang a[aria-current="true"] { color: var(--text); }
.theme-toggle { margin-left: 4px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.theme-toggle:hover { color: var(--text); }
.nav-now { flex: none; font-size: 15px; font-weight: 500; color: var(--text); white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; padding: 0; flex: none; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

.drawer-head { display: none; }
.drawer-close { display: none; }
@media (max-width: 1100px) { /* 1024-ում RU/EN nav-ը երկու տող էր դառնում → մենյու-կոճակ; 09-19-ից ՆՈՒՅՆ շեմը talk-ում էլ (ethi.css) */
  .site-header { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .lockup { margin-right: auto; min-width: 0; }
  .nav-toggle { display: inline-flex; }
  .site-header > .btn { padding: 9px 14px; font-size: 14px; }

  .drawer[data-drawer] {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 60;
    box-sizing: border-box; /* կայքում գլոբալ border-box չկա — առանց սրա padding+border-ը
      * պանելը 340-ից 381px էր դարձնում, ձախ եզրը մտնում էր overlay-ի տակ, և overlay-ի
      * սեղմումը լուռ չէր փակում (բռնվեց ռենդեր-ստուգմամբ, ոչ markup-ով) */
    width: min(340px, 88vw); max-width: none; height: auto; margin: 0;
    display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start;
    gap: 2px; padding: 14px 20px calc(20px + env(safe-area-inset-bottom));
    background: var(--card); border: 0; border-left: 1px solid var(--line); border-radius: 0;
    box-shadow: var(--elev-lg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(101%); visibility: hidden;
    transition: transform 0.24s ease, visibility 0s linear 0.24s;
  }
  .drawer[data-drawer][data-open="true"] { transform: none; visibility: visible; transition: transform 0.24s ease; }
  .drawer-overlay { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, 0.5); }
  html.drawer-locked, html.drawer-locked body { overflow: hidden; }
  .drawer-head { display: flex; order: -2; align-items: center; justify-content: flex-end; min-height: 44px; margin-bottom: 2px; }
  .drawer-close {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer;
  }
  .drawer-close:hover { background: var(--bg2); }

  .site-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-lang { padding: 16px 0 4px; font-size: 15px; letter-spacing: 0.06em; }
  .nav-lang a { display: inline-block; border: 0; padding: 11px 4px; }
  .theme-toggle { align-self: flex-start; margin: 8px 0 0; min-height: 44px; padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 420px) {
  .lockup span { font-size: 16px; }
  .site-header > .btn { padding: 9px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .drawer[data-drawer] { transition: none; } }

.hero-lead { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.section { display: flex; flex-direction: column; gap: 40px; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.section--tint { background: var(--bg2); border-bottom: 1px solid var(--line); }
.lead { font-size: 17px; color: var(--faint); max-width: 56ch; }
.section-title { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.015em; max-width: 18ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--elev); transition: border-color 0.25s ease, background-color 0.18s ease, color 0.18s ease; }
.card:hover { border-color: var(--line-strong); }
.card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 28px 30px 32px; }
.card-body h3 { font-size: clamp(23px, 1.4vw + 14px, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.card-body p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.card-body .topic { margin-top: auto; padding-top: 12px; }

.invite { position: relative; margin-left: clamp(24px, 5vw, 80px); margin-right: clamp(24px, 5vw, 80px); padding: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 64px); border-radius: 32px; background: radial-gradient(ellipse at 18% 18%, var(--invite-a), var(--invite-b) 62%); color: var(--fixed-ink-soft); display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; overflow: hidden; }
.invite-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.invite-copy { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 58ch; }
.invite h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 500; }
.invite p { font-size: 17px; line-height: 1.6; color: rgba(244,239,232,0.86); }
.invite .btn { position: relative; }

.site-footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; padding-top: clamp(36px, 4vw, 56px); padding-bottom: 48px; font-size: 14px; color: var(--faint); }
.site-footer .lockup { flex: 1 1 240px; min-width: 0; }
.site-footer .lockup span { min-width: 0; font-size: 14px; font-weight: 400; }
.site-footer .lockup img { width: 22px; height: 22px; flex: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { color: var(--faint); }
.site-footer nav a:hover { color: var(--text); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn); color: var(--btn-text); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 30; }

.legal-wrap { max-width: 860px; margin: 0 auto; }
.legal-wrap .section--hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 4px; gap: 10px; }
.legal-title { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 4px 0 0; }
.legal-updated { font-size: 14px; color: var(--faint); }
.legal-wrap .section--last { padding-bottom: clamp(48px, 6vw, 88px); gap: 20px; }
.legal-section { display: flex; flex-direction: column; gap: 10px; max-width: 72ch; padding: 28px 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.legal-section .eyebrow { color: var(--faint); }
.legal-heading { font-size: 20px; line-height: 1.3; }
.legal-text { font-size: 16px; line-height: 1.65; color: var(--muted); }
.legal-text .em { color: var(--text); font-weight: 500; }
.legal-flag { font-size: 14px; line-height: 1.5; color: var(--gold); }

.legal-404 { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 52ch; margin: 0 auto; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px); text-align: center; }
.legal-404-eti { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle, var(--bg2) 55%, transparent 72%); }
.legal-404 h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -0.01em; }
.legal-404-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.legal-404-home { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); font-size: 17px; font-weight: 500; }
.legal-404-home:hover { border-color: var(--gold); color: var(--gold); }

.ognum-wrap { max-width: 900px; margin: 0 auto; }
.ognum-wrap .section { gap: 18px; padding-top: clamp(36px, 4vw, 60px); padding-bottom: clamp(36px, 4vw, 60px); border-top: 0; }
.ognum-wrap .section--hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 8px; gap: 10px; }
.ognum-h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -0.02em; max-width: 19ch; margin: 6px 0 0; }
.ognum-wrap .section-title { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -0.005em; max-width: 26ch; margin-bottom: 2px; }
.ognum-wrap .section-title::before { content: ""; display: block; width: 26px; height: 2px; margin-bottom: 14px; border-radius: 2px; background: var(--gold); }
.ognum-wrap p:not([class]) { font-size: 17px; line-height: 1.72; color: var(--muted); max-width: 72ch; }
.ognum-wrap strong { color: var(--text); font-weight: 500; }
.ognum-wrap ul, .ognum-wrap ol { margin: 0; padding-left: 1.35em; max-width: 72ch; font-size: 17px; line-height: 1.72; color: var(--muted); }
.ognum-wrap li + li { margin-top: 14px; }
.ognum-wrap li::marker { color: var(--faint); }

.ognum-card { max-width: 72ch; box-sizing: border-box; font-size: 17px; padding: 6px 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.ognum-wrap .ognum-card p { max-width: none; padding: 20px 0; }
.ognum-card p + p { border-top: 1px solid var(--line); }

.ognum-wrap .section--last { gap: 20px; padding-top: clamp(32px, 4vw, 52px); padding-bottom: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.ognum-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.ognum-back { font-size: 15px; color: var(--faint); }
.ognum-back:hover { color: var(--text); }
@media (max-width: 560px) {
  .ognum-card { padding-left: 18px; padding-right: 18px; border-radius: 22px; }
  .ognum-wrap .ognum-card p { padding: 16px 0; }
}

.nb { white-space: nowrap; }

.ognum-landing .section--hero { padding-bottom: clamp(24px, 3vw, 36px); gap: 16px; }
.landing-sub { margin: 4px 0 0; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.38; max-width: 32ch; }
.landing-sub span { display: block; color: var(--muted); }
.landing-sub span + span { color: var(--text); }
.landing-note { margin: 0; font-size: 15px; line-height: 1.6; color: var(--faint); max-width: 68ch; text-wrap: balance; }
.ognum-landing .ognum-actions { margin-top: 4px; }

.ognum-landing .landing-block { gap: 14px; }
.ognum-landing .landing-block p:not([class]) { max-width: 62ch; }
.ognum-landing .landing-block ul, .ognum-landing .landing-block ol { max-width: 62ch; }
.ognum-landing .landing-block ul + p:not([class]) { margin-top: 18px; font-size: 15px; color: var(--faint); }

.landing-steps ol { list-style: none; padding-left: 0; counter-reset: քայլ; }
.landing-steps li { display: grid; grid-template-columns: clamp(38px, 4.4vw, 56px) minmax(0, 1fr); gap: 0 16px; align-items: baseline; counter-increment: քայլ; }
.landing-steps li::before { content: counter(քայլ); font-size: clamp(27px, 3.2vw, 38px); line-height: 1.05; font-weight: 400; color: var(--gold); font-variant-numeric: tabular-nums; }
.landing-steps li + li { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }

.landing-table { padding-top: clamp(30px, 3.4vw, 46px) !important; }
.ognum-landing .landing-table p:not([class]) { max-width: 60ch; box-sizing: border-box; font-size: 18px; line-height: 1.75; color: var(--text); background: var(--card2); border-radius: 28px; padding: clamp(22px, 3vw, 32px); }

.landing-now ul { list-style: none; padding-left: 0; }
.landing-now li + li { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.landing-now li { padding-bottom: 16px; }
.landing-now li:last-child { padding-bottom: 0; }

@media (max-width: 560px) {
  .landing-sub { max-width: none; }
  .ognum-landing .ognum-actions { display: block; }
  .ognum-landing .ognum-actions .btn { display: flex; width: 100%; box-sizing: border-box; }
  .ognum-landing .ognum-actions .ognum-back { display: inline-block; margin-top: 14px; }
  .ognum-landing .landing-table p:not([class]) { padding: 20px; border-radius: 22px; }
}

.landing-pic { display: block; width: 100%; height: auto; border-radius: 18px; margin: 0 0 12px; }
.landing-pic-wide { display: block; width: 100%; height: auto; border-radius: 28px; margin: 0 0 18px; }
.ognum-landing .landing-table .landing-pic-wide { font-size: 18px; max-width: 60ch; }
@media (max-width: 760px) {
  .landing-pic { max-width: 360px; }
}
@media (min-width: 761px) and (max-width: 999px) {
  .landing-takeaways li:has(.landing-pic) { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 22px; align-items: start; }
  .landing-takeaways li:has(.landing-pic) .landing-pic { margin-bottom: 0; }
  .landing-takeaways ol:has(.landing-pic) { list-style: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .landing-pic { border-radius: 14px; }
  .landing-pic-wide { border-radius: 22px; }
  .ognum-landing .landing-takeaways .landing-pic { max-width: 280px; }
}

.ognum-wrap.ognum-landing { max-width: 1120px; }

.ognum-landing .landing-block p:not([class]),
.ognum-landing .landing-block ul,
.ognum-landing .landing-block ol { font-size: 18px; line-height: 1.75; max-width: 68ch; }

.ognum-landing .section-title { font-size: clamp(24px, 2.6vw, 34px); max-width: 24ch; }
.ognum-landing .section-title::before { width: 34px; height: 3px; margin-bottom: 18px; background: var(--door, var(--gold)); }

.ognum-landing .landing-block { padding-top: clamp(30px, 3.4vw, 52px); padding-bottom: clamp(30px, 3.4vw, 52px); }
.ognum-landing .landing-takeaways,
.ognum-landing .landing-table { padding-top: clamp(44px, 5.2vw, 84px); padding-bottom: clamp(44px, 5.2vw, 84px); }

@media (min-width: 1000px) {
  .ognum-landing .landing-takeaways ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; list-style: none; padding-left: 0; max-width: none; }
  .ognum-landing .landing-takeaways li { display: block; margin-top: 0; }
  .ognum-landing .landing-takeaways .landing-pic { margin: 0 0 18px; max-width: none; }
  .ognum-landing .landing-takeaways li > span { display: block; }
}

.ognum-landing .landing-table { gap: 0; }
.ognum-landing .landing-table .section-title { margin-bottom: 16px; }
.ognum-landing .landing-table .landing-pic-wide { max-width: 960px; width: 100%; margin: 0; border-radius: 28px 28px 0 0; }
.ognum-landing .landing-table p:not([class]) { max-width: 960px; margin: 0; border-radius: 0 0 28px 28px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px); background: var(--card2); }
.ognum-landing .landing-table p:not([class]) > span.inner { display: block; max-width: 62ch; }

.ognum-landing[data-door="start"] { --door: var(--gold); }
.ognum-landing[data-door="mijavayr"] { --door: var(--teal); }
.ognum-landing[data-door="idea"] { --door: var(--apricot); }
.ognum-landing[data-door="ability"] { --door: var(--red-text); }
.ognum-landing .landing-steps li::before { color: var(--door, var(--gold)); }


@media (min-width: 1000px) {
  .ognum-landing .landing-block ul,
  .ognum-landing .landing-block ol,
  .ognum-landing .landing-block p:not([class]) { max-width: 700px; }
  .ognum-landing .landing-takeaways ol { max-width: none; }
  .ognum-landing .landing-table .landing-pic-wide,
  .ognum-landing .landing-table p:not([class]) { max-width: none; }
}

@media (min-width: 1000px) {
  .ognum-landing .section--hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); grid-template-areas: "eyebrow eyebrow" "title action" "sub note"; column-gap: 56px; align-items: start; }
  .ognum-landing .section--hero .eyebrow { grid-area: eyebrow; }
  .ognum-landing .section--hero .ognum-h1 { grid-area: title; }
  .ognum-landing .section--hero .landing-sub { grid-area: sub; }
  .ognum-landing .section--hero .ognum-actions { grid-area: action; align-self: end; margin-top: 0; }
  .ognum-landing .section--hero .landing-note { grid-area: note; align-self: start; margin-top: 16px; }
}


.section--hero-bg { position: relative; isolation: isolate; overflow: hidden; }
.landing-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.section--hero-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--bg) 0%, var(--bg) 58%, transparent 92%); }
.section--hero-bg > :not(.landing-hero-bg) { position: relative; }
@media (max-width: 999px) {
  .ognum-landing .section--hero-bg { display: flex; flex-direction: column; }
  .section--hero-bg::before { content: none; }
}


@media (min-width: 1000px) {
  .ognum-landing .section--hero-bg { display: block; }
  .ognum-landing .section--hero-bg .ognum-actions { margin-top: 26px; }
  .ognum-landing .section--hero-bg .landing-note { margin-top: 14px; max-width: 46ch; }
  .ognum-landing .section--hero-bg > :not(.landing-hero-bg) { max-width: 54%; }
}
@media (max-width: 999px) {
  .ognum-landing .section--hero-bg .landing-hero-bg {
    position: static; order: 99; width: 100%; height: 216px;
    object-position: 100% 50%; border-radius: 18px; margin-top: 8px;
  }
}


.v4-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 88px); align-items: center; padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(48px, 7vw, 104px); }
.v4-hero-copy { display: flex; flex-direction: column; gap: 20px; max-width: 880px; }
.v4-hero h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -0.022em; max-width: 26ch; }
.v4-hero .hero-lead { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.v4-hint { font-size: 15px; line-height: 1.5; color: var(--faint); }
.v4-hint--price { color: var(--gold); margin-top: -12px; }
@media (min-width: 861px) {
  .v4-hero { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 5vw, 88px); row-gap: 20px; align-items: start; }
  .v4-hero-copy { display: contents; }
  .v4-hero-copy > * { grid-column: 1; }
  .v4-hero h1 { grid-column: 1 / -1; max-width: 30ch; }
  .v4-pair { grid-column: 2; grid-row: 2 / span 5; align-self: center; }
  .v4-hint--price { margin-top: -10px; }
}
.v4-pair { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.v4-pair-discs { display: flex; align-items: center; }
.v4-pair-photo, .v4-pair-mark { width: clamp(170px, 16vw, 230px); aspect-ratio: 1; height: auto; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--line-strong); }
.v4-pair-photo { object-fit: cover; object-position: 50% 24%; background: var(--bg2); }
.v4-pair-mark { margin-left: -16%; display: grid; place-items: center; background: var(--fixed-paper); box-shadow: var(--elev-lg); }
.v4-pair-mark img { width: 80%; height: auto; filter: saturate(0.9) brightness(0.95); transition: filter 0.4s ease; }
.v4-hero:has(.ethi-start:focus-within) .v4-pair-mark img { filter: saturate(1.2) brightness(1.12); }
.v4-pair-cap { max-width: 26ch; font-size: 15px; line-height: 1.45; color: var(--muted); text-align: center; text-wrap: balance; }
@media (max-width: 860px) {
  .v4-hero { grid-template-columns: minmax(0, 1fr); }
  .v4-pair { order: -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; }
  .v4-pair-discs { flex: none; }
  .v4-pair-photo, .v4-pair-mark { width: 56px; }
  .v4-pair-mark { margin-left: -14px; box-shadow: none; }
  .v4-pair-cap { max-width: none; font-size: 14px; text-align: left; }
}

.v4-days { position: relative; white-space: nowrap; padding-bottom: 0.12em;
  background: repeating-linear-gradient(90deg, var(--gold) 0 calc(10% - 3px), transparent calc(10% - 3px) 10%) left bottom / 100% 3px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .v4-days::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--text), transparent) no-repeat; background-size: 24% 100%; background-position: -30% 0;
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent calc(10% - 3px) 10%);
            mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent calc(10% - 3px) 10%);
    animation: v4-days-sweep 1.6s 0.5s ease-in-out 1 both; }
  @keyframes v4-days-sweep { to { background-position: 130% 0; } }
}
@media (max-width: 720px) { .v4-hero { padding-top: 36px; padding-bottom: 44px; } }
@media (max-width: 720px) { .v4-hero h1 { font-size: clamp(28px, 8.2vw, 34px); } }

.v4-head { display: flex; flex-direction: column; gap: 14px; }
.v4-title { max-width: 26ch; }
.v4-num { font-size: 13px; letter-spacing: 0.12em; color: var(--gold); font-variant-numeric: tabular-nums; }
.section--tint .v4-num { color: var(--link); }
.v4-note { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 66ch; }

.v4-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v4-card { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--elev); }
.v4-card h3 { font-size: clamp(20px, 1.1vw + 12px, 24px); line-height: 1.25; letter-spacing: -0.01em; }
.v4-card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .v4-cards { grid-template-columns: minmax(0, 1fr); } }

.v4-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.v4-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.v4-steps .v4-num { padding-top: 4px; }
.v4-steps p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.v4-steps strong, .v4-about-body strong { color: var(--text); font-weight: 500; }
.v4-how .section-title { max-width: 26ch; }
.v4-how-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 4px; }
@media (max-width: 900px) { .v4-steps { grid-template-columns: minmax(0, 1fr); } }

.v4-price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.v4-price-title { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; max-width: 20ch; }
.v4-price-body { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 60ch; padding-top: 30px; }
@media (max-width: 900px) { .v4-price { grid-template-columns: minmax(0, 1fr); } .v4-price-body { padding-top: 0; } }

.v4-about { display: grid; grid-template-columns: minmax(240px, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.v4-photo { margin: 0; position: sticky; top: 96px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); aspect-ratio: 800 / 861; }
.v4-photo img { width: 100%; height: 100%; object-fit: cover; }
.v4-about-body { display: flex; flex-direction: column; gap: 18px; max-width: 66ch; }
.v4-about-body p:not(.eyebrow) { font-size: 17px; line-height: 1.7; color: var(--muted); }
.v4-about-body .v4-title { margin-bottom: 4px; }
@media (max-width: 700px) { .v4-about { grid-template-columns: minmax(0, 1fr); } .v4-photo { position: static; max-width: 360px; } }

.v4-partners { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 24px clamp(40px, 6vw, 96px); padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.v4-partners-title { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.v4-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(36px, 5vw, 72px); }
.v4-logos a { display: block; opacity: 0.9; transition: opacity 0.2s ease; }
.v4-logos a:hover { opacity: 1; }
.v4-logos img { height: 40px; width: auto; max-width: 100%; }
.v4-logos .partner--nuaca img { height: 58px; }
.logo-on-light { display: none; }
[data-theme="light"] .v4-logos .logo-on-light { display: block; }
[data-theme="light"] .v4-logos .logo-on-dark { display: none; }

.v4-fit-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.v4-fit-yes { padding: 28px 30px 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--elev); }
.v4-fit-intro { font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.v4-fit-yes ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.v4-fit-yes li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.v4-fit-yes li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.v4-fit-no { padding: 28px 30px; border-radius: 24px; border: 1px dashed var(--line-strong); font-size: 16px; line-height: 1.6; color: var(--faint); }
@media (max-width: 820px) { .v4-fit-grid { grid-template-columns: minmax(0, 1fr); } }

.v4-final { margin-top: clamp(48px, 6vw, 88px); }
.v4-direct { font-size: 16px; }
.v4-direct a { color: var(--gold-lit); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.v4-direct a:hover { color: var(--fixed-ink-soft); }
.v4-final a:focus-visible { outline-color: var(--gold-lit); }
@media (max-width: 1200px) { .v4-final .invite-bg { opacity: 0.2; } }
@media (max-width: 720px) {
  .v4-get .section-title, .v4-how .section-title, .v4-about .section-title, .v4-fit .section-title,
  .v4-price-title { font-size: clamp(24px, 7vw, 30px); }
  .v4-final h2 { font-size: clamp(24px, 7vw, 28px); }
}

.lang-note a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer-tagline { flex-basis: 100%; margin: 0; font-size: 14px; color: var(--faint); }
.footer-lang { color: var(--faint); letter-spacing: 0.06em; }
.footer-lang a { color: var(--faint); }
.footer-lang .is-current { color: var(--text); }


.ethi-launch { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 30;
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; box-sizing: border-box; padding: 8px 20px 8px 10px;
  border-radius: 999px; background: var(--btn); color: var(--btn-text); font-size: 16px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28); transition: transform 0.22s ease, opacity 0.22s ease; }
.ethi-launch:hover { color: var(--btn-text); transform: translateY(-1px); }
.ethi-launch img { width: 34px; height: 34px; border-radius: 50%; background: var(--fixed-paper); padding: 3px; box-sizing: border-box; }
.ethi-launch[data-hidden="true"] { transform: translateY(12px); opacity: 0; visibility: hidden; transition: transform 0.22s ease, opacity 0.22s ease, visibility 0s linear 0.22s; }
.page .site-footer { padding-bottom: calc(20px + 52px + 24px); }
@media (max-width: 720px) {
  .ethi-launch { left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); justify-content: center; }
  .page .site-footer { padding-bottom: calc(48px + 76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: no-preference) {
  .ethi-launch img, .ethi-ask-mark { animation: ethi-breathe 4.8s ease-in-out 1; }
  .ethi-launch:hover img, .ethi-launch:focus-visible img, .ethi-ask:hover .ethi-ask-mark, .ethi-ask:focus-visible .ethi-ask-mark { animation: ethi-breathe-h 2.4s ease-in-out 1; }
  @keyframes ethi-breathe-h { 0%, 100% { filter: saturate(0.8) brightness(0.92); } 50% { filter: saturate(1.15) brightness(1.08); } }
  @keyframes ethi-breathe { 0%, 100% { filter: saturate(0.8) brightness(0.92); } 50% { filter: saturate(1.15) brightness(1.08); } }
}

.ethi-start { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-top: 6px; padding: 10px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--elev); }
.ethi-start:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.ethi-start textarea { display: block; width: 100%; box-sizing: border-box; min-height: 60px; resize: vertical; margin: 0; padding: 8px 10px;
  border: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; line-height: 1.5; }
.ethi-start textarea::placeholder { color: var(--faint); }
.ethi-start textarea:focus-visible { outline: none; }
.ethi-start .btn { align-self: flex-end; }
@media (max-width: 720px) { .ethi-start .btn { align-self: stretch; white-space: normal; text-align: center; text-wrap: balance; padding-left: 16px; padding-right: 16px; } }
@media (max-width: 400px) { .ethi-start .btn { font-size: 16px; padding-left: 12px; padding-right: 12px; } }

.ethi-chips { display: flex; flex-direction: column; gap: 10px; }
.ethi-chips-lbl { font-size: 14px; color: var(--faint); }
.ethi-chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ethi-chip { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text); font-size: 15px; transition: border-color 0.18s ease, color 0.18s ease; }
.ethi-chip:hover { border-color: var(--accent); color: var(--text); }

.ethi-ask { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; box-sizing: border-box; padding: 8px 18px 8px 9px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 15px; line-height: 1.35;
  transition: border-color 0.18s ease; align-self: flex-start; }
.ethi-ask:hover { border-color: var(--line-strong); color: var(--text); }
.ethi-ask-mark { width: 26px; height: 26px; flex: none; }
.ethi-ask-lbl { color: var(--muted); }
.ethi-ask-q { font-weight: 500; }
.v4-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.v4-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
@media (max-width: 720px) {
  .ethi-ask { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 1px 12px; align-items: center; max-width: 100%; padding: 9px 18px 10px 12px; border-radius: 22px; }
  .ethi-ask-mark { grid-row: 1 / span 2; }
  .ethi-ask-lbl { font-size: 13px; line-height: 1.35; }
}

.ethi-panel { position: fixed; inset: 0; z-index: 70; }
.ethi-panel[hidden] { display: none; }
.ethi-panel-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 0.2s ease; }
.ethi-panel[data-open="true"] .ethi-panel-scrim { opacity: 1; }
.ethi-panel-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); display: flex; flex-direction: column;
  background: var(--bg); border-left: 1px solid var(--line); box-shadow: var(--elev-lg); opacity: 0; transform: translateX(24px);
  transition: transform 0.24s ease, opacity 0.24s ease; }
.ethi-panel[data-open="true"] .ethi-panel-sheet { opacity: 1; transform: none; }
.ethi-panel-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.ethi-panel-sheet { overflow: hidden; }
.ethi-panel-head { background: var(--card); border-bottom: 0; }
.ethi-panel-head img { width: 28px; height: 28px; }
.ethi-panel-head h2 { flex: 1; min-width: 0; font-size: 16px; font-weight: 500; }
.ethi-panel-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.ethi-panel-close:hover { background: var(--bg2); }
.ethi-panel-close:hover { background: var(--card2); }
.ethi-panel-body { flex: 1; min-height: 0; position: relative; }
.ethi-panel-body iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--bg); }
.ethi-panel-preview { padding: 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ethi-panel-full { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 14px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }
.ethi-panel-full:hover { color: var(--text); }
@media (max-width: 400px) { .ethi-panel-head h2 { font-size: 15px; } .ethi-panel-full { font-size: 13px; } }
html.ethi-open { overflow: hidden; }

.only-mail { display: none !important; }
html.ethi-mail .only-mail { display: revert !important; }
html.ethi-mail .only-talk { display: none !important; }
@media (max-width: 720px) {
  .ethi-panel-sheet { top: auto; left: 0; width: 100%; height: min(88dvh, 88vh); border-left: 0; border-top: 1px solid var(--line);
    border-radius: 22px 22px 0 0; transform: translateY(32px); padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: reduce) {
  .ethi-launch, .ethi-launch[data-hidden="true"], .ethi-panel-scrim, .ethi-panel-sheet { transition: none; }
}

.is-embed .ethi-lockup, .is-embed .ethi-foot { display: none; }
.is-embed .chat-page .chat-top { display: none; }
.is-embed .ethi-app { grid-template-rows: var(--ethi-bar) minmax(0, 1fr) 0; }

.v4-head .eyebrow, .v4-about-body .eyebrow { text-transform: none; letter-spacing: 0.01em; font-size: 15px; }
@media (max-width: 720px) { .v4-final .btn { width: 100%; box-sizing: border-box; white-space: normal; text-align: center; } }
