/* Empty Basket / Empty Studios — site styles.
   Look matches the App Store screenshots: app blue, icon orange, white
   Inter caps headlines. Fonts are self-hosted so the site makes no
   third-party requests (the privacy policy promises no tracking). */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue: #3A87FE;       /* app accent (ColorPreferences default) */
  --blue-deep: #2563D9;
  --orange: #E85D1F;     /* app icon / launch background */
  --cream: #FBF1DE;      /* app icon basket */
  --ink: #16191F;
  --ink-soft: #4A5160;
  --paper: #FFFFFF;
  --paper-2: #F4F6FA;
  --rule: #E3E7EE;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #EEF1F6;
    --ink-soft: #A9B1C0;
    --paper: #0F1217;
    --paper-2: #161B23;
    --rule: #262D38;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.6 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Headlines — the screenshot voice: heavy, tight, all caps. */
.caps {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
  line-height: 1.0; margin: 0;
}
h1.caps { font-size: clamp(44px, 8vw, 88px); }
h2.caps { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 10px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 14px;
}
.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; font-size: 15px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: clamp(14px, 3vw, 28px); font-size: 15px; font-weight: 600; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* ---- Hero ---- */
.hero { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding-top: clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: color-mix(in srgb, #fff 78%, var(--blue)); }
.hero .lede { color: color-mix(in srgb, #fff 92%, var(--blue)); max-width: 34ch; margin: 22px 0 30px; }
.hero-phone { align-self: end; justify-self: center; width: min(360px, 100%);
  margin-bottom: -18%; filter: drop-shadow(0 30px 60px rgba(0, 20, 60, 0.35)); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-phone { width: min(300px, 78%); margin-bottom: -30%; }
}

/* App Store call to action. Swap the span for Apple's official badge
   (Apple Marketing Tools) + the App Store link once the app is live. */
.store-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-radius: 14px; background: #000; color: #fff; font-weight: 600; font-size: 16px;
  text-decoration: none; }
.store-cta .apple { font-size: 22px; line-height: 1; }
.store-cta small { display: block; font-size: 12px; font-weight: 400; opacity: 0.75; }

/* ---- Sections ---- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--paper-2); }
.hero + section { padding-top: clamp(120px, 16vw, 180px); }
/* Text-only sections keep the page's left edge; only the line length is capped. */
.narrow > * { max-width: 760px; }
.narrow p { margin: 18px 0 0; }

.stat { background: var(--ink); color: #fff; text-align: center; padding: clamp(56px, 8vw, 88px) 0; }
@media (prefers-color-scheme: dark) { .stat { background: #000; } }
.stat .caps { font-size: clamp(34px, 6vw, 72px); }
.stat .caps span { color: var(--blue); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--blue); padding-top: 18px; }
.steps li::before { content: "0" counter(step); display: block; font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: 0.08em; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows: copy beside a phone, alternating sides. */
.feature { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 120px); }
.feature.flip > :first-child { order: 2; }
.feature .phone { justify-self: center; width: min(320px, 100%);
  filter: drop-shadow(0 24px 48px rgba(0, 20, 60, 0.18)); }
.feature p { color: var(--ink-soft); margin: 18px 0 0; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip > :first-child { order: 0; }
  .feature .phone { width: min(280px, 80%); }
}

.band-orange { background: var(--orange); color: #fff; }
.band-orange .eyebrow { color: color-mix(in srgb, #fff 80%, var(--orange)); }
.band-orange p { color: color-mix(in srgb, #fff 92%, var(--orange)); }
.band-orange .phone { filter: drop-shadow(0 24px 48px rgba(60, 20, 0, 0.35)); }

.small-things { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
@media (max-width: 820px) { .small-things { grid-template-columns: 1fr; } }

.price { font-size: clamp(56px, 10vw, 112px); }

/* ---- FAQ ---- */
.faq { margin-top: 40px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink-soft); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; }

/* ---- Long-form pages (privacy, support, terms) ---- */
.page-head { background: var(--blue); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); }
.page-head .eyebrow { color: color-mix(in srgb, #fff 78%, var(--blue)); }
.prose { max-width: 760px; padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 10vw, 112px); }
.prose h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 48px 0 12px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose .meta { font-size: 15px; }
/* ---- Help (user manual) ---- */
.page-head .crumb { color: inherit; text-decoration: none; }
.page-head .crumb:hover { text-decoration: underline; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; padding: 0 0 clamp(72px, 10vw, 112px); margin-top: -24px; }
.help-card { display: block; border: 1px solid var(--rule); border-radius: 18px; padding: 22px 24px; background: var(--paper-2); color: var(--ink); text-decoration: none; }
.help-card:hover { border-color: var(--blue); color: var(--ink); }
.help-card h2 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.help-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.prose ol { padding-left: 1.4em; }
.prose .tip { border-left: 3px solid var(--blue); padding: 4px 0 4px 16px; }
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 28px 0 32px; }
.shots figure { margin: 0; flex: 1 1 0; min-width: 200px; max-width: 300px; }
.shots img { display: block; width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(22, 25, 31, 0.10); }
.shots figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.help-pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--rule); margin-top: 56px; padding-top: 24px; }
.help-pager a { text-decoration: none; font-weight: 600; }
.help-pager a.next { margin-left: auto; text-align: right; }
.help-pager small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card { border: 1px solid var(--rule); border-radius: 18px; padding: 24px 28px; background: var(--paper-2); margin-top: 8px; }
.contact-card a { font-weight: 600; font-size: 20px; }

/* ---- Footer ---- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 56px 0 40px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .tagline { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; color: var(--ink); font-size: 20px; margin: 0 0 8px; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 20px; margin-top: 8px; font-size: 13px; }
@media (max-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > :first-child { grid-column: 1 / -1; } }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Empty Studios (root) ---- */
.brand-studio { font-size: 16px; letter-spacing: 0.04em; }
.studio-hero { background: var(--ink); color: #fff; padding: clamp(80px, 14vw, 160px) 0; }
@media (prefers-color-scheme: dark) { .studio-hero { background: #000; } }
.studio-hero h1.caps { font-size: clamp(64px, 14vw, 168px); line-height: 0.9; }
.studio-hero .lede { color: #C9D0DC; max-width: 36ch; margin: 28px 0 0; }
.product-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--blue); color: #fff; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0, 40, 120, 0.5); }
.product-card img { width: clamp(88px, 14vw, 140px); height: auto; border-radius: 22%; }
.product-card p { margin: 12px 0 16px; color: color-mix(in srgb, #fff 90%, var(--blue)); max-width: 52ch; }
.product-link { font-weight: 600; }
@media (max-width: 600px) { .product-card { grid-template-columns: 1fr; } }
.site-footer-studio { padding: 28px 0; }
.site-footer-studio .wrap { display: block; }
.site-footer-studio .legal { border: 0; padding: 0; margin: 0; }

/* App pages: Empty Basket lockup — icon spanning the name and a small
   "by Empty Studios" byline that links to the studio home. Laid out as a grid
   so the byline sits under the name, beside the icon. */
.lockup { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto;
  column-gap: 10px; align-items: center; }
.lockup-app { display: contents; color: var(--ink); text-decoration: none; }
.lockup-app img { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 8px; }
.lockup-app b { font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 16px; line-height: 1.1; align-self: end; white-space: nowrap; }
.lockup-by { grid-column: 2; font-size: 12px; font-weight: 500; line-height: 1.3;
  color: var(--ink-soft); text-decoration: none; align-self: start; white-space: nowrap; }
.lockup-by:hover { color: var(--blue); }
@media (max-width: 640px) { .nav .nav-overview { display: none; } }

/* Header items never squash or wrap; very small phones (320–360) tighten spacing. */
.brand, .nav a { white-space: nowrap; flex-shrink: 0; }
.lockup img { flex-shrink: 0; }
@media (max-width: 360px) {
  .site-header .wrap { gap: 10px; }
  .nav { gap: 10px; font-size: 14px; }
  .brand-studio { font-size: 13px; letter-spacing: 0.02em; }
}
@media (max-width: 360px) {
  .lockup { grid-template-columns: 30px auto; column-gap: 8px; }
  .lockup-app img { width: 30px; height: 30px; }
  .lockup-app b { font-size: 14px; }
  .lockup-by { font-size: 11px; }
}
