:root {
  color-scheme: light;
  --ink: #173d34;
  --ink-soft: #31564b;
  --paper: #f5f1e7;
  --paper-light: #fbf9f3;
  --white: #fffefa;
  --muted: #64786c;
  --line: #dce2d8;
  --terracotta: #b75c3c;
  --sage: #dce7dc;
  --gold: #ead9a7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper-light);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #e6a56f; outline-offset: 4px; border-radius: 3px; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}
.skip-link:focus { transform: translateY(0); }

/* Landing page */
.landing-page { background: var(--paper-light); }
.site-header,
.site-footer {
  width: min(1120px, calc(100% - 56px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 86px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 11px; object-fit: cover; box-shadow: 0 2px 9px rgba(9, 36, 28, .12); }
.site-header nav,
.site-footer nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.site-header nav a,
.site-footer nav a { color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover,
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 590px;
  padding: clamp(64px, 9vw, 112px) max(28px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: center;
  gap: 48px;
  color: #fbf8ef;
  background: var(--ink);
}
.hero::before,
.hero::after { position: absolute; z-index: -1; content: ""; border: 1px solid rgba(242, 232, 204, .16); border-radius: 50%; }
.hero::before { width: 650px; height: 650px; right: -200px; top: -300px; }
.hero::after { width: 480px; height: 480px; right: -110px; top: -210px; }
.hero-copy { max-width: 610px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #dedac9;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: #d9946b; }
.eyebrow-dark { color: #8d5338; }
.hero h1,
.section-heading h2,
.categories h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.hero h1 { max-width: 690px; font-size: clamp(54px, 7.7vw, 88px); line-height: .98; }
.hero-lede { max-width: 550px; margin: 28px 0 0; color: #e4e5d9; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.release-status { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; color: #f6edda; font-size: 13px; font-weight: 650; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #e0ad6a; }
.text-link { color: #f4d8bd; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.price-note { margin: 24px 0 0; color: #d7dfd6; font-size: 14px; }
.price-note strong { color: #fff8e8; }

.hero-art { position: relative; min-height: 390px; display: grid; place-items: center; }
.sun-disc { position: absolute; width: min(360px, 84%); aspect-ratio: 1; border-radius: 50%; background: #d4a06e; opacity: .96; }
.work-card {
  position: relative;
  width: min(330px, 76%);
  min-height: 330px;
  padding: 28px;
  transform: rotate(3deg);
  border: 1px solid rgba(23, 61, 52, .12);
  border-radius: 17px;
  color: var(--ink);
  background: #fbf7ed;
  box-shadow: 0 24px 42px rgba(6, 28, 22, .27);
}
.card-topline { display: flex; align-items: center; gap: 8px; color: #8b6246; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.card-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
.card-rule { height: 1px; margin: 20px 0 29px; background: #dedbcf; }
.card-label { color: #7b8377; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.work-card > p { margin: 10px 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.12; }
.card-meta { display: flex; align-items: center; gap: 8px; color: #64766b; font-size: 13px; }
.card-bookmark { position: absolute; right: 24px; bottom: 23px; width: 30px; height: 30px; color: var(--terracotta); }
.card-bookmark svg { width: 100%; height: 100%; }
.art-caption { position: absolute; right: 2%; bottom: -10px; color: #f4dfc7; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-style: italic; line-height: 1.45; transform: rotate(-5deg); }

.intro-section,
.feature-grid,
.categories,
.screenshots,
.privacy-band,
.closing { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.intro-section { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; padding-block: 110px 78px; }
.section-heading h2,
.categories h2,
.closing h2 { font-size: clamp(38px, 5vw, 57px); line-height: 1.05; }
.intro-text { max-width: 510px; margin: 0; color: #55695d; font-size: 17px; line-height: 1.8; }

.feature-grid { display: grid; grid-template-columns: 1.22fr 1fr 1fr; gap: 16px; }
.feature-card { min-height: 270px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.feature-card-large { background: #f1ebe0; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; font-size: 25px; font-weight: 600; }
.icon-terracotta { color: #8b432e; background: #f0d5c5; }
.icon-sage { color: #385948; background: #dce7dc; }
.icon-gold { color: #755a20; background: #f3e8c8; }
.feature-kicker { margin: 22px 0 8px; color: #8a5439; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.feature-card h3 { max-width: 370px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.feature-card > p:last-child { margin: 13px 0 0; color: #607268; font-size: 14px; line-height: 1.7; }

.categories { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; padding-block: 108px; }
.category-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.category-list li { padding: 12px 18px; border: 1px solid #d3dcd1; border-radius: 99px; color: var(--ink-soft); background: #eef1e9; font-size: 15px; font-weight: 650; }

.screenshots { padding-block: 64px 110px; }
.section-heading-centered { text-align: center; }
.section-heading-centered .eyebrow { justify-content: center; }
.screenshot-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin: 46px auto 0; }
.screenshot-figure { margin: 0; }
.app-screenshot { display: block; width: auto; max-width: 100%; max-height: 680px; height: auto; margin-inline: auto; border: 1px solid #e0e2d9; border-radius: 18px; background: var(--paper); box-shadow: 0 18px 40px rgba(23, 61, 52, .12); }
.screenshot-figure figcaption { max-width: 350px; margin: 16px auto 0; color: #62756a; font-size: 14px; line-height: 1.6; text-align: center; }

.faq { width: min(850px, calc(100% - 56px)); margin: 0 auto; padding-block: 20px 100px; }
.faq > .section-heading { margin-bottom: 28px; }
.faq > .section-heading h2 { font-size: clamp(36px, 4.8vw, 52px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 21px 44px 21px 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.3; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 18px; right: 8px; content: "+"; color: var(--terracotta); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:focus-visible { outline: 3px solid #e6a56f; outline-offset: 2px; border-radius: 3px; }
.faq-list details p { max-width: 740px; margin: -3px 36px 22px 0; color: #586d61; font-size: 15px; line-height: 1.75; }

.privacy-band { display: grid; grid-template-columns: 74px 1fr; gap: 25px; align-items: start; padding: clamp(28px, 6vw, 58px); border-radius: 22px; color: #f8f4e9; background: var(--ink); }
.privacy-mark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: #f1c99e; background: rgba(255,255,255,.1); }
.privacy-mark svg { width: 42px; height: 42px; }
.privacy-copy { max-width: 790px; }
.privacy-copy .eyebrow { margin-bottom: 12px; color: #e3c7a7; }
.privacy-copy h2 { margin: 0 0 17px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 4vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1.07; }
.privacy-copy p:not(.eyebrow) { margin: 0 0 14px; color: #e1e6dd; font-size: 15px; line-height: 1.75; }
.light-link { display: inline-block; margin-top: 7px; color: #f5d3b1; font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; }

.closing { padding-block: 100px 96px; text-align: center; }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(38px, 5vw, 55px); }
.closing > p:not(.eyebrow) { max-width: 540px; margin: 18px auto 0; color: #607268; font-size: 16px; line-height: 1.7; }
.closing-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.closing-meta span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); background: #f2f2eb; font-size: 13px; }
.closing-meta strong { color: var(--ink); }

.site-footer { min-height: 108px; border-top: 1px solid var(--line); }
.brand-footer { font-size: 17px; }
.brand-footer .brand-mark { width: 34px; height: 34px; }
.site-footer p { color: #748277; font-size: 12px; }

/* Privacy and support documents */
body:not(.landing-page) { min-height: 100vh; padding: 48px 20px; color: #203932; background: #f5f1e7; }
body:not(.landing-page) main { max-width: 760px; margin: auto; padding: clamp(24px, 6vw, 58px); border: 1px solid #dce2d8; border-radius: 22px; background: #fffefa; }
body:not(.landing-page) h1 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 6vw, 48px); line-height: 1.05; }
body:not(.landing-page) h2 { margin: 32px 0 10px; font-size: 20px; }
body:not(.landing-page) p,
body:not(.landing-page) li { font-size: 16px; line-height: 1.75; }
body:not(.landing-page) a { color: #8f432a; }

@media (max-width: 780px) {
  .site-header, .site-footer, .intro-section, .feature-grid, .categories, .screenshots, .privacy-band, .closing { width: min(100% - 36px, 600px); }
  .site-header { min-height: 74px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: 12px; }
  .hero { min-height: auto; padding: 72px 24px 76px; grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: clamp(54px, 13vw, 78px); }
  .hero-art { min-height: 345px; }
  .work-card { width: min(310px, 76%); min-height: 305px; }
  .intro-section { grid-template-columns: 1fr; gap: 22px; padding-block: 78px 48px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large { grid-column: 1 / -1; }
  .categories { grid-template-columns: 1fr; gap: 28px; padding-block: 76px; }
  .screenshots { padding-block: 46px 78px; }
  .screenshot-row { gap: 15px; }
  .privacy-band { grid-template-columns: 1fr; gap: 18px; }
  .faq { width: min(100% - 36px, 600px); padding-bottom: 76px; }
  .closing { padding-block: 78px; }
  .site-footer { min-height: 124px; flex-wrap: wrap; gap: 8px 18px; padding-block: 22px; }
}

@media (max-width: 520px) {
  .site-header, .site-footer, .intro-section, .feature-grid, .categories, .screenshots, .privacy-band, .closing { width: calc(100% - 32px); }
  .site-header { flex-wrap: wrap; gap: 10px; padding-block: 13px; }
  .site-header nav { width: 100%; justify-content: space-between; padding-left: 45px; }
  .hero { padding-inline: 20px; }
  .desktop-break { display: none; }
  .hero-art { min-height: 315px; }
  .sun-disc { width: min(285px, 85%); }
  .work-card { width: min(280px, 78%); min-height: 280px; padding: 23px; }
  .work-card > p { font-size: 27px; }
  .art-caption { right: 0; bottom: -7px; font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: auto; }
  .feature-card { min-height: auto; padding: 25px; }
  .screenshot-row { grid-template-columns: 1fr; max-width: 340px; }
  .privacy-band { padding: 26px; }
  .site-footer { justify-content: center; text-align: center; }
  .site-footer p { width: 100%; order: 3; }
  .site-footer nav { justify-content: center; }
}

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