/* Snip 35 — Dual-Finish Editorial Studio Design System (Ceramic Porcelain / Piano Obsidian) */
:root,
html[data-theme="light"] {
  --ground: #f6f5f0;
  --ground-2: #eeede8;
  --surface: #ffffff;
  --well: #e7e6e0;
  --ink: #121316;
  --muted: #5f626a;
  --faint: #7b7e86;
  --accent: #e03e1a;
  --accent-soft: rgba(224, 62, 26, 0.11);
  --ok: #2f7d4c;
  --release: #121316;
  --on-release: #ffffff;
  --line: rgba(18, 19, 22, 0.14);
  --line-soft: rgba(18, 19, 22, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 19, 22, 0.12), 0 4px 14px rgba(18, 19, 22, 0.06);
  --shadow-sm: 0 8px 24px rgba(18, 19, 22, 0.06);
  --glass: rgba(246, 245, 240, 0.86);
  --display: "Bodoni Moda", "Bodoni 72", "Didot", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

html[data-theme="dark"] {
  --ground: #07080b;
  --ground-2: #101218;
  --surface: #13161e;
  --well: #1b1f29;
  --ink: #f5f6f8;
  --muted: #989eac;
  --faint: #676c78;
  --accent: #f08a5d;
  --accent-soft: rgba(240, 138, 93, 0.15);
  --ok: #8be2b4;
  --release: #f5f6f8;
  --on-release: #07080b;
  --line: rgba(245, 246, 248, 0.16);
  --line-soft: rgba(245, 246, 248, 0.085);
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.56), 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.32);
  --glass: rgba(7, 8, 11, 0.84);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--ground);
  color: var(--ink);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.accent-mono { color: var(--accent); }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: var(--glass);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--line-soft);
  object-fit: cover;
}

.brand-wordmark {
  height: 22px;
  width: auto;
}

html[data-theme="dark"] .brand-wordmark {
  filter: invert(1) brightness(1.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s ease;
}

.nav a:hover { color: var(--ink); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.theme-btn:hover { border-color: var(--ink); }
.theme-btn:active { transform: scale(0.95); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: #121316;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 19, 22, 0.14);
}
html[data-theme="dark"] .btn-primary {
  background: #f5f6f8;
  color: #07080b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.btn-primary:hover { opacity: 0.9; }

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(224, 62, 26, 0.24);
}
.btn-accent:hover { opacity: 0.92; }

.btn-secondary {
  background: #ffffff;
  color: #121316;
  border-color: rgba(18, 19, 22, 0.16);
}
html[data-theme="dark"] .btn-secondary {
  background: #13161e;
  color: #f5f6f8;
  border-color: rgba(245, 246, 248, 0.20);
}
.btn-secondary:hover { border-color: var(--ink); }

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

/* Hero Section */
.hero {
  padding: 58px 0 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero > * { min-width: 0; }

.eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 22px 0 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 490px;
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-specs {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-specs span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.spec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Interactive iOS Hero Stage */
.stage-wrap {
  position: relative;
  width: min(460px, 100%);
  margin-inline: auto;
}

.stage-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
}

.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage-img.active {
  opacity: 1;
  transform: scale(1);
}

.before-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
  z-index: 3;
  transition: clip-path 0.06s linear;
}

.stage-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}

.stage-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stage-badge {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.compare-btn {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: opacity 0.18s ease, transform 0.15s ease;
}
.compare-btn:hover { opacity: 0.92; }
.compare-btn.hidden { opacity: 0; pointer-events: none; }

.stage-grad {
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56), transparent);
  pointer-events: none;
  z-index: 5;
}

.stage-pills {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.stage-pill {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 4px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.stage-pill.active {
  background: rgba(255, 255, 255, 0.96);
  color: #121316;
  font-weight: 700;
}

.stage-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 10px;
  margin-top: 12px;
  padding: 0 6px;
}
.stage-caption .mono {
  font-size: 10px;
  letter-spacing: 0.08em;
}

/* Sections */
.section {
  padding: 84px 0;
  border-top: 1px solid var(--line-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 12px 0 0;
  max-width: 620px;
}

.section-head p {
  color: var(--muted);
  max-width: 390px;
  margin: 0;
  font-size: 15.5px;
}

/* 4-Look Editorial Gallery */
.looks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.look-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}
.look-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
}

.look-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ground-2);
}

.look-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.look-card:hover .look-media img { transform: scale(1.03); }

.look-num {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(12, 13, 16, 0.62);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.look-body {
  padding: 16px 18px 20px;
}

.look-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.look-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Craft Process 3-Column */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.craft-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.craft-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.craft-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.craft-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}

/* Privacy Band */
.privacy-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.privacy-band h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.06;
  margin: 12px 0 14px;
}

.privacy-band p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 480px;
}

.privacy-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.privacy-pill {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--ground);
  border: 1px solid var(--line-soft);
}

.privacy-pill strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.privacy-pill span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 26px;
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(224, 62, 26, 0.10);
}

.price-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.price-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.price-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.price-amount {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 22px;
}

.price-amount strong {
  font-family: var(--display);
  font-size: 36px;
  color: var(--ink);
  font-weight: 600;
  margin-right: 4px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check {
  color: var(--accent);
  font-weight: 700;
  line-height: 1.5;
}

.price-note {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Closing CTA */
.closing {
  text-align: center;
  padding: 96px 0 88px;
  border-top: 1px solid var(--line-soft);
}

.closing-icon {
  width: 78px;
  height: 78px;
  border-radius: 19px;
  margin: 0 auto 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft);
}

.closing h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 14px auto 18px;
  max-width: 740px;
}

.closing p {
  color: var(--muted);
  max-width: 470px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* Legal & Support Document Pages */
.doc-wrap {
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 88px;
}

.doc-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 32px;
}

.doc-header h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
}

.doc-header p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.doc-card h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 10px;
}

.doc-card p, .doc-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.doc-card p:last-child { margin-bottom: 0; }
.doc-card ul { padding-left: 20px; margin: 10px 0 0; }
.doc-card strong { color: var(--ink); }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 32px 0 44px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 36px 0 60px; }
  .looks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-grid { grid-template-columns: minmax(0, 1fr); }
  .privacy-band { grid-template-columns: minmax(0, 1fr); }
  .pricing-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 50px); }
  .hero-lead { font-size: 15.5px; }
  .hero-cta .btn { width: 100%; }
  .privacy-pills { grid-template-columns: minmax(0, 1fr); }
  .looks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .look-body { padding: 12px 13px 15px; }
  .look-body h3 { font-size: 18px; }
  .look-body p { font-size: 12.5px; }
  .stage-pill { font-size: 10.5px; padding: 7px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
