/* =================================================================
   Sharing Me Landing. Editorial Warmth aesthetic.
   Palette: redesign-2026 Original / Fawn
   Fonts: Alegreya (serif) + Raleway (sans)
   ================================================================= */

:root {
  /* Colors */
  --bg: #FAF6F0;
  --bg-soft: #F3E9D7;
  --bg-deep: #E7CFB0;
  --surface: #FFFFFF;
  --primary: #B6765D;
  --primary-dark: #8E5A46;
  --primary-soft: rgba(182, 118, 93, 0.12);
  --accent: #D7AF7C;
  --accent-dark: #B88C54;
  --text: #4C443B;
  --text-muted: #806C59;
  --text-tertiary: #AA8F71;
  --text-faint: #C8B7A0;
  --border: #E6D9C6;
  --border-strong: #CDB798;
  --on-primary: #FFFFFF;

  /* Type */
  --font-serif: 'Alegreya', Georgia, 'Times New Roman', serif;
  --font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(1.25rem, 3vw, 2.75rem);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============== BASE =============== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
}

/* Paper grain overlay (subtle noise across the whole page) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 700;
  color: var(--primary);
}

p { line-height: 1.72; }

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

svg { display: block; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* =============== TYPOGRAPHY ATOMS =============== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

/* =============== BUTTONS =============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease),
              background 0.3s var(--ease);
  will-change: transform;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 2px 0 rgba(142, 90, 70, 0.25),
              0 12px 28px -10px rgba(182, 118, 93, 0.5);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 rgba(142, 90, 70, 0.3),
              0 18px 36px -8px rgba(182, 118, 93, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-compact {
  padding: 0.7rem 1.35rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.05rem;
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
  font-size: 1.1em;
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(5px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 1rem 0.5rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-ghost:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* =============== HEADER =============== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language switcher — compact dropdown in header */
.lang-switch {
  position: relative;
  line-height: 0;
}
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { display: none; }
.lang-switch summary svg {
  width: 22px;
  height: 22px;
}
.lang-switch:hover summary,
.lang-switch[open] summary {
  color: var(--primary);
  background: var(--primary-soft);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 10rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.45rem;
  box-shadow: 0 14px 34px -14px rgba(76, 68, 59, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  z-index: 60;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.lang-switch[open] .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}
.lang-menu a[aria-current="true"] {
  background: var(--primary);
  color: var(--on-primary);
  cursor: default;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.35s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

/* =============== HERO =============== */

.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -15%;
  width: 75%;
  height: 150%;
  background:
    radial-gradient(ellipse 50% 40% at center, rgba(215, 175, 124, 0.35), rgba(215, 175, 124, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -20%;
  width: 55%;
  height: 120%;
  background:
    radial-gradient(ellipse 40% 40% at center, rgba(182, 118, 93, 0.15), rgba(182, 118, 93, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 640px;
}

.hero-headline {
  font-size: clamp(2.7rem, 5.5vw + 0.5rem, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 1.25rem 0 1.75rem;
  font-weight: 700;
}

.hero-subhead {
  font-size: clamp(1.1rem, 0.9vw + 0.9rem, 1.325rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-photo {
  position: relative;
  transform: rotate(1.8deg);
  border-radius: 4px;
  overflow: visible;
}

.hero-photo > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(76, 68, 59, 0.04),
    0 25px 60px -25px rgba(76, 68, 59, 0.35),
    0 8px 18px -8px rgba(76, 68, 59, 0.1);
}

.hero-caption {
  position: absolute;
  bottom: -1.75rem;
  right: -1.5rem;
  max-width: 17rem;
  background: var(--surface);
  padding: 1.1rem 1.35rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text);
  box-shadow: 0 14px 30px -12px rgba(76, 68, 59, 0.22);
  transform: rotate(-1.8deg);
  border-left: 3px solid var(--primary);
}

.hero-ornament {
  position: absolute;
  top: -2rem;
  left: -3.5rem;
  width: 7rem;
  height: 7rem;
  color: var(--accent);
  opacity: 0.5;
  animation: slowspin 40s linear infinite;
  pointer-events: none;
}

@keyframes slowspin {
  to { transform: rotate(360deg); }
}

/* Hero marquee bar — outer is the clipping viewport, inner is the animated track */
.hero-marquee {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 2.25rem;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  animation: marquee 42s linear infinite;
  will-change: transform;
}

.marquee-track .dot {
  color: var(--accent-dark);
  font-style: normal;
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* =============== USE CASES =============== */

.use-cases {
  padding: clamp(4rem, 7vw, 7rem) 0 clamp(4rem, 7vw, 7rem);
  position: relative;
}

.section-header {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .eyebrow {
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
}

/* Tab bar */
.tabs {
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 0.25rem 1.2rem;
  text-align: left;
  color: var(--text-tertiary);
  transition: color 0.3s var(--ease);
  position: relative;
  flex-shrink: 0;
}

.tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.tab[aria-selected="true"] {
  color: var(--text);
}

.tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.tab:hover:not([aria-selected="true"]) {
  color: var(--text-muted);
}

.tab-num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--accent-dark);
}

.tab[aria-selected="true"] .tab-num {
  color: var(--primary);
}

.tab-label {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.tab-hint {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-tertiary);
  letter-spacing: 0;
}

/* Tab panels */
.panel {
  display: none;
  animation: fadeIn 0.5s var(--ease-out);
}

.panel[data-active] {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.panel-grid-reverse {
  direction: rtl;
}

.panel-grid-reverse > * {
  direction: ltr;
}

.panel-headline {
  font-size: clamp(1.9rem, 3vw + 0.5rem, 2.85rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.panel-body {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 34rem;
}

.benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
}

.benefit-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-dark);
  padding-top: 0.35rem;
  letter-spacing: 0.05em;
}

.benefits h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.benefits p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Panel visual (screen + photo composition) */
.panel-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-photo {
  position: relative;
  width: 78%;
  margin-left: auto;
  transform: rotate(1.5deg);
}

.visual-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(76, 68, 59, 0.06),
    0 25px 60px -25px rgba(76, 68, 59, 0.4),
    0 10px 22px -10px rgba(76, 68, 59, 0.15);
}

.visual-photo figcaption {
  position: absolute;
  bottom: 0.75rem;
  /* Default (non-reversed panels): phone is on the left, so anchor the
     caption to the right half of the photo to avoid the phone overlay
     obscuring the text. */
  left: 45%;
  right: 1rem;
  color: var(--on-primary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(76, 68, 59, 0.7), rgba(76, 68, 59, 0));
  border-radius: 0 0 4px 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Reversed panels (Personal Diary): phone is on the right, so flip the
   caption to the left half. */
.panel-grid-reverse .visual-photo figcaption {
  left: 1rem;
  right: 45%;
}

.visual-screen {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%) rotate(-3deg);
  width: 45%;
  max-width: 240px;
  filter: drop-shadow(0 25px 45px rgba(76, 68, 59, 0.25));
}

.visual-screen img {
  width: 100%;
  border-radius: 22px;
}

/* Reversed panel: swap visual composition */
.panel-grid-reverse .visual-photo {
  margin-left: 0;
  margin-right: auto;
  transform: rotate(-1.5deg);
}

.panel-grid-reverse .visual-screen {
  left: auto;
  right: 0;
  transform: translateY(-50%) rotate(3deg);
}

/* Aspects chips (Personal Diary) */
.aspects {
  margin-bottom: 2.25rem;
}

.aspects-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.aspects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.aspect-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.aspect-chip:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.aspect-chip img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

/* =============== HOW IT WORKS =============== */

.how-it-works {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong), transparent);
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-strong), transparent);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  counter-reset: step;
}

.step {
  position: relative;
  text-align: left;
}

.step-number {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: -1rem;
  font-feature-settings: "lnum";
  font-variant-numeric: lining-nums;
  position: relative;
  z-index: 0;
}

.step-screen {
  width: 70%;
  max-width: 220px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 30px 50px rgba(76, 68, 59, 0.2));
}

