/* Best Expression site
   macOS marketing grammar, our palette: warm paper, ink, and the app
   icon's amber -> vermillion -> magenta ramp as the product color.
   System fonts only; the page fetches nothing from anywhere. */

:root {
  --paper: #f5f1e8;
  --card: #fffef9;
  --band: #efe9dc;
  --ink: #171512;
  --muted: #67614f;
  /* accents from the app icon gradient: #FBA71C -> #F5502B -> #EE2D82.
     --red is the vermillion stop deepened for small text (AA on paper);
     --verm is the stop itself, for big strokes and display type. */
  --red: #d8451c;
  --verm: #f5502b;
  --amber: #fba71c;
  --magenta: #ee2d82;
  --grad: linear-gradient(135deg, var(--amber), var(--verm) 38%, var(--magenta));
  --grad-btn: linear-gradient(135deg, var(--verm), var(--magenta));
  --line: rgba(23, 21, 18, 0.14);
  --line-soft: rgba(23, 21, 18, 0.08);
  --shadow-card: 0 2px 6px rgba(23, 21, 18, 0.04), 0 14px 36px -18px rgba(23, 21, 18, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --radius: 18px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(245, 80, 43, 0.24); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 44px);
}

/* type utilities ------------------------------------------------ */

.mono {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
}

.kicker {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--red);
}

/* gradient-clipped emphasis inside the problem statement */
.mark {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* text inside inline SVG inherits page CSS */
.svg-note {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  fill: var(--muted);
  stroke: none;
}

.svg-note-red { fill: var(--red); }

/* gradient display word ----------------------------------------- */

.hero h1 em,
.closer h2 em,
.privacy h2 em {
  font-style: normal;
  color: var(--verm);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 em { font-style: italic; }

/* sticky product nav -------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  border-bottom: 1px solid var(--line-soft);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 11px;
}

.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark em { color: var(--verm); font-style: normal; }

.wordmark .app-icon { width: 24px; height: 24px; }

.app-icon {
  display: inline-block;
  border-radius: 22.4%;
  box-shadow: 0 1px 3px rgba(23, 21, 18, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.nav a {
  font-size: 13.5px;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.nav a:hover, .nav a:focus-visible { opacity: 1; }

.nav .btn {
  font-size: 13px;
  padding: 7px 15px;
  opacity: 1;
}

@media (max-width: 760px) {
  .nav a.hide-sm { display: none; }
}

@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .masthead-inner { padding-block: 9px; }
}

/* buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  border: 0;
  border-radius: 980px;
  padding: 13px 26px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease, background-color 0.15s ease;
}

.btn .arrow { transition: transform 0.16s ease; }

.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(3px); }

.btn:active { transform: scale(0.985); }

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus-visible { filter: brightness(1.06); }

.btn-primary.is-waiting {
  background: var(--card);
  color: var(--red);
  box-shadow: inset 0 0 0 1.5px var(--verm);
}

.btn-ghost {
  background: var(--grad-btn);
  color: #fff;
}

.btn-ghost:hover, .btn-ghost:focus-visible { filter: brightness(1.06); }

.link-more {
  font-size: 17px;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
}

.link-more span { display: inline-block; margin-left: 3px; transition: transform 0.15s ease; }

.link-more:hover span, .link-more:focus-visible span { transform: translateX(3px); }

.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* hero ---------------------------------------------------------- */

.hero {
  padding-block: clamp(30px, 4.2vw, 56px) 0;
  text-align: center;
}

.hero .kicker { display: block; margin-bottom: 14px; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.6vw, 108px);
  line-height: 1;
  letter-spacing: -0.012em;
  max-width: 12em;
  margin-inline: auto;
}

.hero-lead { margin-top: clamp(20px, 3vw, 30px); }

.hero-dek {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 42em;
  margin-inline: auto;
}

.hero-dek strong { color: var(--ink); font-weight: 600; }

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
}

.cta-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

/* contact sheet */

.sheet {
  margin-top: clamp(38px, 5vw, 60px);
  margin-inline: calc(50% - 50vw);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 24px 34px;
  scrollbar-width: none;
}

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

.sheet-track {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: max-content;
  margin-inline: auto;
}

.shot {
  flex: 0 0 auto;
  width: clamp(168px, 14.5vw, 210px);
  background: var(--card);
  border-radius: 14px;
  padding: 9px 9px 7px;
  box-shadow: var(--shadow-card);
  text-align: left;
}

.shot svg {
  width: 100%;
  height: auto;
  background: #fbf9f2;
  border-radius: 8px;
}

.shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 3px 3px;
  font-size: 11px;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.shot figcaption .flag { color: var(--red); font-weight: 600; }

