/* ==========================================================================
   JH Duo: styles.css   ·   Brand: Direction A "The Pixel"
   THEME: every color, font, radius and shadow lives in the token blocks below.
   Dark is the default theme; `.section--light` flips the same tokens to Paper.
   ========================================================================== */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/assets/fonts/inter-display-var.woff2') format('woff2'); font-weight: 500 800; font-style: normal; font-display: swap; }

:root {
  /* Brand palette */
  --ink: #121214;            /* Ink */
  --ink-deep: #0C0C0E;       /* deeper ink for alternating sections */
  --ink-deepest: #080809;    /* footer */
  --paper: #F5F3EE;          /* Paper */
  --signal: #FF4F1F;         /* Signal orange: CTAs, highlights, the pixel */
  --signal-hover: #FF6A40;
  --signal-ink: #B8360E;     /* orange used as TEXT on Paper (AA contrast) */

  /* Fonts */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Display', 'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Semantic tokens (dark default) */
  --bg: var(--ink);
  --bg-alt: var(--ink-deep);
  --surface: #19191C;
  --surface-2: #202024;
  --text: var(--paper);
  --muted: #A8A59E;
  --line: rgba(245,243,238,.10);
  --line-strong: rgba(245,243,238,.22);
  --accent: var(--signal);
  --accent-text: var(--signal);
  --on-accent: var(--ink);
  --input-bg: #0E0E10;
  --ph-bg: rgba(255,79,31,.10); --ph-text: #FF9A7A; --ph-line: rgba(255,79,31,.45);
  --ok-bg: rgba(91,214,140,.12); --ok-text: #7FE0A6; --ok-line: rgba(91,214,140,.35);
  --err: #FF7A6B;

  /* Shape */
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px -24px rgba(0,0,0,.7);
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.85);
  --ring: 0 0 0 3px rgba(255,79,31,.45);
  --px: 8px;                 /* size of the brand pixel motif */

  --container: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
.section--light {
  --bg: var(--paper);
  --bg-alt: #ECE9E2;
  --surface: #FFFFFF;
  --surface-2: #FAF9F6;
  --text: var(--ink);
  --muted: #5C5A55;
  --line: #E2DED5;
  --line-strong: #CBC6BB;
  --accent-text: var(--signal-ink);
  --input-bg: #FFFFFF;
  --ph-bg: #FFF1EB; --ph-text: #9C2F0C; --ph-line: #F2A487;
  --ok-bg: #E6F6EC; --ok-text: #11663A; --ok-line: #B5E2C6;
  --err: #B3261E;
  --shadow: 0 1px 2px rgba(18,18,20,.05), 0 10px 30px -12px rgba(18,18,20,.15);
  --shadow-lg: 0 24px 64px -20px rgba(18,18,20,.28);
  background: var(--bg); color: var(--text);
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss01'; transition: opacity .15s ease; }
html.i18n-pending body { opacity: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.06; letter-spacing: -0.03em; margin: 0; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255,79,31,.35); color: inherit; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: clamp(80px, 10vw, 136px); position: relative; background: var(--bg); color: var(--text); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg); }
.section--light.section--alt { background: var(--bg-alt); }
.section + .section:not(.section--light):not(.section--alt) { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
/* Pixel motif: eyebrow label with an orange square */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: var(--px); height: var(--px); background: var(--signal); flex-shrink: 0; }
.h2 { font-size: clamp(34px, 4.8vw, 58px); }
.h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; margin-top: 20px; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.tnum { font-variant-numeric: tabular-nums; }
/* the period rendered as the brand pixel */
.px-period { display: inline-block; width: .17em; height: .17em; background: var(--signal); margin-left: .05em; color: transparent; overflow: hidden; vertical-align: baseline; line-height: 0; }

/* Placeholder marker: wherever real content is still pending */
.ph-badge { align-self: flex-start; width: fit-content; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--ph-bg); color: var(--ph-text); border: 1px dashed var(--ph-line); }

