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

/* d11a:start */
/*
 * Nunito Fallback: local Arial (or Liberation Sans) resized to Nunito's metrics, so the swap to
 * Nunito does not reflow the page. The five glyph sets (Latin, Cyrillic, space, digits,
 * punctuation) must keep identical bands: Chrome groups faces by weight range and uses one group
 * per request, so a set with other bands would hide the rest. Method, values and known cells:
 * FONT-FALLBACK.md next to this file.
 */
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 200 499;
  size-adjust: 100.7%;
  ascent-override: 100.4%;
  descent-override: 35.05%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 500 599;
  size-adjust: 103.2%;
  ascent-override: 97.97%;
  descent-override: 34.21%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 600 699;
  size-adjust: 96.3%;
  ascent-override: 104.98%;
  descent-override: 36.66%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 700 749;
  size-adjust: 95.8%;
  ascent-override: 105.53%;
  descent-override: 36.85%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 750 799;
  size-adjust: 98.5%;
  ascent-override: 102.64%;
  descent-override: 35.84%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 800 899;
  size-adjust: 98.9%;
  ascent-override: 102.22%;
  descent-override: 35.69%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 900 999;
  size-adjust: 102%;
  ascent-override: 99.12%;
  descent-override: 34.61%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 1000;
  size-adjust: 105.1%;
  ascent-override: 96.19%;
  descent-override: 33.59%;
  line-gap-override: 0%;
  unicode-range:
    U+0041-005A, U+0061-007A, U+00C0-024F, U+1E00-1E9F, U+1EF2-1EFF, U+2018-2019, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 200 499;
  size-adjust: 101.6%;
  ascent-override: 99.51%;
  descent-override: 34.74%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 500 599;
  size-adjust: 103.7%;
  ascent-override: 97.49%;
  descent-override: 34.04%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 600 699;
  size-adjust: 97%;
  ascent-override: 104.23%;
  descent-override: 36.39%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 700 749;
  size-adjust: 98%;
  ascent-override: 103.16%;
  descent-override: 36.02%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 750 799;
  size-adjust: 100.2%;
  ascent-override: 100.9%;
  descent-override: 35.23%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 800 899;
  size-adjust: 100.8%;
  ascent-override: 100.3%;
  descent-override: 35.02%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 900 999;
  size-adjust: 103.1%;
  ascent-override: 98.06%;
  descent-override: 34.24%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 1000;
  size-adjust: 105.37%;
  ascent-override: 95.95%;
  descent-override: 33.5%;
  line-gap-override: 0%;
  unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 200 499;
  size-adjust: 92.9%;
  ascent-override: 108.83%;
  descent-override: 38%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 500 599;
  size-adjust: 93.9%;
  ascent-override: 107.67%;
  descent-override: 37.59%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 600 699;
  size-adjust: 95.1%;
  ascent-override: 106.31%;
  descent-override: 37.12%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 700 749;
  size-adjust: 97.5%;
  ascent-override: 103.69%;
  descent-override: 36.21%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 750 799;
  size-adjust: 99%;
  ascent-override: 102.12%;
  descent-override: 35.66%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 800 899;
  size-adjust: 100.4%;
  ascent-override: 100.7%;
  descent-override: 35.16%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 900 999;
  size-adjust: 102.9%;
  ascent-override: 98.25%;
  descent-override: 34.31%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 1000;
  size-adjust: 106.2%;
  ascent-override: 95.2%;
  descent-override: 33.24%;
  line-gap-override: 0%;
  unicode-range: U+0020, U+00A0;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 200 499;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 500 599;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 600 699;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 700 749;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 750 799;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 800 899;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 900 999;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 1000;
  size-adjust: 107.9%;
  ascent-override: 93.7%;
  descent-override: 32.72%;
  line-gap-override: 0%;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 200 499;
  size-adjust: 85%;
  ascent-override: 118.94%;
  descent-override: 41.53%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  font-weight: 500 599;
  size-adjust: 83.9%;
  ascent-override: 120.5%;
  descent-override: 42.07%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 600 699;
  size-adjust: 81.2%;
  ascent-override: 124.51%;
  descent-override: 43.47%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 700 749;
  size-adjust: 79.2%;
  ascent-override: 127.65%;
  descent-override: 44.57%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 750 799;
  size-adjust: 80.3%;
  ascent-override: 125.9%;
  descent-override: 43.96%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 800 899;
  size-adjust: 81.4%;
  ascent-override: 124.2%;
  descent-override: 43.37%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 900 999;
  size-adjust: 80.7%;
  ascent-override: 125.28%;
  descent-override: 43.74%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
@font-face {
  font-family: 'Nunito Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold');
  font-weight: 1000;
  size-adjust: 80%;
  ascent-override: 126.38%;
  descent-override: 44.12%;
  line-gap-override: 0%;
  unicode-range:
    U+0021-002F, U+003A-0040, U+005B-0060, U+007B-007E, U+00A1-00BF, U+2000-2017, U+201A-206F;
}
/* d11a:end */

