/* Shared styles for Nowmerce's standalone pages: contact, privacy, terms, returns.
   Colours and type match the storefront (index.html). */

/* Selling is paused until launch (2026-11-01); delete this rule to show the seller options again */
.sell-only { display: none !important; }
/* In the Nowmerce phone app (html.in-app, set from the user agent in each page's head) */
html:not(.in-app) .app-only, html.in-app .no-app { display: none !important; }
:root {
  /* Status bar / notch height when the page runs edge-to-edge (0 in browsers); Android app injects the var */
  --sat: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  --blue: #0e6cfd; --blue-600: #0a5ee0; --blue-700: #084bb5;
  --navy: #0c245a; --coral: #fd4f42;
  --ink: #0f172a; --muted: #64748b; --line: #e5e9f0;
  --bg: #f5f7fb; --sky-50: #f3f7ff; --sky-100: #e4eeff; --green: #16a34a;
  --shadow-sm: 0 2px 8px rgba(12,36,90,.06);
  --shadow: 0 10px 30px rgba(12,36,90,.08);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.65 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
img { max-width: 100%; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top { background: var(--blue); color: #fff; padding-top: var(--sat); }
/* Solid strip behind the phone's status bar (0 tall in browsers), so its light icons stay readable when scrolled */
body::before { content: ''; position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--sat); background: var(--blue); pointer-events: none; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.top .logo { height: 30px; width: auto; display: block; }
.top a.back { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); transition: background .2s; }
.top a.back:hover { background: rgba(255,255,255,.24); }

/* Title band */
.band { background: linear-gradient(180deg, var(--blue-700), var(--navy)); color: #fff; padding: 34px 0 84px; }
.band .crumbs { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 10px; }
.band .crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.band .crumbs a:hover { color: #fff; }
.band h1 { margin: 0; font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.band p { margin: 8px 0 0; color: rgba(255,255,255,.8); max-width: 640px; }

/* Content card */
.sheet { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); margin: -56px auto 0; padding: 36px 40px; max-width: 820px; }
.sheet h2 { margin: 34px 0 8px; font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.sheet h2:first-child { margin-top: 0; }
.sheet h3 { margin: 22px 0 6px; font-size: 16.5px; font-weight: 700; color: var(--navy); }
.sheet p, .sheet li { color: #334155; }
.sheet ul { padding-left: 22px; }
.sheet li { margin: 6px 0; }
.sheet .updated { margin: 0 0 22px; font-size: 13.5px; color: var(--muted); }
.summary { background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: 16px; padding: 18px 20px; margin: 0 0 8px; }
.summary h2 { margin: 0 0 6px !important; font-size: 17px !important; }
.summary ul { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--navy); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.toc a:hover { border-color: var(--blue); color: var(--blue); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; margin: 14px 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0 6px; }
.cards div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.cards b { display: block; color: var(--navy); margin-bottom: 2px; }
.cards span { color: #475569; font-size: 14.5px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 34px; padding: 20px 22px; border-radius: 18px; background: var(--navy); color: #fff; }
.cta p { margin: 0; color: rgba(255,255,255,.85); }
.cta b { color: #fff; display: block; font-size: 17px; }

/* Buttons + forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, transform .1s; }
.btn:hover { background: var(--blue-600); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.coral { background: var(--coral); }
.btn.coral:hover { background: #e8443a; }
label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
input, select { height: 50px; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14,108,253,.15); }
input.bad, select.bad, textarea.bad { border-color: #f04438; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.foot { margin-top: 56px; background: var(--navy); color: rgba(255,255,255,.75); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot nav a { display: inline-block; padding: 10px 0; }
.foot a { color: #fff; text-decoration: none; font-weight: 600; }
.foot a:hover { text-decoration: underline; }
.foot a[aria-current="page"] { color: #8fb8ff; }

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .band { padding: 26px 0 74px; }
  .band h1 { font-size: 28px; }
  .sheet { padding: 24px 20px; border-radius: 20px; margin-left: 16px; margin-right: 16px; }
  .top .logo { height: 26px; }
}
