/* orderrecorder.com: one stylesheet for all pages. Green is the recording colour, as in the app. */
:root {
  --bg: #fbfbf9; --panel: #ffffff; --line: #e3e5e1; --text: #171a17; --sub: #5b635d;
  --go: #23874c; --go-dark: #1b6b3c; --tint: #eaf5ee; --warn-bg: #fff6d9; --warn-line: #e6cf7a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216; --panel: #181b22; --line: #2c313c; --text: #eef0f3; --sub: #9aa2b1;
    --go: #3fb872; --go-dark: #2e9e5b; --tint: #16261d; --warn-bg: #2e2812; --warn-line: #6b5c1f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--go); }
a:hover { color: var(--go-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 740px; }

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: var(--panel); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text);
  text-decoration: none; }
.brand:hover { color: var(--text); }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--go);
  box-shadow: 0 0 0 4px var(--tint); }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.top nav a { color: var(--sub); text-decoration: none; font-size: 16px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* Home: opening section */
.hero { padding: 56px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em;
  text-wrap: balance; }
.hero p.lead { font-size: 20px; color: var(--sub); margin: 0 0 24px; max-width: 34em; }
.badge { display: inline-block; background: var(--tint); color: var(--go-dark); border: 1px solid var(--go);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
@media (prefers-color-scheme: dark) { .badge { color: var(--go); } }

/* A drawing of what a recorded video looks like: picture with the order number and clock stamped on it. */
.shot { background: #0c0e11; border-radius: 14px; box-shadow: 0 0 0 6px var(--go), 0 18px 40px rgba(0,0,0,.18);
  aspect-ratio: 16 / 10; position: relative; overflow: hidden; color: #fff; }
.shot .bench { position: absolute; inset: 0;
  background: linear-gradient(180deg, #2a3038 0%, #3a424d 55%, #8a6f4d 55%, #a5845b 100%); }
.shot .box { position: absolute; left: 30%; top: 38%; width: 40%; height: 40%; background: #c9a36f;
  border-radius: 4px; box-shadow: 0 10px 18px rgba(0,0,0,.35); }
.shot .box::before { content: ""; position: absolute; left: 46%; top: 0; width: 8%; height: 100%;
  background: rgba(255,255,255,.35); }
.shot .box::after { content: ""; position: absolute; right: 8%; bottom: 12%; width: 34%; height: 30%;
  background: #fff; border-radius: 2px; }
.shot .stamp { position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.7); border-radius: 6px;
  padding: 6px 12px; font-weight: 700; font-size: clamp(14px, 2.2vw, 20px); font-variant-numeric: tabular-nums; }
.shot .stamp.right { left: auto; right: 12px; font-weight: 600; }
.shot .rec { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.7); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 600; }
.shot .rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff5252; }
.shot-note { text-align: center; color: var(--sub); font-size: 14px; margin-top: 16px; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 28px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.intro { color: var(--sub); margin: 0 0 28px; max-width: 40em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
section.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--sub); font-size: 16px; }
.step { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--go); color: #fff;
  align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
section h3 { font-size: 20px; margin: 26px 0 6px; }
.card h3 { margin-top: 0; }
[id] { scroll-margin-top: 16px; }
.worth { margin: 28px 0 0; font-size: 21px; font-weight: 600; max-width: 34em; text-wrap: balance; }
.disclaimer { margin: 24px 0 0; padding: 14px 18px; border-left: 4px solid var(--line); color: var(--sub);
  font-size: 16px; max-width: 62em; }
ul.plain { margin: 0; padding-left: 22px; }
ul.plain li { margin-bottom: 8px; }

/* Policy and support pages */
.doc { padding: 44px 0 56px; }
.doc h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc .date { color: var(--sub); font-size: 15px; margin: 0 0 26px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc h3 { font-size: 18px; margin: 24px 0 4px; }
.doc p, .doc li { max-width: 68ch; }
.short { background: var(--tint); border: 1px solid var(--go); border-radius: 12px; padding: 16px 20px; }
.short p { margin: 0 0 8px; } .short p:last-child { margin: 0; }
.contact { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px;
  margin: 20px 0; }
.contact p { margin: 0; }
.contact .big { font-size: 22px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--sub); font-weight: 600; font-size: 14px; }

/* Disk-size calculator on the support page */
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin: 14px 0 18px; }
.calc .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 18px; }
.calc label { display: block; font-size: 15px; color: var(--sub); }
.calc input, .calc select { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font: inherit;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.calc input:focus, .calc select:focus { outline: 2px solid var(--go); outline-offset: 1px; }
.calc .result { margin-top: 18px; background: var(--tint); border: 1px solid var(--go); border-radius: 10px; padding: 14px 18px; }
.calc .result p { margin: 0 0 4px; }
.calc .result .big { font-size: 22px; font-weight: 700; }
.calc .result .fine { color: var(--sub); font-size: 14px; margin-top: 8px; }

/* Bottom of every page */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--sub); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--sub); }

@media (max-width: 820px) {
  .hero { padding: 36px 0 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  section { padding: 36px 0; }
}