:root {
  --bg-canvas: #faf7f2;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f3efea;

  --ink-primary: #1c1917;
  --ink-secondary: #574d45;
  --ink-muted: #8c7d72;

  --accent-terracotta: #ea580c;
  --accent-terracotta-hover: #c2410c;
  --accent-terracotta-soft: #fff2ec;

  --accent-sage: #2d5a43;
  --accent-sage-soft: #ebf3ee;

  --border-subtle: rgba(28, 25, 23, 0.08);
  --border-medium: rgba(28, 25, 23, 0.14);

  --shadow-sm: 0 2px 8px rgba(43, 33, 24, 0.04);
  --shadow-md: 0 12px 28px -6px rgba(43, 33, 24, 0.08), 0 2px 6px rgba(43, 33, 24, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(43, 33, 24, 0.12), 0 4px 12px rgba(43, 33, 24, 0.04);
  --shadow-phone: 0 32px 70px -16px rgba(43, 33, 24, 0.2), 0 0 0 1px rgba(28, 25, 23, 0.08);

  --font-display: 'Nunito', 'Nunito Fallback', system-ui, -apple-system, sans-serif;
  --font-body: 'Nunito', 'Nunito Fallback', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  color-scheme: light;
}

[data-theme='dark'] {
  --bg-canvas: #141210;
  --bg-surface: #1e1b17;
  --bg-surface-elevated: #282420;
  --bg-subtle: #24201c;

  --ink-primary: #f9f6f0;
  --ink-secondary: #c4b5a8;
  --ink-muted: #8e7f72;

  --accent-terracotta: #f97316;
  --accent-terracotta-hover: #ea580c;
  --accent-terracotta-soft: #382417;

  --accent-sage: #4e876a;
  --accent-sage-soft: #1e2d24;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 28px -6px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --shadow-phone: 0 32px 70px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);

  color-scheme: dark;
}

/* Reset & Basics */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Comparison Banner */
.version-banner {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  padding: 8px 0;
}

.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.banner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-secondary);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.banner-link {
  color: var(--accent-terracotta);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.banner-link:hover {
  text-decoration: underline;
}

/* Site Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

[data-theme='light'] .logo-dark {
  display: none;
}
[data-theme='dark'] .logo-light {
  display: none;
}

.version-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  background-color: var(--bg-subtle);
  color: var(--ink-muted);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-terracotta);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-selector {
  display: flex;
  background: var(--bg-subtle);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--bg-surface);
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
}

.theme-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.theme-toggle:hover {
  color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
}

[data-theme='light'] .moon-icon {
  display: none;
}
[data-theme='dark'] .sun-icon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.95rem;
  gap: 12px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent-terracotta);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
}

.btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  transform: translateY(-2px);
  border-color: var(--ink-secondary);
}

.btn-label-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-subtext {
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 500;
}

.btn-maintext {
  font-size: 0.98rem;
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 40px;
  padding-bottom: 90px;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--accent-sage-soft);
  color: var(--accent-sage);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-sage);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
  margin-bottom: 22px;
}

.highlight-text {
  color: var(--accent-terracotta);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

/* Community Proof Bar */
.hero-community {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 480px;
  margin-bottom: 30px;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-surface);
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

.community-caption {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.community-caption strong {
  font-size: 0.88rem;
  color: var(--ink-primary);
}

.community-caption span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Activity Chips */
.hero-activity-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-right: 4px;
}

.tag-chip {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.tag-chip:hover,
.tag-chip.active {
  background-color: var(--accent-terracotta-soft);
  color: var(--accent-terracotta);
  border-color: rgba(234, 88, 12, 0.3);
  transform: translateY(-1px);
}

/* Right Side: Elevated Interactive Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.visual-backdrop {
  position: absolute;
  width: 420px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(234, 88, 12, 0.12) 0%,
    rgba(45, 90, 67, 0.08) 60%,
    transparent 80%
  );
  filter: blur(40px);
  z-index: 0;
  border-radius: 50%;
}

/* Polaroid Card */
.polaroid-card {
  position: absolute;
  top: -20px;
  right: -25px;
  background: var(--bg-surface);
  padding: 10px 10px 14px 10px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  transform: rotate(4deg);
  z-index: 3;
  width: 170px;
  transition: transform 0.3s;
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.polaroid-photo img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.polaroid-caption {
  margin-top: 8px;
  font-size: 0.72rem;
  line-height: 1.3;
}

.polaroid-caption span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.65rem;
}

.polaroid-caption strong {
  color: var(--ink-primary);
  display: block;
  margin-top: 2px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 3;
  backdrop-filter: blur(8px);
  transition: transform 0.2s;
}

.floating-badge:hover {
  transform: translateY(-3px);
}

.badge-guest {
  left: -20px;
  top: 140px;
}

.badge-security {
  right: -20px;
  bottom: 80px;
}

.badge-icon {
  font-size: 1.25rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-primary);
}

.floating-badge small {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

/* Phone Mockup Frame - Ultra-Thin Modern Bezels */
.phone-frame {
  position: relative;
  width: 300px;
  height: 630px;
  background: #151311;
  border-radius: 42px;
  padding: 4px;
  box-shadow:
    0 25px 60px -12px rgba(43, 33, 24, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 2.5px solid #282420;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.phone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 18px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}

.screen-selector-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  z-index: 5;
}

.screen-tab {
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.screen-tab.active,
.screen-tab:hover {
  background: var(--accent-terracotta-soft);
  color: var(--accent-terracotta);
}

.phone-screen-container {
  flex: 1;
  background: #ffffff;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity 0.25s ease-in-out;
}

.phone-home-indicator {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  z-index: 10;
}

.phone-disclaimer {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Flow Section (01, 02, 03) */
.flow-section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-terracotta);
  margin-bottom: 12px;
}

.kicker-light {
  color: #fdba74;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-secondary);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.flow-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.card-step-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bg-subtle);
  line-height: 1;
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.card-emoji {
  font-size: 1.6rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink-primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Moments Walkthrough */
.moments-section {
  padding: 60px 24px 90px 24px;
}

.moments-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.moment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
}

.moment-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.moment-row.reverse .moment-info {
  order: 2;
}

.moment-row.reverse .moment-media {
  order: 1;
}

.time-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--accent-terracotta-soft);
  color: var(--accent-terracotta);
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.moment-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.moment-desc {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.moment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-mini {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  border-radius: var(--radius-full);
}

.media-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-screen {
  max-width: 250px;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.media-caption {
  margin-top: 14px;
  text-align: center;
}

.media-caption strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-primary);
}

.media-caption span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Philosophy Section */
.philosophy-section {
  padding: 60px 24px;
}

.philosophy-box {
  background: linear-gradient(135deg, #2b2118 0%, #1a140f 100%);
  border-radius: 32px;
  padding: 70px 60px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 60px;
  box-shadow: var(--shadow-lg);
}

.philosophy-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.philosophy-desc {
  font-size: 1.1rem;
  color: #d1c5b8;
  line-height: 1.6;
  margin-bottom: 34px;
}

.clean-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clean-features-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent-terracotta);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.clean-features-list strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.clean-features-list p {
  font-size: 0.88rem;
  color: #a89b8f;
}

.duo-screens {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.duo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.duo-item img {
  width: 170px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.duo-item span {
  font-size: 0.75rem;
  color: #a89b8f;
}

/* Testing Cards */
.testing-section {
  padding: 80px 24px;
}

.testing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testing-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.platform-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.platform-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.platform-icon {
  font-size: 2rem;
}

.platform-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.platform-status {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.badge-instant {
  background-color: var(--accent-sage-soft);
  color: var(--accent-sage);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.badge-request {
  background-color: var(--bg-subtle);
  color: var(--ink-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.platform-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.steps-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  background-color: var(--bg-subtle);
  color: var(--ink-primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps-list strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.steps-list p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.platform-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.faq-section {
  padding: 60px 24px 90px 24px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 60px 24px 40px 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--ink-muted);
  max-width: 320px;
  margin-top: 14px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-primary);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-terracotta);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.legal-links {
  margin: 0 0 12px;
  line-height: 1.8;
  color: var(--ink-secondary);
}

.legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Responsiveness */
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 20px;
  }

  .flow-grid,
  .testing-grid {
    grid-template-columns: 1fr;
  }

  .moment-row,
  .moment-row.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .moment-row.reverse .moment-info {
    order: 1;
  }

  .moment-row.reverse .moment-media {
    order: 2;
  }

  .philosophy-box {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }

  .site-nav {
    display: none;
  }
}

/* ========================================================
   Soft Proactive Ambient Background Animation
   ======================================================== */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.85;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  will-change: transform, opacity;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-direction: alternate;
}

/* Warm terracotta glowing orb */
.orb-1 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.18) 0%, rgba(234, 88, 12, 0) 70%);
  top: -80px;
  right: -50px;
  animation: floatOrb1 18s ease-in-out infinite;
}

/* Gentle Forest Sage orb */
.orb-2 {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(45, 90, 67, 0.15) 0%, rgba(45, 90, 67, 0) 70%);
  top: 35%;
  left: -140px;
  animation: floatOrb2 22s ease-in-out infinite;
}

/* Golden sunset warmth orb */
.orb-3 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.13) 0%, rgba(245, 158, 11, 0) 70%);
  bottom: 8%;
  right: 15%;
  animation: floatOrb3 20s ease-in-out infinite;
}