.step-screen img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 9/19.5;
  object-fit: cover;
}

.step-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.step-body p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

/* =============== PULL QUOTES =============== */

.pull-quotes {
  padding: clamp(4rem, 7vw, 7rem) 0;
  position: relative;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pull-quote {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.pull-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -20px rgba(76, 68, 59, 0.25);
}

.quote-mark {
  position: absolute;
  top: -0.2rem;
  left: 1.25rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 800;
  text-shadow: 2px 2px 0 var(--bg-deep);
}

.pull-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
}

.pull-quote cite a {
  color: var(--text-tertiary);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pull-quote cite a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.quotes-footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quotes-footer a {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

/* =============== PRIVACY STRIP =============== */

.privacy-strip {
  background: var(--primary);
  color: var(--on-primary);
  padding: clamp(2rem, 4vw, 3rem) 0;
  overflow: hidden;
  position: relative;
}

.privacy-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.privacy-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.privacy-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.privacy-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.privacy-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: currentColor;
  opacity: 0.85;
}

/* =============== FINAL CTA =============== */

.final-cta {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 40%;
  right: -15%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(215, 175, 124, 0.3), rgba(215, 175, 124, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

.final-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.final-headline {
  font-size: clamp(2.5rem, 5vw + 0.5rem, 4.75rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 1.25rem 0 1.5rem;
  max-width: 20ch;
}

.final-sub {
  font-size: 1.175rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 34rem;
}

.final-ctas { margin-bottom: 1.5rem; }

.store-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--text);
  border-radius: 10px;
  font-family: var(--font-sans);
  color: var(--text);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.store-badge:hover {
  background: var(--text);
  color: var(--bg);
}

.store-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  opacity: 0.75;
}

.store-name {
  font-size: 1rem;
  font-weight: 700;
}

.final-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.giant-quote {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(12rem, 25vw, 22rem);
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.12;
  letter-spacing: -0.1em;
  user-select: none;
  transform: rotate(-4deg);
}

/* =============== FOOTER =============== */

.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: clamp(3.5rem, 5vw, 5rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-brand .logo-link {
  color: var(--bg);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  max-width: 20rem;
  font-size: 1.1rem;
  line-height: 1.45;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--bg);
  font-size: 0.95rem;
  opacity: 0.82;
  padding: 0.35rem 0;
  line-height: 1.4;
  display: inline-block;
  min-height: 2rem;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  opacity: 1;
  color: var(--accent);
}

.footer-languages {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}
.footer-lang-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}
.footer-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
.footer-lang-links a {
  color: var(--bg);
  opacity: 0.75;
  font-size: 0.875rem;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-lang-links a:hover {
  opacity: 1;
  color: var(--accent);
}
.footer-lang-links a[aria-current="true"] {
  color: var(--accent);
  opacity: 1;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 240, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--bg);
  opacity: 0.78;
  font-size: 0.85rem;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-social a:hover {
  opacity: 1;
  color: var(--accent);
}

/* =============== REVEAL ANIMATIONS =============== */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 80ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="0"] { --reveal-delay: 0; }
[data-delay="1"] { --reveal-delay: 2; }
[data-delay="2"] { --reveal-delay: 4; }
[data-delay="3"] { --reveal-delay: 6; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =============== RESPONSIVE =============== */

@media (max-width: 960px) {
  /* Reorder hero on mobile so the photo sits between headline and
     subhead for a magazine-style break and earlier visual payoff. */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-text {
    display: contents;
    max-width: none;
  }
  .hero-text > .eyebrow { order: 1; }
  .hero-text > .hero-headline { order: 2; margin-bottom: 0.25rem; }
  .hero-visual {
    order: 3;
    max-width: 400px;
    width: 100%;
    margin: 0.5rem auto 0.75rem;
  }
  .hero-text > .hero-subhead { order: 4; margin-bottom: 1.25rem; }
  .hero-text > .hero-ctas { order: 5; }

  .hero-ornament { display: none; }

  .panel-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .panel-grid-reverse { direction: ltr; }

  .panel-visual {
    min-height: 420px;
    max-width: 500px;
    margin: 0 auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .step { max-width: 480px; margin: 0 auto; }

  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .privacy-items {
    justify-content: flex-start;
    gap: 1rem 2rem;
  }
  .privacy-item {
    flex: 0 0 calc(50% - 1rem);
  }

  .final-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .final-visual { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hero { padding: 2rem 0 2.5rem; }

  /* Header tightening: keep logo icon visible, hide wordmark so the
     nav row doesn't wrap. Shrink gaps and CTA size. */
  .header-inner {
    gap: 0.75rem;
  }
  .logo-text {
    display: none;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .site-nav {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.875rem;
  }
  .site-nav .btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .lang-switch summary {
    width: 32px;
    height: 32px;
  }
  .lang-switch summary svg {
    width: 18px;
    height: 18px;
  }

  .hero-headline {
    font-size: clamp(2.25rem, 8vw + 0.25rem, 3rem);
  }

  .hero-caption {
    right: 0;
    bottom: -1.25rem;
    max-width: 14rem;
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  .tabs {
    gap: 1.25rem;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
  }

  .tab-hint { display: none; }

  .tab-label { font-size: 1.15rem; }

  .panel-headline {
    font-size: clamp(1.75rem, 6vw, 2.1rem);
  }

  .panel-visual { min-height: 360px; }

  .visual-screen { width: 40%; }

  .section-header h2 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .privacy-items {
    flex-direction: column;
    gap: 1rem;
  }
  .privacy-item {
    flex: 0 0 auto;
    font-size: 1.05rem;
  }

  .final-headline {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
