:root {
  color-scheme: light;
  --paper: #f9f6ed;
  --ink: #24251e;
  --muted: #625e53;
  --accent: #a44423;
  --line: #d9d3c4;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 2rem; }

.shell { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; }
.site-header { min-height: 84px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 760; letter-spacing: -.055em; font-size: 1.55rem; }
.brand img { border-radius: 27%; }
.site-header nav { display: flex; gap: clamp(.95rem, 3vw, 2.2rem); font-size: .87rem; font-weight: 650; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(20px, 4.2vw, 62px); align-items: center; padding-block: 74px 92px; }
.hero-copy { container-type: inline-size; }
.platform { margin-bottom: 1.2rem; color: var(--accent); font-size: .82rem; font-weight: 720; letter-spacing: .035em; }
.hero h1 { font-size: clamp(2rem, 14.6cqi, 4.9rem); line-height: 1.17; letter-spacing: -.08em; font-weight: 850; }
.hero h1 span { color: var(--accent); }
.intro { margin-block: 1.65rem 1.9rem; max-width: 25rem; color: var(--muted); line-height: 1.95; }
.action { display: inline-flex; align-items: center; gap: 1rem; min-height: 49px; padding: .7rem 1.2rem; border-radius: 7px; background: var(--ink); color: #fffaf0; text-decoration: none; font-size: .86rem; font-weight: 700; }
.action:hover { background: var(--accent); }
.store-links { display: flex; flex-wrap: wrap; gap: 18px 22px; padding: 0; list-style: none; }
.store-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.store-badge { display: inline-block; border-radius: 8px; }
.store-badge img { display: block; height: 48px; width: auto; }

.phone-stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.10; border: 1px solid #eccbab; border-radius: 24px; background: radial-gradient(ellipse at 14% 82%, #fff4d5, transparent 53%), linear-gradient(137deg, #f7e7c4 5%, #fbd2a5 58%, #ee986b); }
.phone-stage::before, .phone-stage::after { position: absolute; z-index: -1; content: ""; aspect-ratio: 1; border: 1px solid #fff6e5; border-radius: 50%; }
.phone-stage::before { width: 89%; left: -31%; top: -58%; }
.phone-stage::after { width: 82%; right: -47%; bottom: -57%; }
.phone { position: absolute; border: clamp(3px, .6vw, 7px) solid #25241f; border-radius: 13% / 6%; background: #fff; box-shadow: 0 24px 38px #63321e44, 0 2px 6px #63321e44; }
.phone-threads { width: 37%; left: 13%; top: 17%; transform: rotate(-8deg); }
.phone-reader { width: 43%; right: 14%; top: 7%; transform: rotate(7deg); }

.features { border-top: 1px solid var(--line); padding-block: 62px 73px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.9rem); line-height: 1.35; letter-spacing: -.045em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.feature { border-top: 1px solid #b67155; padding-top: 18px; }
.feature h3 { font-size: 1.14rem; }
.feature p, .ipad-copy > p:last-child { color: var(--muted); margin-top: .65rem; font-size: .94rem; line-height: 1.85; }

.ipad-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(30px, 5vw, 70px); padding: clamp(26px, 5vw, 65px); border-radius: 22px; background: #efe8d9; }
.ipad-copy h2 { font-size: clamp(1.7rem, 3.35vw, 2.75rem); }
.ipad-copy .platform { margin-bottom: .75rem; }
.ipad-screen { width: min(100%, 400px); justify-self: center; border: 6px solid #2a2923; border-radius: 15px; box-shadow: 0 15px 32px #382a2333; }
.site-footer { margin-top: 75px; min-height: 84px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.site-footer .brand { color: var(--ink); font-size: 1.17rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1rem; }
.site-footer { flex-wrap: wrap; row-gap: .4rem; padding-block: 18px; }
.site-footer .trademark { flex-basis: 100%; font-size: .68rem; line-height: 1.7; }
.support { max-width: 680px; padding-block: clamp(2.5rem, 7vw, 5rem) 1rem; }
.support h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
.support-intro { color: var(--muted); line-height: 1.8; margin-block: .8rem 1.6rem; }
.support form { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 16px; background: #fffaf0; }
.support label { display: block; margin-bottom: .4rem; font-weight: 700; }
.support label span { font-size: .8em; color: var(--muted); font-weight: 400; }
.support input, .support textarea {
  display: block;
  width: 100%;
  border: 1px solid #a9a294;
  border-radius: 7px;
  padding: .66rem .75rem;
  background: white;
  color: var(--ink);
  font: inherit;
}
.support textarea { resize: vertical; }
.support :is(input, textarea, button):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.support .form-hint { color: var(--muted); font-size: .86rem; line-height: 1.65; margin-block: .45rem 1.2rem; }
.support .action { font-family: inherit; border: 0; cursor: pointer; }
.support .action:disabled { opacity: .65; cursor: wait; }
#support-status:not(:empty) { margin-top: 1rem; line-height: 1.55; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .hero { padding-block: 55px 68px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 65px; }
  .brand img { width: 31px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 46px 56px; }
  .intro { margin-block: 1.25rem 1.45rem; }
  .phone-stage { border-radius: 16px; }
  .features { padding-block: 43px 53px; }
  .feature-grid, .ipad-section { grid-template-columns: 1fr; }
  .feature-grid { gap: 20px; }
  .feature { padding-top: 12px; }
  .ipad-section { border-radius: 16px; }
  .site-footer { margin-top: 52px; min-height: 70px; }
  .site-footer .brand img { width: 26px; }
}

.guide h2 { margin-block: 2.25rem .65rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.guide p, .guide li { line-height: 1.85; }
.guide p + p, .guide li + li { margin-top: .65rem; }
.guide ol, .guide ul, .guide-links { padding-inline-start: 1.5rem; }
.guide code { overflow-wrap: anywhere; }
.guide kbd { white-space: nowrap; font-weight: 650; }
.guide-download { margin-top: 2rem; }
.guide-links li { margin-block: 1rem; }
.guide-links a, .guide p > a { text-underline-offset: .22em; }