/* Soft peach community warmth */
.orb-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, rgba(249, 115, 22, 0) 70%);
  top: 60%;
  left: 45%;
  animation: floatOrb4 25s ease-in-out infinite;
}

[data-theme='dark'] .orb-1 {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22) 0%, rgba(249, 115, 22, 0) 70%);
}
[data-theme='dark'] .orb-2 {
  background: radial-gradient(circle, rgba(78, 135, 106, 0.18) 0%, rgba(78, 135, 106, 0) 70%);
}
[data-theme='dark'] .orb-3 {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0) 70%);
}

@keyframes floatOrb1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-80px, 100px, 0) scale(1.15);
  }
  100% {
    transform: translate3d(60px, 50px, 0) scale(0.95);
  }
}

@keyframes floatOrb2 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }
  50% {
    transform: translate3d(100px, -90px, 0) scale(1.18);
  }
  100% {
    transform: translate3d(-50px, 70px, 0) scale(1);
  }
}

@keyframes floatOrb3 {
  0% {
    transform: translate3d(0, 0, 0) scale(1.05);
  }
  50% {
    transform: translate3d(-90px, -70px, 0) scale(0.92);
  }
  100% {
    transform: translate3d(70px, -50px, 0) scale(1.12);
  }
}

@keyframes floatOrb4 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(80px, 60px, 0) scale(1.2);
  }
  100% {
    transform: translate3d(-60px, -80px, 0) scale(0.9);
  }
}

/* ========================================================
   4K & Ultra-High-Resolution Optimization (Fluid Scaling)
   ======================================================== */
@media (min-width: 1600px) {
  .shell {
    max-width: 1560px;
    padding: 0 48px;
  }
  .hero-section {
    gap: 80px;
    padding-top: 60px;
    padding-bottom: 120px;
  }
  .hero-title {
    font-size: 5.4rem;
  }
  .hero-subtitle {
    font-size: 1.35rem;
    max-width: 620px;
  }
  .btn-lg {
    padding: 15px 30px;
    font-size: 1.08rem;
  }
  .phone-frame {
    width: 350px;
    height: 720px;
    border-radius: 48px;
  }
  .phone-screen-container {
    border-radius: 44px;
  }
  .visual-backdrop {
    width: 580px;
    height: 700px;
  }
  .flow-card {
    padding: 44px 36px;
  }
  .card-title {
    font-size: 1.55rem;
  }
  .card-text {
    font-size: 1.08rem;
  }
  .moment-row {
    padding: 60px;
    gap: 80px;
  }
  .moment-title {
    font-size: 2.4rem;
  }
  .moment-desc {
    font-size: 1.18rem;
  }
  .media-screen {
    max-width: 300px;
  }
  .philosophy-box {
    padding: 90px 80px;
  }
  .philosophy-title {
    font-size: 3.4rem;
  }
  .philosophy-desc {
    font-size: 1.25rem;
  }
  .duo-item img {
    width: 220px;
  }
}

