@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf5ee;
  --white: #fdfaf6;
  --ink: #321422;
  --muted: #67545a;
  --accent: #923b54;
  --dark: #331021;
  --dark-2: #45172a;
  --light-text: #feece3;
  --peach: #f5ab98;
  --line: #decfc6;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: -.018em; }
h1 em, h2 em { font-weight: inherit; color: var(--accent); }
h2 { font-size: clamp(3.25rem, 6vw, 5.5rem); }
h3 { font-size: 2.5rem; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 10px; color: inherit; font-weight: 800; font-size: 1.065rem; letter-spacing: -.035em; line-height: 1; text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 38px); align-items: center; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .87rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav [aria-current="page"] { color: var(--accent); text-decoration: underline; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  padding: 12px 23px;
  text-decoration: none;
  text-align: center;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.25;
  transition: background-color .2s ease, color .2s ease;
}
.button:hover { background: #62243e; }
.button:focus-visible { outline-color: var(--accent); }
.button-small { justify-self: end; min-height: 44px; padding: 9px 18px; font-size: .82rem; white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; width: fit-content; font-size: .89rem; font-weight: 750; text-decoration: underline; text-decoration-color: #ae7b89; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.eyebrow { font-size: .72rem; font-weight: 800; line-height: 1.35; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.spark { display: inline-block; margin-inline-end: .35rem; font-size: 1.08rem; line-height: 1; vertical-align: -.08em; }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(32px, 5vw, 76px); padding-block: clamp(48px, 6vw, 92px); }
.hero-copy { min-width: 0; padding-block: 10px; }
.hero h1 { margin-top: 20px; font-size: clamp(4.05rem, 6.55vw, 6rem); line-height: .89; letter-spacing: -.029em; }
.hero h1 em { white-space: nowrap; }
.hero-lede { margin-top: 27px; max-width: 34em; color: var(--muted); font-size: clamp(1rem, 1.46vw, 1.2rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 23px; margin-top: 27px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 0; padding: 0; margin: 24px 0 0; color: var(--muted); list-style: none; font-size: .75rem; font-weight: 650; }
.hero-proof li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-inline: 10px; vertical-align: .2em; }
.hero-visual { position: relative; min-width: 0; border-radius: 14px; background: #703e31; overflow: hidden; box-shadow: 0 16px 44px #3b182425; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1.23; object-fit: cover; object-position: 50% 45%; }

.experience { padding-block: clamp(68px, 8vw, 112px); background: radial-gradient(ellipse at 93% 12%, var(--dark-2), var(--dark) 60%); color: var(--light-text); }
.experience .eyebrow, .experience h2 em, .install h2 em { color: var(--peach); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 28px; margin-bottom: 35px; }
.section-heading h2, .control-section h2, .faq-section h2 { margin-top: 12px; }
.section-heading > p { justify-self: end; max-width: 30ch; color: #e4c5c9; padding-bottom: 4px; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.experience-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffdbcd2e; border-radius: 14px; background: #ffffff08; }
.screen-stage { display: flex; justify-content: center; align-items: start; aspect-ratio: 1.12; padding: 24px 20px 0; overflow: hidden; }
.screen-rose { background: radial-gradient(ellipse at 55% 75%, #f3b9ba, #cb8a9c); }
.screen-lilac { background: radial-gradient(ellipse at 55% 75%, #e8d1ec, #ae9ac5); }
.screen-apricot { background: radial-gradient(ellipse at 55% 75%, #f9d8b8, #e6ae91); }
.app-screen { display: block; width: min(61%, 215px); height: auto; border: 5px solid #251626; border-radius: 18px; box-shadow: 0 12px 30px #32102265; }
.card-copy { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(17px, 2.2vw, 28px); }
.card-copy p { margin-top: 10px; color: #edcdd0; font-size: .94rem; }
.card-copy .text-link { margin-top: auto; padding-top: 11px; text-decoration-color: #ba8292; }
.experience .text-link:hover { color: var(--peach); }
.screen-note { margin-top: 14px; font-size: .75rem; color: #e4c5c9; }

.control-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 108px); align-items: center; padding-block: clamp(65px, 9vw, 124px); }
.control-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; max-width: 43ch; }
.control-copy .text-link { margin-top: 13px; }
.control-list { padding: 4px 24px; border-radius: 13px; background: #f2e5dc; }
.control-list div { padding: 18px 0; }
.control-list div + div { border-top: 1px solid var(--line); }
.control-list dt { font-size: 1rem; font-weight: 800; }
.control-list dd { color: var(--muted); font-size: .92rem; }

.faq-section { border-top: 1px solid var(--line); background: var(--white); padding-block: clamp(56px, 7vw, 94px); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 38px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+" / ""; flex: none; font-size: 1.38rem; font-weight: 400; line-height: 1; color: var(--accent); }
.faq-list details[open] summary::after { content: "−" / ""; }
.faq-list details p { max-width: 68ch; padding: 0 22px 20px 0; color: var(--muted); }
.faq-list a { color: var(--accent); }

.install { background: var(--dark); color: var(--light-text); }
.install-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 59px; }
.button-light { color: var(--dark); background: var(--light-text); }
.button-light:hover { background: #ffd4c3; }
.button-light:focus-visible { outline-color: var(--light-text); }
.site-footer { background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 28px; padding-block: 27px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 18px; align-items: center; }
.footer-links a { display: inline-flex; align-items: center; min-height: 34px; color: var(--muted); font-size: .84rem; font-weight: 650; text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-credit, .footer-inner > p { color: var(--muted); font-size: .78rem; }

.guide-main { min-height: 65vh; }
.guide-wrap { max-width: 1040px; padding-block: 27px 80px; }
.breadcrumbs { color: var(--muted); font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; padding-right: 8px; }
.guide-header { margin-block: 40px 36px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.guide-header h1 { max-width: 15ch; margin-top: 12px; font-size: clamp(3.8rem, 7.6vw, 7.25rem); }
.guide-lede { max-width: 58ch; margin-top: 19px; color: var(--muted); font-size: clamp(1.03rem, 2vw, 1.25rem); }
.guide-content { max-width: 740px; }
.guide-content h2, .guide-cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.guide-content > section + section { margin-top: 36px; }
.guide-content h3 { margin-top: 26px; }
.guide-content p, .guide-content ul, .guide-content ol { margin-top: 13px; font-size: 1.04rem; line-height: 1.65; }
.guide-content li + li { margin-top: .45rem; }
.guide-content a { color: var(--accent); font-weight: 650; }
.guide-aside, .guide-cta { margin-top: 44px; padding: clamp(24px, 5vw, 42px); max-width: 740px; border-radius: 14px; background: #f2e5dc; }
.guide-cta p { margin-top: 13px; }
.guide-cta .button, .guide-cta .text-link { margin: 16px 12px 0 0; }
.guide-content .guide-cta .button { color: var(--white); }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 36px; }
  .hero h1 { font-size: clamp(3.55rem, 6.5vw, 5.1rem); }
  .hero-visual img { aspect-ratio: 1.17; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .nav-shell { grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 10px; }
  .nav-shell .site-nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(12px, 4vw, 26px); flex-wrap: wrap; }
  .site-nav a { min-height: 40px; font-size: .82rem; }
  .button-small { min-height: 40px; padding-inline: 14px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 30px 44px; }
  .hero h1 { font-size: clamp(3.75rem, 11.8vw, 6.4rem); margin-top: 14px; }
  .hero-lede { margin-top: 20px; }
  .hero-actions { margin-top: 20px; }
  .hero-proof { margin-top: 17px; }
  .hero-visual img { aspect-ratio: 1.4; }
  .section-heading, .control-section, .faq-layout { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { justify-self: start; max-width: 42ch; }
  .experience-grid { grid-template-columns: 1fr; max-width: 470px; gap: 20px; }
  .screen-stage { aspect-ratio: 1.48; }
  .card-copy { padding: 23px; }
  .control-list { margin-top: 5px; }
  .footer-inner { gap: 12px 22px; }
  .guide-wrap { padding-block: 20px 58px; }
  .guide-header { margin-top: 30px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: 3.55rem; }
  .hero-proof li + li::before { margin-inline: 7px; }
  .hero-actions { gap: 8px 14px; }
  .button { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