.shot.is-pick { box-shadow: 0 0 0 2px rgba(245, 80, 43, 0.65), var(--shadow-card); }

/* grease pencil strokes */

.pencil {
  fill: none;
  stroke: var(--verm);
  stroke-width: 3.4;
  stroke-linecap: round;
}

.js .pencil[pathLength] {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.js .inview .pencil[pathLength] {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s cubic-bezier(0.55, 0, 0.2, 1) 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .pencil[pathLength] { stroke-dashoffset: 0; transition: none; }
  .btn .arrow, .link-more span { transition: none; }
}

/* spec strip ---------------------------------------------------- */

.specs {
  border-block: 1px solid var(--line-soft);
  margin-top: clamp(26px, 4vw, 44px);
  background: var(--card);
}

.specs-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px clamp(28px, 4.5vw, 72px);
  padding-block: 26px;
}

.spec {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  text-align: center;
}

.spec dt {
  font-size: 12.5px;
  color: var(--muted);
}

.spec dd {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  .spec { flex: 1 1 38%; }
}

/* sections ------------------------------------------------------ */

.section { padding-block: clamp(40px, 5.5vw, 68px) clamp(52px, 7.5vw, 96px); }

.section > .wrap { position: relative; z-index: 1; }

#how { background: var(--band); }

#blend {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f5ead2, var(--band) 46%, #f4e3e2);
}

.closer { background: var(--band); }

/* decorative backdrops ------------------------------------------ */

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.deco-blend-left {
  left: clamp(-70px, -2vw, -30px);
  top: 50%;
  width: clamp(200px, 19vw, 300px);
  transform: translateY(-60%) rotate(-5deg);
}

.deco-blend-right {
  right: clamp(-70px, -2vw, -30px);
  top: 50%;
  width: clamp(200px, 19vw, 300px);
  transform: translateY(-44%) rotate(4deg);
}

.deco-pv-a {
  top: 30px;
  right: 3.5vw;
  width: clamp(150px, 14vw, 220px);
  transform: rotate(6deg);
}

.deco-pv-b {
  bottom: -34px;
  left: 3vw;
  width: clamp(130px, 12vw, 190px);
  transform: rotate(-7deg);
}

@media (max-width: 1250px) {
  .deco-blend-left, .deco-blend-right { display: none; }
}

@media (max-width: 900px) {
  .deco-pv-a, .deco-pv-b { display: none; }
}

.section-head {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-head .kicker,
.section-head h2.kicker {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
}

/* how it works -------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-card);
}

.step .num {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.step h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 8px 0 8px;
}

.step p { color: var(--muted); font-size: 15.5px; }

.step p b { color: var(--ink); font-weight: 600; }

.step-art { margin-top: 22px; }

.step-art svg { width: 100%; max-width: 240px; height: auto; }

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; }
}

/* compare slider ------------------------------------------------ */

.window {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(23, 21, 18, 0.05), 0 32px 64px -36px rgba(23, 21, 18, 0.35);
  max-width: 940px;
  margin-inline: auto;
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #f7f3ea;
}

.traffic { display: flex; gap: 8px; }

.traffic i { width: 12px; height: 12px; border-radius: 50%; }

.traffic i:nth-child(1) { background: #ff5f57; }
.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }

.window-bar .title {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.compare {
  position: relative;
  --pos: 66;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.compare .layer { display: block; }

.compare .layer svg { width: 100%; height: auto; }

.compare .after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 calc(var(--pos) * 1%));
}

.compare .tag {
  position: absolute;
  top: 14px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 980px;
  background: rgba(245, 241, 232, 0.92);
  color: var(--muted);
  box-shadow: 0 1px 4px rgba(23, 21, 18, 0.12);
}

.compare .tag-before { left: 14px; }
.compare .tag-after { right: 14px; color: var(--red); }

.compare .divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--pos) * 1%);
  width: 0;
  border-left: 2px solid var(--ink);
  pointer-events: none;
}

.compare .divider::after {
  content: "◂ ▸";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 2px;
  text-indent: 2px;
  line-height: 34px;
  width: 52px;
  text-align: center;
  border-radius: 17px;
  box-shadow: 0 0 0 3px var(--card);
}

.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

.compare:has(input:focus-visible) .divider::after {
  outline: 2px solid var(--verm);
  outline-offset: 2px;
}

.compare-caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 6px 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  max-width: 940px;
  margin-inline: auto;
}

/* blend --------------------------------------------------------- */

.craft-intro {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 30em;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 48px);
}

.blend-list {
  list-style: none;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 6px clamp(20px, 3vw, 34px);
  max-width: 960px;
  margin-inline: auto;
}

.blend-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 26px;
  padding: 19px 0;
  align-items: baseline;
}

