:root {
  color-scheme: dark;
  --room: #0f0d0b; --panel: #17130f; --panel-2: #1d1712; --line: #2e2720; --line-2: #3d342b;
  --ink: #efe6d8; --ink-2: #c9bba6; --ink-3: #8f8270;
  --amber: #e0a33a; --amber-2: #f0bd5e; --amber-ink: #20170a; --leaf: #8fbf6a;
  --f-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--room); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap-w { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---- top bar ---- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 22px/1 var(--f-cond); letter-spacing: .01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.nav nav a { color: var(--ink-2); text-decoration: none; font: 500 15px/1 var(--f-body); padding: 8px 0; }
.nav nav a:hover, .nav nav a[aria-current="page"] { color: var(--ink); }
.nav nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); }

/* ---- type ---- */
h1 { font: 600 44px/1.05 var(--f-cond); margin: 0 0 12px; text-wrap: balance; letter-spacing: .005em; }
h2 { font: 600 30px/1.12 var(--f-cond); margin: 40px 0 10px; text-wrap: balance; }
h3 { font: 600 21px/1.2 var(--f-cond); margin: 24px 0 6px; }
p, li { color: var(--ink-2); }
.lede { font-size: 19px; color: var(--ink); }
.kick { font: 500 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 16px; }
.fine { font-size: 14px; color: var(--ink-3); }
ul { padding-left: 1.2em; }
li { margin: 5px 0; }
b, strong { color: var(--ink); font-weight: 600; }
code { font: 500 0.84em/1 var(--f-mono); color: var(--ink); overflow-wrap: anywhere; }
kbd { font: 500 13px/1 var(--f-mono); background: #231d17; border: 1px solid var(--line); border-radius: 3px; padding: 2px 5px; color: var(--ink); }
.note { border-left: 3px solid var(--amber); background: var(--panel); padding: 12px 16px; border-radius: 0 6px 6px 0; margin: 18px 0; }
.note p { margin: 0; }

/* ---- the App Store button ---- */
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 10px 22px; border-radius: 12px; background: var(--amber); color: var(--amber-ink); text-decoration: none; line-height: 1.1; }
.store .st-k { font: 500 12px/1.2 var(--f-body); opacity: .82; }
.store .st-t { font: 600 21px/1.1 var(--f-cond); letter-spacing: .01em; }
.store:hover { background: var(--amber-2); }
.store:not([href]) { background: transparent; color: var(--ink); border: 1px solid var(--line-2); cursor: default; }
.store:not([href]) .st-k { color: var(--amber); opacity: 1; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.get .fine { margin: 0; max-width: 300px; line-height: 1.45; }

/* ---- phones ---- */
.phone { margin: 0; border-radius: 34px; padding: 7px; background: #0a0806; border: 1px solid #3a3027; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(224,163,58,.12); }
.phone img { width: 100%; aspect-ratio: 400 / 793; object-fit: cover; border-radius: 28px; background: #1d1712; }
.tablet { margin: 0; border-radius: 26px; padding: 9px; background: #0a0806; border: 1px solid #3a3027; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(224,163,58,.12); }
.tablet img { width: 100%; aspect-ratio: 1316 / 877; object-fit: cover; border-radius: 18px; background: #1d1712; }

/* ---- the home page ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 30px; padding-bottom: 50px; }
.hero h1 { font-size: 60px; line-height: 1; margin-bottom: 18px; }
.hero .lede { font-size: 20px; max-width: 540px; }
.hero-p { position: relative; height: 610px; }
.hero-p .phone { position: absolute; width: 272px; }
.hero-p .back { right: 0; top: 0; transform: rotate(4deg); opacity: .96; }
.hero-p .front { right: 176px; top: 56px; transform: rotate(-3deg); }
.feat { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 44px; padding-bottom: 44px; border-top: 1px solid var(--line); }
.feat:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 300px; }
.feat:nth-of-type(even) .phone { order: 2; }
.feat h2 { margin-top: 0; font-size: 36px; }
.feat .t { max-width: 560px; }
.feat ul { margin: 12px 0 0; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 50px 0; margin: 20px 0; }
.band h2 { margin-top: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; font-size: 15.5px; }
.species { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.species li { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.species b { display: block; font: 600 19px/1.2 var(--f-cond); }
.species i { color: var(--ink-3); font-size: 14.5px; }
.species span { display: block; font-size: 15px; margin-top: 4px; }
.ipad { padding-top: 50px; padding-bottom: 20px; text-align: center; }
.ipad .tablet { max-width: 980px; margin: 26px auto 0; }
.ipad p { max-width: 640px; margin-left: auto; margin-right: auto; }
.promise { text-align: center; padding-top: 50px; padding-bottom: 20px; }
.promise h2 { font-size: 40px; margin-top: 0; }
.promise .get { justify-content: center; }
.promise .get .fine { text-align: left; }

/* ---- footer ---- */
.foot { margin-top: 60px; padding-top: 22px; padding-bottom: 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font: 500 12.5px/1.6 var(--f-mono); color: var(--ink-3); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .credits { flex-basis: 100%; }

/* ---- reading pages ---- */
.doc { padding-top: 8px; }
.doc h1 { margin-top: 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); text-decoration: none; font: 500 14px/1.2 var(--f-body); }
.toc a:hover { color: var(--ink); border-color: var(--amber); }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin: 10px 0; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font: 600 19px/1.25 var(--f-cond); color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 12px; font: 500 22px/1 var(--f-body); color: var(--amber); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 16px 6px; }
.faq details > div p:first-child { margin-top: 0; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.contact .card a.big { display: inline-block; margin-top: 8px; font: 600 18px/1.3 var(--f-body); overflow-wrap: anywhere; }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero h1 { font-size: 50px; }
  .hero-p { height: 560px; max-width: 480px; width: 100%; margin: 0 auto; }
  .hero-p .back { right: 4%; }
  .hero-p .front { right: auto; left: 4%; }
  .feat, .feat:nth-of-type(even) { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .feat:nth-of-type(even) .phone { order: 0; }
  .grid3, .species { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 38px; }
  .hero h1 { font-size: 42px; }
  .hero .lede { font-size: 18px; }
  .hero-p { height: 470px; }
  .hero-p .phone { width: 212px; }
  .feat, .feat:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 34px; padding-bottom: 34px; }
  .feat .phone { width: min(260px, 72vw); margin: 0 auto; }
  .feat h2 { font-size: 31px; }
  .grid3, .species, .contact { grid-template-columns: minmax(0, 1fr); }
  .promise h2 { font-size: 34px; }
  .nav { padding-top: 16px; padding-bottom: 12px; }
  .nav nav { gap: 2px 14px; }
}
@media (max-width: 380px) {
  .brand { font-size: 19px; }
  .hero-p { height: 420px; }
  .hero-p .phone { width: 188px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.skip-link{position:fixed;top:-100px;left:16px;z-index:100;background:var(--amber);color:var(--amber-ink);padding:12px}.skip-link:focus{top:12px}
summary:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.nav{flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:24px}.nav nav{justify-content:flex-start}
@media(max-width:640px){.nav nav{width:100%}.contact{grid-template-columns:1fr}}