@media (min-width: 2200px) {
  .shell {
    max-width: 1960px;
    padding: 0 72px;
  }
  .hero-section {
    gap: 120px;
    padding-top: 90px;
    padding-bottom: 160px;
  }
  .hero-title {
    font-size: 6.8rem;
  }
  .hero-subtitle {
    font-size: 1.6rem;
    max-width: 780px;
  }
  .hero-pill {
    padding: 8px 18px;
    font-size: 1rem;
  }
  .btn-lg {
    padding: 18px 36px;
    font-size: 1.25rem;
  }
  .btn-icon {
    width: 28px;
    height: 28px;
  }
  .tag-chip {
    font-size: 1rem;
    padding: 8px 18px;
  }
  .phone-frame {
    width: 410px;
    height: 840px;
    border-radius: 54px;
    padding: 5px;
  }
  .phone-screen-container {
    border-radius: 48px;
  }
  .visual-backdrop {
    width: 750px;
    height: 900px;
  }
  .flow-card {
    padding: 56px 44px;
  }
  .card-title {
    font-size: 1.85rem;
  }
  .card-text {
    font-size: 1.25rem;
  }
  .section-title {
    font-size: 3.8rem;
  }
  .section-subtitle {
    font-size: 1.35rem;
  }
  .moment-row {
    padding: 80px;
  }
  .moment-title {
    font-size: 3rem;
  }
  .moment-desc {
    font-size: 1.35rem;
  }
  .media-screen {
    max-width: 380px;
  }
  .philosophy-box {
    padding: 110px 100px;
  }
  .philosophy-title {
    font-size: 4.2rem;
  }
  .philosophy-desc {
    font-size: 1.45rem;
  }
  .clean-features-list strong {
    font-size: 1.3rem;
  }
  .clean-features-list p {
    font-size: 1.15rem;
  }
  .duo-item img {
    width: 280px;
  }
}
/* Owner reference revision: static ambient surface, readable controls, natural screenshots. */
:root {
  --ink-muted: #746459;
  --accent-terracotta: #bd460b;
  --accent-sage: #2d5a43;
  --button-orange: #ee5811;
  --button-ink: #23150d;
}
[data-theme='dark'] {
  --ink-muted: #b8a48f;
  --accent-terracotta: #ff9b66;
  --accent-sage: #8bc4a0;
  --button-orange: #ff8a52;
  --button-ink: #25180e;
}
html {
  scroll-padding-top: 24px;
  scrollbar-color: var(--ink-muted) var(--bg-canvas);
}
::selection {
  background: var(--accent-terracotta);
  color: var(--bg-canvas);
}
a {
  text-underline-offset: 4px;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent-terracotta);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  padding: 12px;
  background: var(--bg-surface);
}
.skip:focus {
  top: 12px;
}
.shell {
  max-width: 1360px;
  padding-left: 40px;
  padding-right: 40px;
}
.site-header {
  position: relative;
  z-index: 20;
  min-height: 86px;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.site-brand {
  flex-shrink: 0;
}
.site-nav {
  gap: 22px;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.lang-btn {
  min-width: 34px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 4px 7px;
}
.lang-selector {
  padding: 0 3px;
}
.theme-toggle {
  height: 44px;
  width: 44px;
}
.theme-control {
  position: relative;
}
.theme-options {
  position: absolute;
  right: 0;
  top: 52px;
  width: 152px;
  padding: 6px;
  background: var(--bg-surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-medium);
}
.theme-options button {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink-primary);
  border-radius: 9px;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
}
.theme-options button[aria-pressed='true'] {
  background: var(--accent-terracotta-soft);
  color: var(--accent-terracotta);
}
.btn-sm {
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--button-orange);
  color: var(--button-ink) !important;
  font-weight: 800;
}
.btn-primary:hover {
  background: var(--button-orange);
  filter: brightness(0.96);
}
.btn-subtext {
  opacity: 1;
  font-weight: 650;
}
.btn-maintext {
  font-size: 1.06rem;
}
.btn-lg {
  min-height: 64px;
  padding: 13px 26px;
}
.btn-block {
  min-height: 48px;
  padding: 12px;
}
.hero-section {
  grid-template-columns: 1.16fr 1fr;
  gap: 70px;
  padding-top: 36px;
  padding-bottom: 92px;
  min-height: 800px;
}
.hero-title {
  font-size: clamp(3.4rem, 5.8vw, 5.6rem);
  font-weight: 1000;
  letter-spacing: -0.035em;
  white-space: nowrap;
  margin-bottom: 26px;
}
html[lang='en'] .hero-title,
html[lang='uk'] .hero-title {
  white-space: normal;
  text-wrap: balance;
}
.hero-title .highlight-text {
  color: var(--button-orange);
}
.hero-subtitle {
  font-size: 1.22rem;
  max-width: 590px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.hero-pill {
  margin-bottom: 24px;
}
.hero-ctas {
  gap: 14px;
  margin-bottom: 28px;
}
.hero-community {
  padding: 14px 18px;
  border: 0;
  max-width: 485px;
  gap: 14px;
}
.community-caption strong {
  font-size: 0.96rem;
}
.community-caption span {
  font-size: 0.85rem;
  margin-top: 3px;
}
.tag-chip {
  cursor: default;
  font-size: 0.83rem;
}
.tag-chip:hover {
  transform: none;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  border-color: var(--border-subtle);
}
.hero-visual {
  min-width: 0;
}
.phone-frame {
  width: 322px;
  height: auto;
  padding: 5px;
  max-width: 100%;
  border-radius: 46px;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-screen-container {
  flex: auto;
  overflow: hidden;
  border-radius: 38px;
}
.phone-screen-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: none;
}
.phone-disclaimer {
  max-width: 340px;
  min-height: 38px;
  font-size: 0.75rem;
  text-align: center;
  color: var(--ink-muted);
  margin-top: 16px;
}
.screen-selector-tabs {
  gap: 2px;
  padding: 4px;
  max-width: 100%;
  border: 0;
  margin-bottom: 18px;
}
.screen-tab {
  padding: 8px 13px;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--ink-secondary);
}
.polaroid-card {
  top: -6px;
  right: -20px;
  width: 150px;
  transform: rotate(5deg);
  border: 0;
  pointer-events: none;
}
.polaroid-photo img {
  height: 120px;
  object-fit: cover;
  object-position: 50% 20%;
}
.polaroid-caption strong {
  font-size: 0.78rem;
}
.polaroid-caption span {
  font-size: 0.7rem;
}
.floating-badge {
  border: 0;
  padding: 13px 16px;
  backdrop-filter: none;
}
.badge-guest {
  left: -40px;
  top: 150px;
}
.badge-security {
  right: -22px;
  bottom: 78px;
}
.badge-icon {
  color: var(--accent-sage);
  display: flex;
}
.badge-icon svg {
  width: 24px;
  height: 24px;
}
.floating-badge strong {
  font-size: 0.86rem;
}
.floating-badge small {
  font-size: 0.74rem;
}
.ambient-bg {
  position: absolute;
  height: 1000px;
  opacity: 0.55;
}
.ambient-orb {
  animation: none;
  will-change: auto;
}
.orb-3,
.orb-4 {
  display: none;
}
.visual-backdrop {
  opacity: 0.5;
}
.site-header,
main,
.site-footer {
  position: relative;
}
.site-footer {
  z-index: 1;
}
.section-header {
  margin-bottom: 38px;
}
.section-title {
  line-height: 1.15;
}
.flow-card {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 24px 28px;
}
.card-icon-wrap {
  display: none;
}
.card-step-num {
  position: static;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--accent-terracotta);
}
.flow-grid {
  gap: 16px;
}
.flow-section {
  border-top: 1px solid var(--border-subtle);
}
.moment-row {
  border: 0;
}
.media-screen {
  max-width: 240px;
  height: auto;
}
.duo-item img {
  max-width: 100%;
  height: auto;
}
.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-links a {
  display: flex;
}
@media (min-width: 1800px) {
  .shell {
    max-width: 1800px;
    padding-left: 60px;
    padding-right: 60px;
  }
  .site-header {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .hero-section {
    grid-template-columns: 1.12fr 1fr;
    gap: 120px;
    min-height: 990px;
    padding-top: 40px;
    padding-bottom: 80px;
  }
  .hero-title {
    font-size: 6rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
    max-width: 740px;
  }
  .phone-frame {
    width: 390px;
    border-radius: 53px;
  }
  .phone-screen-container {
    border-radius: 45px;
  }
  .screen-tab {
    font-size: 0.94rem;
    padding: 8px 18px;
  }
  .hero-pill {
    font-size: 0.95rem;
  }
  .btn-lg {
    padding: 16px 30px;
  }
  .hero-community {
    max-width: 560px;
  }
  .hero-ctas {
    margin-bottom: 38px;
  }
  .polaroid-card {
    width: 180px;
    right: 0;
    top: -25px;
  }
  .polaroid-photo img {
    height: 150px;
  }
  .badge-guest {
    left: 0;
    top: 155px;
  }
  .badge-security {
    right: 0;
  }
  .site-nav a {
    font-size: 1.05rem;
  }
  .site-nav {
    gap: 30px;
  }
}
@media (max-width: 1180px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a {
    font-size: 0.85rem;
  }
  .site-brand img {
    width: 112px;
  }
  .header-controls {
    gap: 8px;
  }
  .version-tag {
    display: none;
  }
  .shell {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero-section {
    gap: 40px;
  }
  .hero-title {
    font-size: 4.2rem;
  }
  .hero-subtitle {
    font-size: 1.08rem;
  }
  .polaroid-card {
    right: -8px;
    width: 120px;
  }
  .polaroid-photo img {
    height: 92px;
  }
  .badge-guest {
    left: -12px;
  }
  .badge-security {
    right: -8px;
  }
  .btn-lg {
    padding: 12px 18px;
  }
}
@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .site-nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 24px;
  }
  .hero-section {
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 720px;
    padding-top: 46px;
    min-height: 0;
  }
  .hero-title {
    font-size: clamp(3.4rem, 9vw, 5.2rem);
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .hero-visual {
    width: 100%;
    max-width: 520px;
    margin: auto;
  }
  .polaroid-card {
    right: 0;
    width: 150px;
  }
  .polaroid-photo img {
    height: 120px;
  }
  .badge-guest {
    left: 0;
  }
  .badge-security {
    right: 0;
  }
  .hero-ctas {
    margin-bottom: 24px;
  }
  .hero-community {
    margin-bottom: 22px;
  }
  .phone-frame {
    width: 330px;
  }
}
@media (max-width: 540px) {
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header {
    padding-top: 12px;
  }
  .site-brand img {
    width: 108px;
    height: auto;
  }
  .header-controls {
    gap: 6px;
  }
  .header-controls > .btn {
    display: none;
  }
  .lang-btn {
    min-width: 30px;
    font-size: 0.72rem;
    padding: 4px;
  }
  .lang-selector {
    padding: 0 2px;
  }
  .theme-toggle {
    width: 44px;
  }
  .site-nav {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .site-nav a {
    font-size: 0.83rem;
    flex-shrink: 0;
  }
  .hero-section {
    padding-top: 30px;
    padding-bottom: 58px;
    gap: 40px;
  }
  .hero-title {
    font-size: clamp(2.8rem, 11.8vw, 4.5rem);
    margin-bottom: 20px;
  }
  .hero-pill {
    font-size: 0.73rem;
    margin-bottom: 22px;
    padding: 6px 10px;
  }
  .hero-subtitle {
    font-size: 1.08rem;
    margin-bottom: 26px;
  }
  .hero-ctas {
    gap: 10px;
  }
  .btn-lg {
    padding: 12px 16px;
    flex: 1;
    min-width: 0;
    gap: 9px;
  }
  .btn-maintext {
    font-size: 0.91rem;
  }
  .btn-subtext {
    font-size: 0.66rem;
  }
  .btn-icon {
    width: 20px;
    flex-shrink: 0;
  }
  .hero-community {
    padding: 12px;
    gap: 10px;
  }
  .community-caption strong {
    font-size: 0.86rem;
  }
  .community-caption span {
    font-size: 0.77rem;
  }
  .hero-community > img {
    width: 32px;
  }
  .chip-label {
    width: 100%;
  }
  .tag-chip {
    font-size: 0.76rem;
    padding: 6px 10px;
  }
  .screen-selector-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .screen-tab {
    font-size: 0.75rem;
    padding: 8px 10px;
  }
  .phone-frame {
    width: 300px;
  }
  .polaroid-card {
    display: none;
  }
  .floating-badge {
    position: static;
    box-shadow: none;
    padding: 8px 0;
    background: transparent;
  }
  .badge-guest {
    order: 4;
  }
  .badge-security {
    order: 5;
  }
  .floating-badge small {
    font-size: 0.78rem;
  }
  .phone-disclaimer {
    margin-top: 14px;
  }
  .hero-visual {
    gap: 0;
  }
  .flow-section,
  .moments-section,
  .philosophy-section,
  .testing-section,
  .faq-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .section-title {
    font-size: 2rem;
  }
  .moment-row {
    padding: 24px 18px;
  }
  .philosophy-box {
    padding: 32px 22px;
  }
  .philosophy-title {
    font-size: 2.25rem;
  }
  .duo-screens {
    gap: 12px;
  }
  .duo-item {
    min-width: 0;
  }
  .testing-card {
    padding: 24px 18px;
  }
  .footer-links {
    gap: 30px;
  }
}
@media (max-width: 360px) {
  .shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-lg {
    justify-content: flex-start;
    padding-left: 25px;
  }
  .btn-maintext {
    font-size: 1rem;
  }
  .btn-subtext {
    font-size: 0.75rem;
  }
  .screen-tab {
    font-size: 0.71rem;
    padding: 8px;
  }
  .site-brand img {
    width: 92px;
  }
  .lang-btn {
    min-width: 28px;
  }
  .header-controls {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Bounded inspection correction: keep ambient phone decoration inside narrow viewports. */
.visual-backdrop {
  max-width: 100%;
}
.hero-community > img {
  border-radius: 10px;
}
/* Measured spacing pass: 320–2048px, both themes and enlarged text. */
.lang-btn {
  min-width: 44px;
  min-height: 44px;
}
.hero-content {
  min-width: 0;
}
.phone-disclaimer {
  max-width: 100%;
}
.flow-section,
.moments-section,
.philosophy-section,
.testing-section,
.faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.site-footer {
  padding-top: 64px;
  padding-bottom: 40px;
}
@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }
  .site-nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 24px;
  }
}
@media (max-width: 960px) {
  .floating-badge {
    position: static;
    box-shadow: none;
    padding: 8px 0;
    background: transparent;
  }
  .badge-guest {
    order: 4;
  }
  .badge-security {
    order: 5;
  }
  .polaroid-card {
    display: none;
  }
}
@media (max-width: 540px) {
  .hero-title {
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: normal;
  }
  .hero-subtitle,
  .phone-disclaimer,
  .site-footer p {
    overflow-wrap: anywhere;
  }
  .screen-selector-tabs {
    min-width: 0;
  }
  .screen-tab {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .flow-section,
  .moments-section,
  .philosophy-section,
  .testing-section,
  .faq-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .site-nav {
    justify-content: flex-start;
    gap: 22px;
  }
}
@media (max-width: 380px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 8px;
  }
  .header-controls {
    display: contents;
  }
  .theme-control {
    grid-column: 2;
    grid-row: 1;
  }
  .lang-selector {
    grid-row: 2;
    grid-column: 1/-1;
    justify-self: end;
  }
  .site-nav {
    grid-column: 1/-1;
    grid-row: 3;
    min-width: 0;
  }
}

/* Incumbent changelog; same markup/content, new surface tokens. */
.primary-changelog {
  min-width: 0;
  padding-block: 44px;
  border-top: 1px solid var(--border-subtle);
  overflow-wrap: anywhere;
}
.changelog-all {
  border-bottom: 1px solid var(--border-subtle);
}
.changelog-all summary {
  display: flex;
  align-items: center;
  min-height: 52px;
  cursor: pointer;
  font-weight: 800;
}

.changelog-entries {
  display: grid;
  gap: 32px 56px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .changelog-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
.changelog-entry {
  min-width: 0;
  max-width: 68ch;
}
.changelog-preview {
  padding-top: 16px;
  border-top: 2px dashed var(--border-subtle);
}
@media (min-width: 900px) {
  .changelog-preview {
    padding-top: 0;
    border-top: 0;
  }
}
.changelog-entry h3,
.changelog-all h3 {
  margin: 0 0 6px;
  font-size: 22px;
}
.changelog-entry > p {
  margin: 0 0 12px;
  color: var(--ink-secondary);
}
.changelog-entry ul,
.changelog-all ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
}
.changelog-all {
  max-width: 76ch;
  margin-top: 32px;
  border-top: 1px solid var(--border-subtle);
}
.changelog-all > h3 {
  margin-top: 20px;
}
.changelog-all > ul {
  max-width: 68ch;
  margin-bottom: 24px;
}
.changelog-note {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--ink-secondary);
  font-size: 15px;
}