.blend-list li + li { border-top: 1px solid var(--line-soft); }

.blend-list .k {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red);
}

.blend-list .v { max-width: 46em; color: var(--ink); font-size: 16px; }

@media (max-width: 700px) {
  .blend-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* details index ------------------------------------------------- */

.index-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0 40px;
  margin-top: clamp(26px, 4vw, 40px);
  max-width: 960px;
  margin-inline: auto;
}

.index-col { grid-column: span 6; }

.index-list { list-style: none; }

.index-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.index-col:last-child .index-list li:last-child,
.index-col:first-child .index-list li:last-child { border-bottom: 0; }

.index-list .tick {
  font-size: 13px;
  color: var(--verm);
  flex: 0 0 auto;
}

.index-list p { font-size: 15.5px; color: var(--muted); }

.index-list b { color: var(--ink); font-weight: 600; }

.index-list .spec-frag { font-size: 15.5px; }

@media (max-width: 820px) {
  .index-col { grid-column: 1 / -1; }
}

/* privacy ------------------------------------------------------- */

.privacy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(58% 46% at 50% 0%, rgba(245, 80, 43, 0.13), transparent 72%),
    radial-gradient(36% 40% at 88% 96%, rgba(238, 45, 130, 0.1), transparent 70%),
    var(--ink);
  color: var(--paper);
  text-align: center;
}

.privacy .kicker { color: #ff7d52; display: block; margin-bottom: 14px; }

.privacy h2 {
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14em;
  margin-inline: auto;
  margin-bottom: clamp(30px, 4.5vw, 48px);
}

.privacy-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px clamp(24px, 3.5vw, 48px);
  max-width: 1020px;
  margin-inline: auto;
}

.privacy-cols h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ff7d52;
}

.privacy-cols p {
  color: rgba(245, 241, 232, 0.75);
  font-size: 15px;
  max-width: 30em;
  margin-inline: auto;
}

.privacy-foot {
  margin-top: 40px;
  font-size: 14px;
  color: rgba(245, 241, 232, 0.65);
}

.privacy-foot a { color: var(--paper); text-underline-offset: 3px; }

.privacy-foot a:hover { color: #ff7d52; }

@media (max-width: 820px) {
  .privacy-cols { grid-template-columns: 1fr; }
}

/* faq ----------------------------------------------------------- */

.faq {
  max-width: 780px;
  margin-inline: auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 6px clamp(20px, 3vw, 32px);
}

.faq details + details { border-top: 1px solid var(--line-soft); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 40px 19px 0;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 21px;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq summary:hover { color: var(--red); }

.faq .answer {
  padding: 0 0 22px;
  max-width: 44em;
  color: var(--muted);
  font-size: 15.5px;
}

.faq .answer b { color: var(--ink); font-weight: 600; }

.faq .answer p + p { margin-top: 10px; }

/* closer + footer ----------------------------------------------- */

.closer { text-align: center; }

.closer .app-icon {
  width: 88px;
  height: 88px;
  margin-inline: auto;
  margin-bottom: 28px;
  box-shadow: 0 12px 28px -10px rgba(238, 45, 130, 0.35),
    0 2px 6px rgba(23, 21, 18, 0.2);
}

.closer h2 {
  font-weight: 700;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  max-width: 13em;
  margin-inline: auto;
}

.closer .hero-cta { margin-top: 34px; }

footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 34px 44px;
  background: var(--card);
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
}

.foot-col .mono {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.foot-col a {
  display: block;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--muted);
  padding-block: 3px;
}

.foot-col a:hover { color: var(--red); }

.colophon {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  color: var(--muted);
  font-size: 12px;
}

/* sub pages (privacy.html, support.html) ------------------------ */

.page { max-width: 720px; padding-block: clamp(44px, 7vw, 80px); }

.page h1 {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.page .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 34px;
}

.page h2 {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 38px 0 10px;
}

.page p { max-width: 42em; margin-bottom: 13px; color: var(--muted); }

.page p.lede { font-size: 20px; color: var(--ink); font-weight: 500; }

.page p b, .page li b { color: var(--ink); font-weight: 600; }

.page ol, .page ul { margin: 0 0 16px 1.2em; max-width: 40em; color: var(--muted); }

.page li { margin-bottom: 8px; }

.page li::marker { color: var(--red); font-weight: 600; }

.page code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 1px 5px;
  border-radius: 5px;
}

.page .muted { color: var(--muted); }

.page a { color: var(--red); text-underline-offset: 3px; }

.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  margin-top: 28px;
  max-width: 30em;
}

.contact-card .mono {
  display: block;
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.contact-card .addr { font-size: 15px; }

.placeholder { color: var(--red); }
