:root {
  --ink: #232520;
  --paper: #f6f3ec;
  --warm-soft: color-mix(in srgb, #e4bd91 58%, #f6f3ec);
  --blue-soft: color-mix(in srgb, #a8b9a3 62%, #f6f3ec);
  --yellow: #e4bd91;
  --muted: #586057;
  --border: rgba(35, 62, 53, 0.2);
  --accent: #233e35;
  --sage: #a8b9a3;
  --peach: #e4bd91;
  --shell: min(1120px, calc(100% - 40px));
  --display: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Comic Sans MS", "Bradley Hand", var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid #286eb4; outline-offset: 4px; border-radius: 4px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-180%); transition: transform 160ms ease; }
.skip-link:focus { transform: none; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header { position: relative; z-index: 20; background: var(--paper); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand, .footer-brand { flex: 0 0 auto; }
.brand img, .footer-brand img { width: 170px; }
.site-nav { display: none; }
.site-nav a, .site-footer nav a { font-size: 0.84rem; text-decoration: none; }
.site-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-button { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 0.8rem var(--body); cursor: pointer; }
.menu-button-icon { display: grid; gap: 4px; }
.menu-button-icon i { width: 15px; height: 2px; background: currentColor; display: block; transition: transform 180ms ease; }
.menu-button[aria-expanded="true"] .menu-button-icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
.site-header.menu-open .site-nav { display: grid; position: absolute; left: 0; right: 0; top: 78px; gap: 18px; padding: 24px max(20px, calc((100vw - 1120px) / 2)); background: var(--paper); border-block: 1px solid var(--ink); }

.hero { overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; gap: 42px; padding-block: 52px 72px; }
.hero-copy { position: relative; z-index: 2; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.055em; }
h1 { max-width: 650px; margin-bottom: 25px; font-size: clamp(3.5rem, 15vw, 6.25rem); line-height: 0.94; }
h1 span { position: relative; display: inline-block; z-index: 0; }
h1 span::after { content: ""; position: absolute; z-index: -1; left: -5%; right: -16%; bottom: -3%; height: 28%; background: var(--yellow); border-radius: 45% 55% 42% 58%; transform: rotate(2deg); }
.hero-intro { max-width: 520px; margin-bottom: 28px; font: clamp(1rem, 2.4vw, 1.18rem)/1.45 var(--hand); }
.button-link { display: inline-flex; align-items: center; gap: 16px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.button-link:hover { transform: translateY(-2px); background: #2b2b27; }

.hero-art { min-height: 330px; position: relative; }
.landscape { position: absolute; z-index: 2; width: min(86vw, 500px); aspect-ratio: 1.34; left: 50%; top: 16px; overflow: hidden; background: linear-gradient(#efc6aa 0 36%, #e9a765 37% 43%, #79a9b8 44% 68%, #3c6d6d 69%); border-radius: 44% 56% 39% 61% / 34% 42% 58% 66%; transform: translateX(-50%) rotate(-2deg); box-shadow: inset 0 0 70px rgba(255,255,255,.35); }
.landscape::after { content: ""; position: absolute; left: 0; right: 0; top: 59%; height: 3px; background: rgba(255,255,255,.65); box-shadow: 0 15px 0 rgba(255,255,255,.25), 0 29px 0 rgba(255,255,255,.16); transform: rotate(-2deg); }
.sun { position: absolute; width: 56px; height: 56px; top: 28%; left: 42%; border-radius: 50%; background: #ffd98e; box-shadow: 0 0 40px #ffe7b8; }
.far-hill { position: absolute; right: -5%; bottom: 30%; width: 58%; height: 40%; background: #685b51; clip-path: polygon(16% 100%, 44% 27%, 100% 0, 100% 100%); opacity: .75; }
.near-hill { position: absolute; right: -8%; bottom: 0; width: 74%; height: 55%; background: #283b34; clip-path: polygon(0 100%, 17% 46%, 35% 65%, 56% 19%, 100% 0, 100% 100%); }
.shore { position: absolute; left: -6%; bottom: -9%; width: 70%; height: 30%; background: #d1b07b; border-radius: 50% 60% 0 0; transform: rotate(9deg); }

.app-row { overflow: hidden; }
.app-row-good { background: var(--warm-soft); }
.app-row-kiosk { background: var(--blue-soft); }
.app-grid { display: grid; gap: 44px; padding-block: 62px 72px; }
.app-copy { align-self: center; }
.app-title-line { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 15px; align-items: center; margin-bottom: 22px; }
.app-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 13px; color: white; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.app-icon-good { background: linear-gradient(145deg, #f9d175, #eea747); font-size: 1.7rem; }
.app-icon-kiosk { background: linear-gradient(145deg, #60a9e7, #306cb7); }
.app-icon-kiosk span { font-size: .55rem; letter-spacing: 2px; }
.app-copy h3 { margin: 0 0 2px; font-size: clamp(1.8rem, 5vw, 2.45rem); line-height: 1; }
.app-tagline { margin: 0; font: .95rem/1.35 var(--hand); }
.app-description { max-width: 465px; margin-bottom: 20px; font-size: .98rem; line-height: 1.48; }
.app-description p { margin-bottom: 12px; }
.app-description p:last-child { margin-bottom: 0; }
.feature-list { list-style: none; padding: 0; margin: 0 0 22px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.feature-list li + li { margin-top: 8px; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); font-size: .7rem; font-weight: 900; }
.app-row-kiosk .feature-list li::before { background: #55a6de; }
.status-note { display: inline-block; margin: 0; padding: 8px 13px; border: 1px solid currentColor; border-radius: 999px; font-size: .72rem; font-weight: 700; }
a.status-note { text-decoration: none; transition: background 160ms ease, color 160ms ease; }
a.status-note:hover { background: var(--accent); color: var(--paper); }

.product-art { min-height: 350px; position: relative; }
.product-art-good { min-height: 370px; }
.phone-preview { position: absolute; margin: 0; padding: 14px 6px 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 26px; background: #171814; box-shadow: 0 18px 38px rgba(67,48,25,.24); transform-origin: center; }
.phone-preview::before { content: ""; position: absolute; top: 6px; left: 50%; width: 28px; height: 3px; border-radius: 999px; background: #5a5b56; transform: translateX(-50%); }
.phone-preview img { width: 100%; height: auto; border-radius: 14px; }
.phone-preview-primary { z-index: 2; left: 4%; top: 8px; width: clamp(145px, 46%, 180px); transform: rotate(-4deg); }
.phone-preview-secondary { z-index: 1; right: 3%; top: 30px; width: clamp(132px, 42%, 164px); transform: rotate(6deg); }

.about { padding-block: 84px; background: var(--paper); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; gap: 34px; }
.kicker { margin: 0 0 15px; font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.about h2 { margin: 0; font-size: clamp(2.35rem, 7vw, 4.45rem); line-height: .98; }
.about-copy { max-width: 520px; align-self: end; }
.about-copy p { margin-bottom: 12px; }
.about-copy p:first-child { font: 1.14rem/1.4 var(--hand); }
.about-copy p:not(:first-child) { color: var(--muted); }
.about-copy p:last-child { margin-bottom: 0; }

.contact { padding-block: 68px; background: #f8d982; }
.contact-inner { display: grid; gap: 28px; align-items: end; }
.contact h2 { max-width: 680px; margin: 0; font-size: clamp(2.25rem, 7vw, 4.2rem); line-height: 1; }
.contact .button-link { max-width: 100%; overflow-wrap: anywhere; }
.contact-copy { max-width: 540px; }
.contact-copy p { margin-bottom: 10px; }
.contact-copy p:nth-child(2) { margin-bottom: 20px; }
.site-footer { padding-block: 30px; background: var(--paper); }
.footer-inner { display: grid; gap: 24px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.footer-note { margin: 0; font-size: .68rem; line-height: 1.5; color: var(--muted); }
.footer-note span { margin-right: 5px; color: var(--ink); }

@media (min-width: 700px) {
  :root { --shell: min(1120px, calc(100% - 72px)); }
  .header-inner { min-height: 82px; }
  .menu-button { display: none; }
  .site-nav { display: flex; align-items: center; gap: 34px; }
  h1 { font-size: clamp(4.3rem, 10.5vw, 6.5rem); }
  .hero-art { min-height: 430px; }
  .app-grid { grid-template-columns: minmax(280px, .78fr) minmax(400px, 1.22fr); align-items: center; min-height: 500px; padding-block: 62px; }
  .app-grid.app-grid-kiosk-simple { grid-template-columns: minmax(0, 560px); }
  .product-art { min-height: 400px; }
  .product-art-good { min-height: 450px; }
  .phone-preview-primary { left: 12%; width: 190px; }
  .phone-preview-secondary { right: 8%; top: 32px; width: 172px; }
  .about-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 70px; }
  .contact-inner { grid-template-columns: 1fr auto; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr auto 1fr; }
  .footer-note { justify-self: end; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); align-items: center; min-height: 560px; padding-block: 45px 76px; }
  h1 { font-size: 4.3rem; }
  .landscape { width: min(45vw, 510px); top: 30px; }
}

@media (min-width: 1050px) {
  .hero-grid { grid-template-columns: .92fr 1.08fr; }
  .hero h1 { font-size: 5.15rem; white-space: nowrap; }
  .hero-intro { max-width: 440px; }
  .app-grid { grid-template-columns: .8fr 1.2fr; }
  .phone-preview-primary { left: 20%; }
  .phone-preview-secondary { right: 12%; }
}

@media (max-width: 430px) {
  :root { --shell: min(100% - 28px, 1120px); }
  .hero-grid { padding-top: 38px; }
  .hero-art { min-height: 300px; }
  .product-art { min-height: 320px; }
  .product-art-good { min-height: 370px; }
  .phone-preview-primary { left: 0; width: clamp(140px, 48%, 158px); }
  .phone-preview-secondary { right: 2%; width: clamp(128px, 44%, 146px); }
  .contact .button-link { font-size: .74rem; }
}

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

@media print {
  .menu-button, .hero-art, .product-art { display: none; }
  .site-nav { display: flex; }
  .hero-grid, .app-grid, .about-grid, .contact-inner, .footer-inner { display: block; }
  body, .app-row, .contact { background: white; color: black; }
  .hero-grid, .app-grid, .about, .contact { padding-block: 34px; }
}

/* Warm brand palette */
:focus-visible {
  outline-color: var(--accent);
}

.button-link {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--paper);
}

.button-link:hover {
  background: var(--ink);
}

h1 span::after {
  background: var(--peach);
  opacity: 0.88;
}

.landscape {
  background: linear-gradient(
    color-mix(in srgb, var(--peach) 72%, var(--paper)) 0 36%,
    var(--peach) 37% 43%,
    color-mix(in srgb, var(--sage) 78%, var(--paper)) 44% 68%,
    color-mix(in srgb, var(--accent) 82%, var(--sage)) 69%
  );
  box-shadow: inset 0 0 70px rgba(246, 243, 236, 0.42);
}

.landscape::after {
  background: rgba(246, 243, 236, 0.68);
  box-shadow: 0 15px 0 rgba(246, 243, 236, 0.28), 0 29px 0 rgba(246, 243, 236, 0.18);
}

.sun {
  background: color-mix(in srgb, var(--peach) 70%, var(--paper));
  box-shadow: 0 0 40px color-mix(in srgb, var(--peach) 42%, transparent);
}

.far-hill {
  background: color-mix(in srgb, var(--muted) 78%, var(--peach));
  opacity: 0.72;
}

.near-hill {
  background: var(--accent);
}

.shore {
  background: color-mix(in srgb, var(--peach) 68%, var(--sage));
}

.app-icon {
  box-shadow: inset 0 1px 0 rgba(246, 243, 236, 0.42);
}

.app-icon-good {
  background: var(--peach);
  color: var(--accent);
}

.app-icon-kiosk {
  background: var(--accent);
  color: var(--paper);
}

.feature-list li::before {
  background: var(--peach);
  color: var(--ink);
}

.app-row-kiosk .feature-list li::before {
  background: var(--accent);
  color: var(--paper);
}

.phone-preview {
  border-color: rgba(246, 243, 236, 0.18);
  background: var(--accent);
  box-shadow: 0 18px 38px rgba(35, 62, 53, 0.2);
}

.phone-preview::before {
  background: var(--sage);
}

.contact {
  background: var(--accent);
  color: var(--paper);
}

.contact .button-link {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--accent);
}

.contact .button-link:hover {
  background: var(--peach);
}

.contact :focus-visible {
  outline-color: var(--peach);
}

/* One Good Thing product page */
.product-page .site-header { border-bottom: 1px solid var(--border); }
.product-hero { overflow: hidden; padding-block: 54px 72px; background: var(--paper); }
.product-hero-grid { display: grid; gap: 48px; align-items: center; }
.product-kicker { margin-bottom: 16px; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-hero h1 { margin-bottom: 18px; font-size: clamp(3.25rem, 14vw, 6.3rem); line-height: .96; }
.product-tagline { margin-bottom: 26px; font: clamp(1.15rem, 3.5vw, 1.5rem)/1.35 var(--hand); color: var(--accent); }
.product-intro { max-width: 590px; font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.65; }
.product-intro p { margin-bottom: 14px; }
.product-intro p:last-child { margin-bottom: 0; }
.hero-phone-wrap { min-height: 510px; position: relative; display: grid; place-items: center; }
.hero-phone-wrap::before { content: ""; position: absolute; width: min(76vw, 410px); aspect-ratio: 1; border-radius: 45% 55% 58% 42%; background: var(--warm-soft); transform: rotate(-7deg); }
.hero-phone { position: relative; width: min(58vw, 260px); margin: 0; padding: 18px 7px 9px; border-radius: 35px; background: var(--accent); box-shadow: 0 28px 55px rgba(35, 62, 53, .22); transform: rotate(2deg); }
.hero-phone::before { content: ""; position: absolute; top: 8px; left: 50%; width: 34px; height: 3px; border-radius: 99px; background: var(--sage); transform: translateX(-50%); }
.hero-phone img { border-radius: 22px; }

.purpose-section { padding-block: 60px; border-top: 1px solid var(--border); background: var(--paper); }
.purpose-copy { max-width: 820px; }
.purpose-section h2 { max-width: 720px; margin-bottom: 24px; font-size: clamp(2.15rem, 5.5vw, 3.45rem); line-height: 1; }
.purpose-section p { max-width: 740px; margin-bottom: 14px; color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.purpose-section p:last-child { margin-bottom: 0; }

.product-section { padding-block: 76px; }
.product-section-heading { max-width: 680px; margin-bottom: 40px; }
.section-label { margin-bottom: 12px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-section h2 { margin-bottom: 14px; font-size: clamp(2.25rem, 7vw, 4.15rem); line-height: .98; }
.section-intro { max-width: 580px; margin-bottom: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.6; }
.features-section { background: var(--warm-soft); }
.feature-points { display: grid; gap: 0 44px; max-width: 980px; margin: 0; padding: 0; list-style: none; }
.feature-points li { min-width: 0; padding: 22px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.feature-points h3 { margin-bottom: 7px; font-size: 1.25rem; line-height: 1.1; letter-spacing: -.03em; }
.feature-points p { max-width: 430px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.gallery-section { background: var(--paper); }
.screenshot-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
.screenshot-card { min-width: 0; margin: 0; }
.screenshot-frame { padding: 8px; border-radius: 22px; background: var(--accent); box-shadow: 0 18px 35px rgba(35, 62, 53, .14); }
.screenshot-frame img { width: 100%; border-radius: 15px; }
.screenshot-card figcaption { margin-top: 12px; font: .9rem/1.35 var(--hand); text-align: center; color: var(--muted); }

.privacy-section { padding-block: 70px; background: var(--blue-soft); }
.privacy-grid { display: grid; gap: 28px; align-items: start; }
.privacy-section h2 { margin-bottom: 0; font-size: clamp(2.25rem, 7vw, 4rem); line-height: .98; }
.privacy-copy { max-width: 570px; }
.privacy-copy p { margin-bottom: 14px; font-size: 1.02rem; line-height: 1.65; }
.privacy-copy p:last-child { margin-bottom: 0; }

.availability { padding-block: 72px; background: var(--accent); color: var(--paper); text-align: center; }
.availability .section-label { color: var(--sage); }
.availability h2 { margin-bottom: 14px; font-size: clamp(2.55rem, 8vw, 4.8rem); line-height: .95; }
.availability p:last-child { max-width: 520px; margin: 0 auto; color: color-mix(in srgb, var(--paper) 76%, var(--sage)); }

@media (min-width: 560px) {
  .feature-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screenshot-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

@media (min-width: 700px) {
  .product-hero { padding-block: 68px 88px; }
  .product-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 64px; }
  .product-hero h1 { font-size: clamp(4rem, 8.4vw, 6.3rem); }
  .hero-phone-wrap { min-height: 580px; }
  .hero-phone { width: min(28vw, 270px); }
  .purpose-section { padding-block: 72px; }
  .product-section { padding-block: 100px; }
  .privacy-section { padding-block: 90px; }
  .privacy-grid { grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 80px; }
  .availability { padding-block: 92px; }
}

@media (max-width: 430px) {
  .product-hero { padding-top: 42px; }
  .hero-phone-wrap { min-height: 460px; }
  .product-section { padding-block: 64px; }
}

@media print {
  body,
  .app-row,
  .contact {
    background: white;
    color: black;
  }
}