.primary-changelog h2 {
  margin-bottom: 28px;
}
/* A drawn chevron for the native disclosure, so a closed one reads as openable. */
.changelog-all summary::after {
  content: '';
  flex: none;
  width: 0.5em;
  height: 0.5em;
  margin-left: 0.8em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.changelog-all[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
@media (prefers-reduced-motion: reduce) {
  .changelog-all summary::after {
    transition: none;
  }
}

.primary-changelog {
  padding-block: 80px;
}
.primary-changelog h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 24px;
}
@media (max-width: 540px) {
  .primary-changelog {
    padding-block: 52px;
  }
}

/* Review pass: early/no-JS theming and reachable narrow navigation. */
.site-brand {
  min-height: 44px;
}
.site-nav a {
  min-width: 44px;
}
.primary-changelog {
  min-width: 0;
}
.changelog-all {
  max-width: 760px;
  margin-inline: auto;
}
.android-help {
  margin-top: 16px;
  overflow-wrap: anywhere;
  color: var(--ink-secondary);
}
.android-help a {
  color: var(--accent-terracotta);
}
.creator-credit {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}
.creator-credit a {
  font: inherit;
  color: inherit;
  margin-bottom: 0;
}
html:not([data-theme]) .logo-dark {
  display: none;
}
@media (max-width: 540px) {
  .site-nav {
    flex-wrap: wrap;
    overflow: visible;
    gap: 2px 18px;
  }
}
/* Give the three bottom information sections the same shell measure as the sections above. */
.faq-section .section-header {
  max-width: none;
  margin: 0 0 32px;
  text-align: left;
}
.primary-changelog {
  min-width: 0;
}
.changelog-all {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.changelog-entries {
  width: 100%;
}
.primary-changelog .changelog-entry {
  max-width: none;
}
@media (min-width: 1024px) {
  .changelog-entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
@media (max-width: 1023px) {
  .changelog-entries {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Final production pass: compact branded actions and a progressively enhanced mobile menu. */
.hero-brand-action {
  min-width: 168px;
  min-height: 60px;
  padding-inline: 22px;
  text-align: center;
}
.header-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--ink-primary);
  cursor: pointer;
  font-weight: 750;
}
.menu-toggle-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}
.menu-toggle-lines span {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.main-contact {
  margin: 0 0 10px;
  color: var(--ink-secondary);
  font-size: 0.9rem;
}
.footer-links .main-contact a {
  display: inline;
  margin: 0;
}
.examples-disclaimer {
  max-width: 76ch;
  margin: 0 auto;
  padding: 12px 16px;
  color: var(--ink-secondary);
  font-size: 0.9rem;
  text-align: center;
}
.polaroid-caption small {
  display: block;
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.58rem;
  line-height: 1.25;
}
@media (max-width: 960px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .header-controls {
    order: 2;
    display: flex;
    margin-left: auto;
  }
  .menu-toggle:not([hidden]) {
    order: 3;
  }
  .header-menu {
    order: 4;
    flex: 1 0 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .menu-toggle:not([hidden]) ~ .header-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% - 2px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-lg);
  }
  .header-menu[hidden] {
    display: none !important;
  }
  .header-menu .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 0;
    width: 100%;
    gap: 2px;
  }
  .header-menu .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding-inline: 10px;
  }
  .header-menu .lang-selector {
    align-self: flex-start;
    order: 1;
  }
}
@media (max-width: 540px) {
  .site-header {
    gap: 6px;
  }
  .site-brand img {
    width: 108px;
  }
  .header-controls {
    gap: 6px;
  }
  .header-controls > .btn {
    display: none;
  }
  .menu-toggle {
    padding-inline: 8px;
  }
  .hero-brand-action {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* Keep the full navigation on one row until the shared content-driven cutoff. */
@media (min-width: 1161px) and (max-width: 1280px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .site-brand img {
    width: 112px;
  }
  .site-nav {
    gap: 14px;
  }
  .site-nav a {
    font-size: 0.85rem;
  }
  .header-controls {
    gap: 8px;
  }
}
@media (max-width: 1160px) {
  html.js .site-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    min-height: 86px;
    gap: 16px;
  }
  html.js .site-brand {
    order: 0;
    flex: 0 0 auto;
  }
  html.js .menu-toggle {
    display: inline-flex;
    order: 1;
    flex: 0 0 auto;
  }
  html.js .header-controls {
    display: flex;
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }
  html.js .menu-toggle:not([hidden]) + .header-menu {
    position: absolute;
    z-index: 30;
    top: calc(100% - 2px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-lg);
  }
  html.js .menu-toggle[aria-expanded='true'] + .header-menu {
    display: flex;
  }
  html.js .header-menu[hidden] {
    display: none !important;
  }
  html.js .header-menu .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    order: 0;
    width: 100%;
    gap: 2px;
  }
  html.js .header-menu .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding-inline: 10px;
  }
  html.js .header-menu .lang-selector {
    align-self: flex-start;
    order: 1;
  }
}
@media (max-width: 540px) {
  html.js .site-header {
    gap: 8px;
  }
  html.js .site-brand img {
    width: 108px;
  }
}
/* Language and appearance stay together, including on narrow phones. */
.header-controls .lang-selector {
  flex: 0 0 auto;
}
@media (min-width: 1161px) {
  .header-menu {
    flex: 1 1 auto;
    justify-content: center;
  }
}
/* Phones: logo and menu button, then the controls. The open menu drops in between, right under its button. */
@media (max-width: 640px) {
  html.js .site-header {
    flex-wrap: wrap;
  }
  html.js .menu-toggle {
    margin-left: auto;
  }
  html.js .menu-toggle:not([hidden]) + .header-menu {
    position: static;
    order: 2;
    flex: 1 0 100%;
    box-shadow: none;
  }
  .header-controls,
  html.js .header-controls {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-end;
  }
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg-canvas: #141210;
    --bg-surface: #1e1b17;
    --bg-surface-elevated: #282420;
    --bg-subtle: #24201c;

    --ink-primary: #f9f6f0;
    --ink-secondary: #c4b5a8;
    --ink-muted: #8e7f72;

    --accent-terracotta: #f97316;
    --accent-terracotta-hover: #ea580c;
    --accent-terracotta-soft: #382417;

    --accent-sage: #4e876a;
    --accent-sage-soft: #1e2d24;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 28px -6px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 32px 70px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);

    color-scheme: dark;
  }
  html:not([data-theme]) .logo-light {
    display: none;
  }
  html:not([data-theme]) .sun-icon {
    display: none;
  }
  html:not([data-theme]) .orb-1 {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.22) 0%, rgba(249, 115, 22, 0) 70%);
  }
  html:not([data-theme]) .orb-2 {
    background: radial-gradient(circle, rgba(78, 135, 106, 0.18) 0%, rgba(78, 135, 106, 0) 70%);
  }
  html:not([data-theme]) .orb-3 {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0) 70%);
  }
  html:not([data-theme]) {
    --ink-muted: #b8a48f;
    --accent-terracotta: #ff9b66;
    --accent-sage: #8bc4a0;
    --button-orange: #ff8a52;
    --button-ink: #25180e;
  }
  html:not([data-theme]) .logo-dark {
    display: block;
  }
}

