:root {
  --page: #ffffff;
  --page-soft: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: rgba(0, 0, 0, 0.09);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --shell: min(1120px, calc(100vw - 48px));
  --display-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --text-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page);
  font-family: var(--text-font);
  line-height: 1.47059;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display-font);
  font-size: 0.94rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: #424245; font-size: 0.8rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue); }
.nav-button {
  padding: 8px 15px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--blue);
}
.nav-button:hover, .nav-button:focus-visible { background: var(--blue-hover); }

.hero {
  padding: 104px 0 112px;
  text-align: center;
}
.hero-copy { max-width: 900px; margin-inline: auto; }
.hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 25%;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}
.product-name {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1, h2, h3 { font-family: var(--display-font); }
h1 {
  max-width: 940px;
  margin: 0 auto 24px;
  font-size: clamp(3.7rem, 8vw, 7.3rem);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.065em;
}
.hero-lead {
  max-width: 790px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
}
.actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-hover); }
.button-secondary { color: var(--blue); background: #e8f2ff; }
.button-secondary:hover, .button-secondary:focus-visible { background: #deedff; }
.trust-line { margin: 20px 0 0; color: var(--soft); font-size: 0.82rem; }

.product-stage {
  position: relative;
  width: min(880px, 100%);
  min-height: 690px;
  margin: 76px auto 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(145deg, #eef4ff 0%, #f8edf4 48%, #f5f5f7 100%);
}
.phone {
  width: min(330px, 74vw);
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 54px;
  background: #111216;
  box-shadow: 0 42px 90px rgba(42, 42, 52, 0.22);
}
.phone-screen {
  min-height: 650px;
  overflow: hidden;
  position: relative;
  padding: 58px 14px 18px;
  border-radius: 45px;
  background: #f2f2f7;
}
.dynamic-island {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 100px;
  height: 28px;
  border-radius: 999px;
  background: #0d0d0f;
  transform: translateX(-50%);
}
.screen-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 13px;
  color: #6e6e73;
  font-size: 0.7rem;
}
.screen-header strong { color: #1d1d1f; font-size: 0.78rem; }
.screen-action { justify-self: end; color: var(--blue); font-weight: 600; }
.photo-preview {
  height: 178px;
  overflow: hidden;
  position: relative;
  border-radius: 22px;
  background: linear-gradient(#8aa6bf 0 44%, #f2b18f 44% 58%, #27344e 58%);
}
.photo-sun {
  position: absolute;
  top: 30px;
  right: 45px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f5c56a;
}
.photo-hill { position: absolute; left: -10%; right: -10%; bottom: -40%; height: 75%; border-radius: 50% 50% 0 0; }
.photo-hill-back { left: 28%; bottom: -46%; background: #4c6f86; transform: rotate(8deg); }
.photo-hill-front { background: #17223b; transform: rotate(-6deg); }
.picker-ring {
  position: absolute;
  top: 75px;
  left: 155px;
  width: 45px;
  height: 45px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: rgba(245, 197, 106, 0.7);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.segmented-control {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 12px 0;
  padding: 3px;
  border-radius: 10px;
  background: #e3e3e8;
  font-size: 0.63rem;
  font-weight: 600;
}
.segmented-control span { padding: 7px 3px; border-radius: 8px; color: #66666b; }
.segmented-control .selected { color: #1d1d1f; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
.palette-list { display: grid; gap: 7px; }
.palette-list > div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
}
.palette-list i { width: 42px; height: 42px; border-radius: 10px; background: var(--swatch); }
.palette-list span, .palette-list b, .palette-list small { display: block; }
.palette-list b { margin-bottom: 2px; font-size: 0.71rem; }
.palette-list small { color: #8e8e93; font: 0.61rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.floating-palette {
  position: absolute;
  right: 11%;
  bottom: 12%;
  display: flex;
  gap: 6px;
  padding: 10px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(56, 56, 66, 0.16);
}
.floating-palette span {
  width: 56px;
  height: 78px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 8px;
  border-radius: 11px;
  color: rgba(0, 0, 0, 0.55);
  font: 0.54rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
.floating-palette span:nth-child(1) { background: #f0647b; }
.floating-palette span:nth-child(2) { background: #f5c56a; }
.floating-palette span:nth-child(3) { background: #8fd5c5; }

.section { padding: 118px 0; }
.section-soft { background: var(--page-soft); }
.section-heading { max-width: 850px; margin-bottom: 50px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 5.7vw, 5.2rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.section-heading > p:last-child, .export-copy > p:last-of-type {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 470px;
  padding: 30px;
  overflow: hidden;
  border-radius: 32px;
}
.feature-pink { background: #fff1f4; }
.feature-blue { background: #eef5ff; }
.feature-green { background: #eef9f5; }
.feature-visual { height: 190px; margin-bottom: 38px; position: relative; }
.feature-label { margin-bottom: 8px; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.85rem; line-height: 1.05; letter-spacing: -0.04em; }
.feature-card > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.color-sample span {
  position: absolute;
  inset: 16px 20px;
  border-radius: 26px;
  background: linear-gradient(145deg, #8099b2 0 40%, #f1af90 41% 56%, #27344e 57%);
}
.color-sample i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 72px;
  border: 8px solid #fff1f4;
  border-radius: 50%;
  background: #f0647b;
}
.swatch-editor { display: flex; align-items: end; justify-content: center; gap: 7px; }
.swatch-editor i { width: 46px; border-radius: 15px; }
.swatch-editor i:nth-child(1) { height: 115px; background: #17223b; }
.swatch-editor i:nth-child(2) { height: 155px; background: #4c6f86; }
.swatch-editor i:nth-child(3) { height: 178px; background: #f0647b; }
.swatch-editor i:nth-child(4) { height: 135px; background: #f5c56a; }
.harmony-wheel {
  width: 178px;
  height: 178px;
  margin-inline: auto;
  border: 22px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}
.harmony-wheel span, .harmony-wheel i { position: absolute; width: 54px; height: 54px; border: 7px solid #eef9f5; border-radius: 50%; }
.harmony-wheel span { top: -12px; left: 40px; background: #f0647b; }
.harmony-wheel i:nth-of-type(1) { right: -10px; bottom: 18px; background: #f5c56a; }
.harmony-wheel i:nth-of-type(2) { left: -10px; bottom: 18px; background: #8fd5c5; }
.harmony-wheel i:nth-of-type(3) { left: 40px; bottom: -20px; background: #7c78ff; }

.export-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 88px; }
.export-copy > p:last-of-type { margin-inline: 0; }
.format-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.format-list span {
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: 999px;
  color: #424245;
  background: #fff;
  font: 600 0.76rem ui-monospace, SFMono-Regular, Menlo, monospace;
}
.export-card {
  padding: 34px;
  border-radius: 34px;
  color: #fff;
  background: #14151a;
  box-shadow: 0 28px 68px rgba(34, 34, 44, 0.16);
}
.export-card-header { display: flex; justify-content: space-between; margin-bottom: 24px; color: #d1d1d6; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.08em; }
.export-card-header small { color: #73737a; }
.export-colors { height: 255px; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border-radius: 22px; }
.export-colors i:nth-child(1) { background: #17223b; }
.export-colors i:nth-child(2) { background: #4c6f86; }
.export-colors i:nth-child(3) { background: #f0647b; }
.export-colors i:nth-child(4) { background: #f5c56a; }
.export-colors i:nth-child(5) { background: #8fd5c5; }
.export-code { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; color: #aaaab0; font-size: 0.72rem; }

.privacy-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 48px;
  border-radius: 34px;
  background: #f5f5f7;
}
.privacy-symbol {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #34c759;
  font-size: 1.7rem;
  font-weight: 700;
}
.privacy-card h2 { margin-bottom: 14px; font-size: clamp(2.25rem, 4.2vw, 4rem); }
.privacy-card p { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.text-link { color: var(--blue); font-size: 0.92rem; font-weight: 600; white-space: nowrap; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.final-cta {
  margin-bottom: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  border-radius: 34px;
  color: #fff;
  background: #1d1d1f;
}
.final-cta img { width: 88px; height: 88px; border-radius: 22px; }
.final-cta .product-name { color: #a1a1a6; }
.final-cta h2 { margin-bottom: 7px; font-size: clamp(1.9rem, 3.8vw, 3.15rem); }
.final-cta p:last-child { margin-bottom: 0; color: #a1a1a6; }
.final-cta .button-primary { color: #1d1d1f; background: #fff; }

.site-footer { padding: 34px 0 42px; color: var(--soft); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; font-size: 0.76rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row a:hover, .footer-row a:focus-visible { color: var(--text); }

@media (max-width: 900px) {
  .hero { padding-top: 82px; }
  .product-stage { min-height: 620px; }
  .floating-palette { right: 4%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 390px; display: grid; grid-template-columns: 0.85fr 1fr; column-gap: 34px; align-items: center; }
  .feature-visual { grid-row: 1 / span 3; margin-bottom: 0; }
  .export-layout { grid-template-columns: 1fr; gap: 52px; }
  .privacy-card { grid-template-columns: auto 1fr; }
  .privacy-card .text-link { grid-column: 2; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .button { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 28px, 1120px); }
  html { scroll-behavior: auto; }
  .nav { min-height: 58px; }
  .brand span { display: none; }
  .brand img { width: 34px; height: 34px; }
  .nav-links { gap: 15px; font-size: 0.75rem; }
  .nav-links a:nth-child(2), .nav-links a:nth-child(3) { display: none; }
  .nav-button { padding: 7px 13px; }
  .hero { padding: 70px 0 82px; }
  .hero-icon { width: 92px; height: 92px; }
  h1 { font-size: clamp(3.35rem, 16vw, 5.25rem); }
  .hero-lead { font-size: 1.08rem; }
  .actions { align-items: stretch; }
  .button { width: 100%; }
  .product-stage { min-height: 550px; margin-top: 56px; border-radius: 28px; }
  .phone { width: min(285px, 82vw); border-radius: 47px; }
  .phone-screen { min-height: 560px; padding-top: 52px; border-radius: 39px; }
  .photo-preview { height: 145px; }
  .picker-ring { top: 60px; left: 135px; }
  .palette-list > div:nth-child(5) { display: none; }
  .floating-palette { display: none; }
  .section { padding: 84px 0; }
  h2 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .section-heading > p:last-child, .export-copy > p:last-of-type { font-size: 1.02rem; }
  .feature-card { min-height: 0; display: block; padding: 26px; border-radius: 26px; }
  .feature-visual { height: 180px; margin-bottom: 30px; }
  .export-card { padding: 22px; border-radius: 26px; }
  .export-colors { height: 190px; }
  .export-code { display: grid; }
  .privacy-card { grid-template-columns: 1fr; padding: 30px; border-radius: 26px; }
  .privacy-card .text-link { grid-column: auto; }
  .final-cta { grid-template-columns: 1fr; padding: 32px; text-align: center; border-radius: 26px; }
  .final-cta img { margin-inline: auto; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