/* ---------- Buttons ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.005em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; position: relative; }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 38px; padding: 0 15px; font-size: 14px; border-radius: 9px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn--primary { background: var(--signal); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(255,79,31,.75); }
.btn--primary:hover { background: var(--signal-hover); transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(255,79,31,.9); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #26262B; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--accent-text); font-weight: 600; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(18,18,20,.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; color: var(--paper); transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: rgba(245,243,238,.08); background: rgba(18,18,20,.9); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { height: 28px; width: auto; }
.nav { display: none; margin-left: 12px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #A8A59E; text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--paper); background: rgba(245,243,238,.05); }
.nav a[aria-current="true"] { color: var(--paper); }
.nav a[aria-current="true"]::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; background: var(--signal); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
@media (min-width: 1024px) { .nav { display: block; } .header-cta { display: inline-flex; } .menu-btn { display: none !important; } }
@media (min-width: 640px) and (max-width: 1023px) { .header-cta { display: inline-flex; } }

.lang-toggle { display: inline-flex; padding: 3px; border-radius: 9px; background: rgba(245,243,238,.06); border: 1px solid rgba(245,243,238,.1); }
.lang-toggle button { border: 0; background: transparent; color: #A8A59E; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 6px; cursor: pointer; min-width: 36px; min-height: 28px; transition: background-color .2s, color .2s; }
.lang-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.lang-toggle button:not([aria-pressed="true"]):hover { color: var(--paper); }

.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(245,243,238,.12); background: rgba(245,243,238,.04); color: var(--paper); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ink); color: var(--paper); padding: 24px 20px 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(245,243,238,.08); }
.mobile-menu a:not(.btn)::after { content: ''; width: 7px; height: 7px; background: var(--signal); opacity: 0; transition: opacity .2s; }
.mobile-menu a:not(.btn):hover::after, .mobile-menu a:not(.btn):focus-visible::after { opacity: 1; }
.mobile-menu .btn { margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(72px, 9vw, 120px); isolation: isolate; }
.pixel-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(245,243,238,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,243,238,.05) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; mask-image: radial-gradient(ellipse 75% 70% at 60% 35%, #000 25%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 35%, #000 25%, transparent 78%); }
.pixel-grid i { position: absolute; width: 64px; height: 64px; background: var(--signal); opacity: 0; animation: blink 9s steps(1) infinite; }
.pixel-grid i:nth-child(1) { left: 768px; top: 64px; animation-delay: 0s; }
.pixel-grid i:nth-child(2) { left: 1216px; top: 128px; animation-delay: 3s; }
.pixel-grid i:nth-child(3) { left: 1344px; top: 512px; animation-delay: 6s; }
.pixel-grid i:nth-child(4) { left: 1088px; top: 704px; animation-delay: 4.5s; }
@media (max-width: 1023px) { .pixel-grid i { display: none; } }
@keyframes blink { 0% { opacity: 0; } 4% { opacity: .9; } 14% { opacity: .9; } 18% { opacity: 0; } }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.hero-glow--a { width: 560px; height: 560px; background: rgba(255,79,31,.20); top: -240px; right: -120px; animation: drift 20s ease-in-out infinite alternate; }
.hero-glow--b { width: 420px; height: 420px; background: rgba(245,243,238,.06); bottom: -240px; left: -120px; animation: drift 24s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-50px, 40px) scale(1.08); } }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 10px; background: rgba(245,243,238,.05); border: 1px solid rgba(245,243,238,.1); font-size: 13px; color: #A8A59E; margin-bottom: 30px; }
.pill b { white-space: nowrap; flex-shrink: 0; background: var(--signal); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.hero h1 { font-size: clamp(46px, 7vw, 92px); letter-spacing: -0.045em; line-height: .98; max-width: 11.5ch; font-weight: 650; }
.hero h1 .accent { color: var(--signal); }
.hero .subline { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; margin-top: 24px; color: var(--paper); }
.hero .lead { color: #A8A59E; max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; font-size: 14px; color: #A8A59E; list-style: none; padding: 0; }
.hero-meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta li::before { content: ''; width: 6px; height: 6px; background: var(--signal); flex-shrink: 0; }
.hero-meta svg { display: none; }
@media (max-width: 639px) { .hero-ctas .btn { flex: 1 1 100%; } }

/* Hero illustration (generic, illustrative: not a client) */
.hero-art { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.browser { background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(245,243,238,.12); overflow: hidden; transform: perspective(1600px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.hero-art:hover .browser { transform: perspective(1600px) rotateY(-3deg) rotateX(2deg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #ECE9E2; border-bottom: 1px solid #DEDAD1; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D3CFC6; }
.browser-url { flex: 1; margin-left: 10px; height: 26px; border-radius: 7px; background: #fff; border: 1px solid #DEDAD1; font-size: 12px; color: #6B6862; display: flex; align-items: center; padding: 0 10px; gap: 6px; }
.browser-body { padding: 18px 20px 22px; }
.mini-nav { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #6B6862; }
.mini-nav .mini-logo { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 13px; letter-spacing: -.02em; }
.mini-nav .mini-lang { border: 1px solid #D3CFC6; border-radius: 6px; padding: 2px 7px; font-weight: 700; }
.mini-hero { margin-top: 18px; border-radius: 12px; padding: 22px 18px; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.mini-hero::after { content: ''; position: absolute; right: 18px; top: 18px; width: 14px; height: 14px; background: var(--signal); }
.mini-hero h4 { font-size: 20px; letter-spacing: -.03em; max-width: 14ch; }
.mini-hero p { font-size: 12px; color: #A8A59E; margin-top: 6px; }
.mini-btns { display: flex; gap: 8px; margin-top: 14px; }
.mini-btns span { font-size: 11px; font-weight: 600; padding: 7px 12px; border-radius: 7px; background: var(--signal); color: var(--ink); }
.mini-btns span + span { background: transparent; color: var(--paper); border: 1px solid rgba(245,243,238,.25); }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini-cards div { height: 70px; border-radius: 10px; background: #E7E3DA; position: relative; overflow: hidden; }
.mini-cards div::after { content: ''; position: absolute; left: 10px; right: 30%; bottom: 10px; height: 6px; border-radius: 3px; background: #CFCAC0; }
.mini-cards div:nth-child(2)::before { content: ''; position: absolute; left: 10px; top: 10px; width: 8px; height: 8px; background: var(--signal); }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(28,28,32,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(245,243,238,.1); box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); font-size: 13px; color: var(--paper); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float-chip small { display: block; color: #A8A59E; font-size: 11px; }
.float-chip .ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255,79,31,.14); color: var(--signal); }
.chip-pay { left: -24px; bottom: 64px; }
.chip-seo { right: -18px; top: 76px; animation-delay: -2s; }
.chip-lang { right: 28px; bottom: 36px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 639px) { .chip-pay { left: -6px; bottom: 44px; } .chip-seo { right: -6px; top: 60px; } .chip-lang { right: 10px; } .browser { transform: none; } .float-chip { font-size: 12px; padding: 8px 11px; } }
.art-note { text-align: center; font-size: 12px; color: #77746E; margin-top: 30px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink-deep); color: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: #D6D3CC; }
.trust svg { color: var(--signal); }
@media (max-width: 639px) { .trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; } .trust li { font-size: 13px; } }

/* ---------- Cards / grids ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .3s var(--ease), border-color .3s, background-color .3s; }
/* pixel hover state */
.card::before, .plan::after, .slot::before, .contact-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: var(--px); height: var(--px); background: var(--signal); border-top-left-radius: 3px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s var(--ease); }
.card:hover, a.contact-card:hover { border-color: var(--line-strong); }
.card:hover::before, .plan:hover::after, .slot:hover::before, a.contact-card:hover::before { opacity: 1; transform: none; }
.icon-tile { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,79,31,.12); color: var(--signal); margin-bottom: 22px; }
.section--light .icon-tile { background: #FFE9E0; color: var(--signal-ink); }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.bento { display: grid; gap: 16px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(3, 1fr); } .bento .span-2 { grid-column: span 2; } }
.card--feature { background: var(--paper); color: var(--ink); border-color: var(--paper); overflow: hidden; }
.card--feature p { color: #5C5A55; }
.card--feature .icon-tile { background: var(--ink); color: var(--signal); }
.lang-demo { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.lang-demo span { font-size: 14px; padding: 8px 14px; border-radius: 10px; background: #ECE9E2; border: 1px solid #DEDAD1; }
.lang-demo span b { color: var(--signal-ink); margin-right: 6px; font-size: 12px; }
.card--cta { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; background: var(--signal); border-color: var(--signal); color: var(--ink); }
.card--cta::before { display: none; }
.card--cta h3 { font-size: 22px; }
.card--cta p { color: rgba(18,18,20,.8); }
.card--cta .btn { align-self: flex-start; }

/* ---------- Process ---------- */
.process { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; } }
.process li { position: relative; padding: 26px 22px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 900px) { .process li { border: 0; border-radius: 0; border-left: 1px solid var(--line); } .process li:first-child { border-left: 0; } }
.process .num { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.process .num::before { content: ''; width: var(--px); height: var(--px); background: var(--line-strong); transition: background-color .3s; }
.process li:hover .num::before, .process li:last-child .num::before { background: var(--signal); }
.process h3 { font-size: 22px; margin-top: 18px; }
.process p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- Pricing ---------- */
.care-switch { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: -16px auto 44px; }
.care-switch .label { font-size: 14px; color: var(--muted); font-weight: 500; }
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.segmented button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; min-height: 40px; }
.segmented button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.segmented button:not([aria-pressed="true"]):hover { color: var(--text); }
@media (max-width: 479px) { .segmented { display: flex; flex-wrap: nowrap; width: 100%; } .segmented button { flex: 1 1 auto; padding: 6px 8px; font-size: 13px; line-height: 1.2; } }
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px 28px; box-shadow: var(--shadow); }
.plan--popular { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-lg); --muted: #A8A59E; --line: rgba(245,243,238,.12); }
.plan--popular::before { content: ''; position: absolute; top: 0; left: 28px; right: 28px; height: 3px; background: var(--signal); border-radius: 0 0 3px 3px; }
@media (min-width: 960px) { .plan--popular { transform: translateY(-12px); } }
.plan-badge { position: absolute; top: -13px; right: 24px; background: var(--signal); color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 7px; letter-spacing: .02em; }
.plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.plan-name::before { content: ''; width: var(--px); height: var(--px); background: var(--signal); }
.plan-tag { font-size: 14.5px; color: var(--muted); margin-top: 6px; min-height: 2.9em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; }
.plan-price .from { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-price .amount { font-family: var(--font-display); font-size: 54px; font-weight: 650; letter-spacing: -0.045em; line-height: 1; }
.plan-sub { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.plan-care { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--accent-text); min-height: 1.5em; }
.plan--popular .plan-care, .plan--popular .paylink { color: var(--signal); }
.plan .btn { margin-top: 22px; width: 100%; }
.plan .paylink { margin-top: 12px; font-size: 14px; text-align: center; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 22px; }
.plan li, .care-card li, .case-features li, .kind-card li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before, .care-card li::before, .case-features li::before, .kind-card li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; background: var(--signal); transform: translateY(-2px); }
.plan li svg, .care-card li svg, .case-features li svg, .kind-card li svg { display: none; }
.plan-meta { margin-top: auto; padding-top: 22px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.plan-meta > span { display: inline-flex; align-items: center; gap: 6px; }

.care-plans { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 768px) { .care-plans { grid-template-columns: 1fr 1fr 1fr; } }
.care-card { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); padding: 26px; }
.care-card h3 { font-size: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.care-card h3 > span:last-child { font-family: var(--font-display); font-size: 26px; letter-spacing: -.03em; }
.care-card h3 small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.care-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.care-card .paylink { display: inline-block; margin-top: 14px; font-size: 14px; }
.care-card--intro { background: transparent; border: 0; padding: 4px 0; }
.care-card--intro p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.pricing-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; font-size: 14px; color: var(--muted); }
.pricing-foot > span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-foot svg { color: var(--accent-text); }

/* ---------- Value comparison ---------- */
.compare { display: grid; gap: 18px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.compare-card h3 { font-size: 20px; }
.compare-card .scope { color: var(--muted); font-size: 14px; margin-top: 4px; }
.bar-row { margin-top: 24px; }
.bar-row .bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; margin-bottom: 9px; }
.bar-row .bar-label span:last-child { font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; }
.bar { height: 12px; border-radius: 3px; background: rgba(245,243,238,.06); overflow: hidden; position: relative; }
.bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; transform-origin: left; transition: transform 1.2s var(--ease); }
.bar--market i { background: repeating-linear-gradient(90deg, rgba(245,243,238,.28) 0 10px, rgba(245,243,238,.14) 10px 12px); }
.bar--us i { background: var(--signal); }
html.js .compare:not(.is-visible) .bar i { transform: scaleX(0); }
.savings { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--signal); background: rgba(255,79,31,.1); padding: 6px 12px; border-radius: 7px; }
.footnote { margin-top: 24px; font-size: 13px; color: var(--muted); text-align: center; max-width: 720px; margin-inline: auto; }

/* ---------- Portfolio ---------- */
.case { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .case { grid-template-columns: 1.25fr .75fr; gap: 64px; } }
.devices { position: relative; padding-bottom: 6%; padding-right: 8%; }
.laptop { position: relative; }
.laptop-screen { position: relative; background: #0A0A0B; border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 3%; box-shadow: 0 0 0 1px #2C2C31 inset, 0 0 0 2px #19191C; }
.laptop-screen::before { content: ''; position: absolute; top: 1%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #2C2C31; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: #111; }
.screen img { position: absolute; top: 0; left: 0; width: 100%; height: auto; transition: transform 9s cubic-bezier(.45,.05,.55,.95); will-change: transform; }
.laptop-base { position: relative; height: 0; padding-bottom: 3.2%; margin: 0 -7%; background: linear-gradient(#C9C6BF, #8F8C86); border-radius: 0 0 22px 22px / 0 0 60% 60%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); }
.laptop-base::before { content: ''; position: absolute; top: 0; left: 50%; width: 16%; height: 40%; transform: translateX(-50%); background: #A6A39C; border-radius: 0 0 10px 10px; }
.phone { position: absolute; right: 0; bottom: 0; width: 23%; min-width: 120px; background: #0A0A0B; border-radius: 30px; padding: 3.5% 1.6%; box-shadow: 0 0 0 1px #2C2C31 inset, 0 0 0 2px #19191C, 0 30px 60px -10px rgba(0,0,0,.8); }
.phone::before { content: ''; position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%); width: 30%; height: 2.3%; border-radius: 999px; background: #000; z-index: 2; }
.phone .screen { aspect-ratio: 390 / 844; border-radius: 22px; }
.devices.is-scrolling .screen img { transform: translateY(calc(-100% + var(--sh, 0px))); }
.scroll-hint { margin-top: 26px; display: flex; justify-content: center; }
.scroll-hint button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(245,243,238,.03); color: var(--muted); font-size: 13px; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.scroll-hint button:hover, .scroll-hint button[aria-pressed="true"] { color: var(--paper); border-color: var(--line-strong); }
.case-body h3 { font-size: clamp(26px, 3vw, 36px); }
.case-body .meta { color: var(--muted); margin-top: 8px; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.tags li { font-size: 13px; padding: 6px 11px; border-radius: 7px; background: rgba(245,243,238,.05); border: 1px solid var(--line); color: #D6D3CC; }
.case-features { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.case-features li { color: #D6D3CC; font-size: 15px; }
.case-body .btn { margin-top: 30px; }
.case-extra { margin-top: 64px; display: grid; gap: 16px; }
@media (min-width: 768px) { .case-extra { grid-template-columns: repeat(3, 1fr); } }
.slot { position: relative; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 220px; background: rgba(245,243,238,.015); transition: border-color .3s, background-color .3s; }
.slot:hover { border-color: rgba(255,79,31,.6); }
.slot .slot-plus { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(245,243,238,.05); color: var(--signal); }
.slot h4 { font-size: 19px; margin-top: 8px; }
.slot p { color: var(--muted); font-size: 14.5px; }
.slot a { margin-top: auto; font-size: 14px; }

/* ---------- Kindness ---------- */
.kindness { background: var(--ink); overflow: hidden; }
.kindness::after { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,79,31,.18), transparent 65%); pointer-events: none; }
.kind-grid { display: grid; gap: 40px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .kind-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.kind-quote { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 54px); font-weight: 650; letter-spacing: -.035em; line-height: 1.04; }
.kind-quote .alt { display: block; font-size: .46em; letter-spacing: -.015em; color: var(--muted); margin-top: 16px; font-weight: 500; }
.kind-card { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.kind-big { font-family: var(--font-display); font-size: 72px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.kind-big span:first-child { color: var(--signal); }
.kind-card .muted { color: #5C5A55; }
.kind-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 15px; }
.kind-card .small { font-size: 13px; color: #5C5A55; margin-top: 16px; }
.btn--warm { background: var(--ink); color: var(--paper); }
.btn--warm:hover { background: #26262B; transform: translateY(-1px); }

/* ---------- Guarantee ---------- */
.guarantee-box { position: relative; display: grid; gap: 28px; align-items: center; border-radius: 24px; padding: clamp(28px, 5vw, 56px); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.guarantee-box::after { content: ''; position: absolute; right: 0; top: 0; width: 64px; height: 64px; background: var(--signal); }
@media (min-width: 900px) { .guarantee-box { grid-template-columns: auto 1fr; gap: 56px; } }
.g-days { font-family: var(--font-display); font-weight: 700; font-size: clamp(100px, 14vw, 168px); line-height: .85; letter-spacing: -.07em; }
.g-days small { display: block; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; font-weight: 600; }
.guarantee h2 { font-size: clamp(28px, 3.6vw, 44px); padding-right: 48px; }
.guarantee p { color: var(--muted); margin-top: 14px; max-width: 62ch; }
.g-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; list-style: none; padding: 0; }
.g-list li { font-size: 14px; padding: 7px 12px; border-radius: 8px; background: rgba(245,243,238,.05); border: 1px solid var(--line); display: inline-flex; gap: 8px; align-items: center; }
.g-list svg { color: var(--signal); }
.g-fine { font-size: 13px; margin-top: 18px; }

/* ---------- About ---------- */
.founders { display: grid; gap: 16px; }
@media (min-width: 768px) { .founders { grid-template-columns: 1fr 1fr; } }
.founder { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
@media (max-width: 479px) { .founder { grid-template-columns: 1fr; } }
.avatar { position: relative; width: 112px; height: 112px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; color: var(--ink); font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -.04em; overflow: hidden; }
.avatar::before { content: ''; position: absolute; left: 22px; top: 18px; width: 12px; height: 12px; background: var(--signal); }
.avatar--h { background: #26262B; color: var(--paper); }
.founder-body { min-width: 0; }
.founder .founder-name { font-size: 26px; letter-spacing: -.02em; line-height: 1.15; }
.founder .role { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.founder .role::before { content: ''; width: 8px; height: 8px; background: var(--signal); flex-shrink: 0; }
.founder-mail { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font-size: 16px; font-weight: 600; text-decoration: none; max-width: 100%; transition: border-color .2s, color .2s, background-color .2s; }
.founder-mail svg { color: var(--signal); flex-shrink: 0; }
.founder-mail span { overflow-wrap: anywhere; }
.founder-mail:hover { border-color: var(--signal); color: var(--paper); background: rgba(255,79,31,.08); }
.founder-mail:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.founder-ph { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.founder .bio { margin-top: 10px; font-size: 14.5px; color: var(--muted); padding: 12px 14px; border: 1px dashed var(--ph-line); background: var(--ph-bg); border-radius: 10px; }
/* contact: founders card */
.contact-card--founders { align-items: flex-start; }
.cf-list { display: grid; gap: 8px; min-width: 0; flex: 1; }
.cf-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 14.5px; }
.cf-name { font-weight: 600; color: var(--text); }
.cf-name small { font-weight: 500; }
.cf-row a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.cf-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* footer founders */
.f-founder { display: grid; gap: 2px; }
.f-founder { margin-top: 4px; }
.f-founder > span { font-size: 13.5px; color: var(--paper); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 16px; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.t-card { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.t-card .quote-mark { font-family: var(--font-display); font-size: 56px; line-height: .6; color: var(--line-strong); height: 24px; }
.t-card p { color: var(--muted); font-size: 16px; }
.t-card .t-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.t-card .t-ava { width: 40px; height: 40px; border-radius: 10px; border: 1.5px dashed var(--line-strong); }
.t-card .t-lines { display: grid; gap: 6px; } .t-card .t-lines i { display: block; height: 8px; border-radius: 3px; background: var(--line); width: 110px; } .t-card .t-lines i + i { width: 70px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.8vw, 20px); letter-spacing: -.02em; transition: color .2s; }
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong); position: relative; transition: background-color .2s, border-color .2s; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .pm { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 4px 26px; color: var(--muted); max-width: 70ch; }
.faq details[open] .answer { animation: fadeDown .35s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .hint { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.req { color: var(--accent-text); }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-strong); background: var(--input-bg); color: var(--text); border-radius: 10px; padding: 12px 14px; font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s; min-height: 48px; }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .75; }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23A8A59E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.select option { background: var(--surface); color: var(--text); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--signal); box-shadow: var(--ring); }
input[type="date"] { color-scheme: dark; }
.section--light input[type="date"] { color-scheme: light; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255,90,70,.18); }
.field .err { font-size: 13px; color: var(--err); display: none; }
.field.has-error .err { display: block; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.is-ok { display: block; background: var(--ok-bg); color: var(--ok-text); border: 1px solid var(--ok-line); }
.form-status.is-info { display: block; background: rgba(245,243,238,.05); color: var(--text); border: 1px solid var(--line-strong); }
.section--light .form-status.is-info { background: #fff; }
.form-status.is-err { display: block; background: rgba(255,90,70,.1); color: var(--err); border: 1px solid rgba(255,90,70,.4); }
.form-status a { color: var(--accent-text); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--input-bg); font-size: 14px; font-weight: 500; transition: all .2s; }
.chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input:checked + span::before { content: ''; width: 6px; height: 6px; background: var(--signal); }
.chip input:focus-visible + span { box-shadow: var(--ring); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.contact-cards { display: grid; gap: 12px; margin-top: 32px; }
.contact-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
a.contact-card:hover { transform: translateY(-1px); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent-text); flex-shrink: 0; }
.contact-card b { display: block; font-size: 16px; }
.contact-card small { color: var(--muted); font-size: 13.5px; }
.contact-card .ph-badge { margin-left: auto; align-self: center; }
.contact-card[aria-disabled="true"] { cursor: default; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); }
.form-card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.form-card .privacy { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; margin-top: 0 !important; padding-top: clamp(88px, 11vw, 144px) !important; border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 66px); max-width: 15ch; margin-inline: auto; letter-spacing: -.04em; }
.cta-band .lead { margin-inline: auto; max-width: 52ch; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deepest); color: #A8A59E; padding: 72px 0 36px; font-size: 14.5px; border-top: 1px solid rgba(245,243,238,.06); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h3 { font-family: var(--font-sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--paper); }
.footer-slogan { font-family: var(--font-display); color: var(--paper); font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin-top: 22px; max-width: 20ch; line-height: 1.15; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(245,243,238,.08); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"] { transition-delay: .08s; } html.js .reveal[data-delay="2"] { transition-delay: .16s; } html.js .reveal[data-delay="3"] { transition-delay: .24s; } html.js .reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } .pixel-grid i { display: none; } }

/* ==========================================================================
   Configurator (start.html)
   ========================================================================== */
.cfg-hero { background: var(--ink); color: var(--paper); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 60px) 0 124px; position: relative; overflow: hidden; isolation: isolate; }
.cfg-hero h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.045em; }
.cfg-hero .lead { color: #A8A59E; max-width: 60ch; }
.cfg-wrap { margin-top: -76px; position: relative; z-index: 2; padding-bottom: 120px; }
.cfg-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .cfg-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; } }
.stepper { display: flex; gap: 4px; list-style: none; padding: 5px; margin: 0 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; scrollbar-width: none; }
.stepper::-webkit-scrollbar { display: none; }
.stepper li { flex: 1 0 auto; }
.stepper button { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; padding: 9px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 40px; }
.stepper button .n { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; background: rgba(245,243,238,.07); color: var(--muted); font-variant-numeric: tabular-nums; }
.stepper button:hover { color: var(--text); }
.stepper button[aria-current="step"] { background: var(--paper); color: var(--ink); }
.stepper button[aria-current="step"] .n { background: var(--signal); color: var(--ink); }
.stepper button.done .n { background: rgba(255,79,31,.16); color: var(--signal); }
@media (max-width: 639px) { .stepper .t { display: none; } .stepper button[aria-current="step"] .t { display: inline; } }
.step-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); }
.step-panel[hidden] { display: none; }
.step-panel > h2 { font-size: clamp(24px, 2.8vw, 32px); outline: none; }
.step-panel > .muted { margin-top: 8px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.step-nav .btn--dark { background: var(--paper); color: var(--ink); }
.step-nav .btn--dark:hover { background: #fff; }
.opt-grid { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 720px) { .opt-grid--3 { grid-template-columns: repeat(3, 1fr); } .opt-grid--2 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box { display: flex; flex-direction: column; height: 100%; padding: 20px; border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: var(--input-bg); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.opt:hover .box { border-color: var(--muted); }
.opt input:checked + .box { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(255,79,31,.16); background: rgba(255,79,31,.05); }
.opt input:focus-visible + .box { box-shadow: var(--ring); }
.opt .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.opt .name { font-family: var(--font-display); font-weight: 650; font-size: 18px; letter-spacing: -.015em; }
.opt .radio { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex-shrink: 0; position: relative; transition: border-color .2s; margin-left: auto; }
.opt input:checked + .box .radio { border-color: var(--signal); }
.opt input:checked + .box .radio::after { content: ''; position: absolute; inset: 4px; border-radius: 2px; background: var(--signal); }
.opt .price { font-family: var(--font-display); font-size: 28px; font-weight: 650; letter-spacing: -.035em; margin-top: 12px; }
.opt .price small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; font-family: var(--font-sans); }
.opt .desc { font-size: 14px; color: var(--muted); margin-top: 6px; }
.opt .flag { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: var(--signal); color: var(--ink); }
.pill-tag { font-size: 11px; font-weight: 700; color: var(--signal); background: rgba(255,79,31,.12); padding: 3px 8px; border-radius: 6px; margin-left: 6px; font-family: var(--font-sans); letter-spacing: 0; }
.switch-row { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,79,31,.06); border: 1px solid rgba(255,79,31,.25); cursor: pointer; }
.switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch .track { position: absolute; inset: 0; border-radius: 8px; background: rgba(245,243,238,.18); transition: background-color .2s; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 5px; background: var(--paper); transition: transform .2s var(--ease); }
.switch input:checked + .track { background: var(--signal); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: var(--ring); }
.switch-row b { display: block; }
.switch-row small { color: var(--muted); font-size: 13.5px; }
.addon-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--input-bg); transition: border-color .2s, background-color .2s; }
.addon.is-on { border-color: var(--signal); background: rgba(255,79,31,.05); }
.addon.is-included { opacity: .8; }
.addon .info { cursor: pointer; }
.addon .info b { font-size: 15.5px; }
.addon .info small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.addon .aprice { font-weight: 700; font-size: 15px; text-align: right; white-space: nowrap; }
.addon .aprice small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.addon .incl { font-size: 12px; font-weight: 700; color: var(--ok-text); background: var(--ok-bg); padding: 4px 9px; border-radius: 6px; }
.cbox { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; margin: 0; transition: background-color .2s, border-color .2s; flex-shrink: 0; }
.cbox:checked, .cbox.is-on { background: var(--signal); border-color: var(--signal); }
.cbox:checked::after, .cbox.is-on::after { content: ''; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.cbox:disabled { background: var(--ok-bg); border-color: var(--ok-line); cursor: default; }
.cbox:disabled::after { border-color: var(--ok-text); }
.cbox:focus-visible { box-shadow: var(--ring); outline: none; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 9px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 18px; font-weight: 600; color: var(--text); }
.qty button:hover { background: rgba(245,243,238,.06); }
.qty button:disabled { color: var(--line-strong); cursor: not-allowed; background: transparent; }
.qty output { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .addon { grid-template-columns: auto 1fr; } .addon .aprice { grid-column: 2; text-align: left; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .addon .aprice small { display: inline; } .addon .aprice > div { margin-top: 0 !important; } }

.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); --muted: #5C5A55; --line: #E2DED5; }
.summary::before { content: ''; position: absolute; top: 0; left: 26px; width: 40px; height: 4px; background: var(--signal); }
.summary h2 { font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.summary .lines { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.summary .lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary .lines li span:first-child { color: #3A3935; }
.summary .lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.summary .lines li.disc span:last-child { color: var(--signal-ink); }
.summary .lines li.empty { color: var(--muted); font-style: italic; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary .total span:first-child { font-weight: 600; }
.summary .total .big { font-family: var(--font-display); font-size: 38px; font-weight: 700; letter-spacing: -.045em; }
.summary .deposit { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: var(--paper); display: grid; gap: 6px; font-size: 14px; }
.summary .deposit div { display: flex; justify-content: space-between; gap: 12px; }
.summary .deposit span { color: #CFCBC3; }
.summary .deposit .dep b { color: var(--signal); font-size: 18px; }
.summary .note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.summary .quote-tag { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: #FFE9E0; color: var(--signal-ink); }
.mobile-total { display: none; }
@media (max-width: 1023px) {
  .summary { position: relative; top: 0; }
  .mobile-total { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(12,12,14,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--paper); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(245,243,238,.1); }
  .mobile-total .mt-amt { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
  .mobile-total small { color: #A8A59E; font-size: 12.5px; display: block; }
  .cfg-wrap { padding-bottom: 140px; }
}
.review-block { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review-block h3 { font-size: 15px; font-family: var(--font-sans); letter-spacing: 0; font-weight: 600; padding: 12px 16px; background: rgba(245,243,238,.04); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review-block h3 button { border: 0; background: none; color: var(--accent-text); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.review-block dl { margin: 0; padding: 6px 16px 12px; display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; font-size: 14.5px; }
.review-block dt { color: var(--muted); padding-top: 6px; }
.review-block dd { margin: 0; padding-top: 6px; word-break: break-word; white-space: pre-wrap; }
.terms { font-size: 13.5px; color: var(--muted); margin-top: 20px; padding: 14px 16px; background: rgba(245,243,238,.04); border: 1px solid var(--line); border-radius: 10px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.success { text-align: center; padding: 20px 0; }
.success .check { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 18px; background: var(--signal); color: var(--ink); }
.success pre { text-align: left; white-space: pre-wrap; background: var(--input-bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px; font-size: 13px; max-height: 320px; overflow: auto; margin-top: 20px; color: var(--muted); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--paper); padding: 40px 20px; position: relative; overflow: hidden; isolation: isolate; }
.nf .code { font-family: var(--font-display); font-size: clamp(120px, 22vw, 220px); font-weight: 700; letter-spacing: -.07em; line-height: .9; }
.nf p { color: #A8A59E; margin-top: 10px; }
.nf .hero-ctas { justify-content: center; }

/* ==========================================================================
   Thank-you page (thanks.html)
   ========================================================================== */
.ty-panel { max-width: 920px; margin-inline: auto; }
.ty-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .ty-facts { grid-template-columns: 1fr 1fr; } }
.ty-facts li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--input-bg); }
.ty-facts h2 { font-size: 17px; letter-spacing: -.015em; }
.ty-facts p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.ty-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: rgba(255,79,31,.14); color: var(--signal); }
.ty-steps-title { margin: 34px 0 16px; font-size: 20px; }
@media (min-width: 900px) { .process--3 { grid-template-columns: repeat(3, 1fr); } }
.ty-callout { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: rgba(255,79,31,.06); border: 1px solid rgba(255,79,31,.25); }
.ty-callout > div { flex: 1 1 320px; }
.ty-callout p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
@media (max-width: 639px) { .ty-callout .btn { flex: 1 1 100%; } }
.ty-contact { margin-top: 26px; color: var(--muted); }
.ty-ctas { margin-top: 18px; }