/* Paired installation actions and footer rows keep the two columns aligned. */
@media (min-width: 1024px) {
  .testing-grid {
    grid-template-rows: repeat(6, auto);
    column-gap: 32px;
    row-gap: 0;
  }
  .testing-card {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
    align-self: stretch;
  }
  .platform-header {
    grid-row: 1;
  }
  .platform-desc {
    grid-row: 2;
  }
  .steps-list {
    grid-row: 3;
  }
  .platform-actions {
    display: grid;
    grid-template-rows: repeat(2, minmax(52px, auto));
    grid-row: 4;
    margin-top: 0;
    align-items: stretch;
  }
  .android-help {
    grid-row: 6;
    min-height: 44px;
    box-sizing: border-box;
    margin: 16px 0 0;
  }
  #testovanie-iphone .platform-actions > a {
    grid-row: 2;
  }
}

@media (max-width: 1023px) {
  .testing-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 32px;
  }
  .testing-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    grid-template-rows: none;
  }
  .platform-header,
  .platform-desc,
  .steps-list,
  .platform-actions,
  .android-help {
    grid-row: auto;
  }
  .platform-actions {
    display: flex;
    flex-direction: column;
  }
  #testovanie-iphone .platform-actions > a {
    grid-row: auto;
  }
  .android-help {
    min-height: 0;
  }
}

.footer-links {
  align-items: start;
}
.footer-link-column {
  display: grid;
  grid-template-rows: 44px repeat(4, 44px);
  row-gap: 10px;
}
.footer-link-column h4 {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
}
.footer-link-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  min-width: 0;
}
.footer-link-row > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  min-width: 0;
  margin: 0;
}
.footer-link-row .main-contact,
.footer-link-row .creator-credit {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  min-width: 0;
  margin: 0;
}
.footer-link-row .main-contact {
  gap: 0.25em;
  white-space: nowrap;
}
.footer-link-row .main-contact a,
.footer-link-row .creator-credit a {
  display: flex;
  align-items: center;
  width: auto;
  min-height: 44px;
  flex: 0 0 auto;
  margin: 0;
}
.footer-link-row .creator-credit {
  flex-wrap: nowrap;
  gap: 0.3em;
  white-space: nowrap;
}

/* Official artwork: equal visible heights, preserving each file's original clear space. */
.hero-store-badges {
  --store-badge-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.store-badge-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  line-height: 0;
}
.store-badge-link img {
  display: block;
  width: auto;
  max-width: none;
}
/* The visible height of the Google Play artwork, per file. A class, not a style attribute: the site's
   Content-Security-Policy allows no inline style attributes. */
.store-badge-visible-168 {
  --badge-visible-pixels: 168;
}
.store-badge-visible-192 {
  --badge-visible-pixels: 192;
}
.store-badge-google img {
  height: calc(var(--store-badge-height) * 250 / var(--badge-visible-pixels));
}
.store-badge-apple {
  /* Half a CSS pixel prevents device rounding from undershooting Apple's minimum. */
  padding: calc(var(--store-badge-height) / 10 + 0.5px);
}
.store-badge-apple img {
  height: var(--store-badge-height);
}
.store-badge-link:focus-visible {
  outline: 3px solid var(--button-orange);
  outline-offset: 4px;
}
.hero-release-version {
  max-width: 70ch;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}
.store-trademarks {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}
@media (max-width: 960px) {
  .hero-store-badges {
    justify-content: center;
  }
  .hero-release-version {
    text-align: center;
  }
}
@media (max-width: 540px) {
  .hero-store-badges {
    --store-badge-height: 44.1px;
    gap: 8px;
  }
}

/* One FAQ: a warm card per question, two columns that pack independently. */
.faq-section {
  border-top: 1px solid var(--border-subtle);
  overflow-wrap: anywhere;
}
.faq-note {
  max-width: 68ch;
  margin-top: 12px;
  color: var(--ink-secondary);
  font-size: 15px;
}
.faq-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.faq-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.faq-column-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  scroll-margin-top: 96px;
  transition:
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item:hover {
  border-color: var(--border-medium);
}
.faq-item[open] {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 20px 14px 24px;
  /* The card radius, set here: Chromium slots the summary, so inherit would give 0 and a square focus ring. */
  border-radius: var(--radius-md);
  color: var(--ink-primary);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question:focus-visible {
  outline-offset: 2px;
}
.faq-question h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}
.faq-chevron {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--ink-secondary);
  transition:
    background-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 160ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-chevron::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item:hover .faq-chevron {
  border-color: var(--border-medium);
  color: var(--ink-primary);
}
.faq-item[open] .faq-chevron {
  border-color: transparent;
  background: var(--accent-terracotta-soft);
  color: var(--accent-terracotta);
}
.faq-item[open] .faq-chevron::before {
  transform: translateY(4px) rotate(-135deg);
}
.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-secondary);
  line-height: 1.6;
}
.faq-answer p {
  max-width: 62ch;
  margin: 0;
}
.faq-closing {
  margin: 32px 0 0;
  color: var(--ink-secondary);
}
.faq-closing a {
  color: var(--accent-terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 1024px) {
  .faq-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}
@media (max-width: 540px) {
  .faq-columns {
    gap: 28px;
  }
  .faq-column {
    gap: 10px;
  }
  .faq-question {
    min-height: 56px;
    padding: 12px 14px 12px 18px;
  }
  .faq-answer {
    padding: 0 18px 18px;
  }
  .faq-chevron {
    width: 28px;
    height: 28px;
  }
  .faq-chevron::before {
    top: 8px;
    left: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-chevron,
  .faq-chevron::before {
    transition: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-columns {
      interpolate-size: allow-keywords;
    }
    .faq-item::details-content {
      block-size: 0;
      overflow: clip;
      transition:
        block-size 260ms cubic-bezier(0.22, 1, 0.36, 1),
        content-visibility 260ms allow-discrete;
    }
    .faq-item[open]::details-content {
      block-size: auto;
    }
  }
}

/* Changelog cards: the landing changelog at the full shell width; summary items as static cards like the FAQ. */
.changelog-cards {
  overflow-wrap: break-word;
}
.changelog-cards h2 {
  margin: 0 0 16px;
}
.changelog-cards .changelog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0 0 32px;
}
.changelog-cards .changelog-version {
  margin: 0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-sage-soft);
  color: var(--accent-sage);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}
.changelog-cards .changelog-status {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
  color: var(--ink-secondary);
}
.changelog-cards .changelog-highlights,
.changelog-cards .changelog-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.changelog-cards .changelog-highlights {
  gap: 16px;
  align-items: stretch;
}
.changelog-cards .changelog-card {
  min-width: 0;
  padding: 22px 24px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.changelog-cards .changelog-card h4 {
  margin: 0 0 8px;
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}
.changelog-cards .changelog-card p {
  margin: 0;
  color: var(--ink-secondary);
  line-height: 1.55;
}
.changelog-cards .changelog-more {
  gap: 12px 40px;
  margin-top: 28px;
}
.changelog-cards .changelog-more li {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.changelog-cards .changelog-more h4 {
  margin: 0 0 4px;
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.changelog-cards .changelog-more p {
  margin: 0;
  color: var(--ink-secondary);
  line-height: 1.55;
}
.changelog-cards .changelog-note {
  max-width: none;
  margin: 0;
  min-width: 0;
  color: var(--ink-secondary);
  font-size: 14px;
}
@media (min-width: 900px) {
  .changelog-cards .changelog-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .changelog-cards .changelog-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
