/* Seal & Reveal site. One stylesheet, no scripts. Colours follow the logo (docs/brand). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --ink: #232f6b;
  --ink-deep: #161d47;
  --amber: #f4b740;
  --amber-deep: #8a5a00;
  --cream: #f8efda;
  --page: #fffdf7;
  --card: #ffffff;
  --line: #e6dcc3;
  --text: #1b2038;
  --muted: #555b78;
  --link: #2a3a8f;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0f1430;
    --card: #1a2150;
    --line: #2c3672;
    --text: #eceefa;
    --muted: #b4bad8;
    --link: #b9c3ff;
    --amber-deep: #f4b740;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}

img, video, svg { max-width: 100%; height: auto; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible, .button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0.6em 0 0; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 44rem); margin-inline: auto; }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); color: var(--text); padding: 0.5rem 0.8rem; border-radius: 0.5rem; z-index: 10; }

/* Top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: inherit; text-decoration: none; }
.brand img { width: 2.4rem; height: 2.4rem; border-radius: 0.6rem; }
.bar nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.2rem; font-size: 0.98rem; }
.bar nav a { color: inherit; text-decoration: none; opacity: 0.86; padding: 0.2rem 0; }
.bar nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero */
.hero {
  color: #ffffff;
  background: radial-gradient(120% 130% at 15% 0%, #2e3c86 0%, var(--ink) 45%, var(--ink-deep) 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; padding-block: 2.5rem 4rem; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 34rem; color: #e6e9fb; }
.hero .amber { color: var(--amber); }
.hero-art { justify-self: center; width: min(100%, 22rem); filter: drop-shadow(0 1.2rem 2.2rem rgba(0, 0, 0, 0.35)); }
.actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; }
.button {
  display: inline-block; background: var(--amber); color: #1b2038; font-family: var(--display); font-weight: 700;
  font-size: 1.1rem; padding: 0.85rem 1.5rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 0.35rem 0 #c98f1d;
}
.button:hover { background: #ffc85a; }
.button:active { transform: translateY(0.2rem); box-shadow: 0 0.15rem 0 #c98f1d; }
.quiet-link { color: #ffffff; }
.fine { font-size: 0.92rem; color: var(--muted); }
.hero .fine { color: #c9cff0; max-width: 34rem; margin-top: 1rem; }
.hero .fine a { color: #ffffff; }

/* Sections */
section { padding-block: 3.6rem; }
.tint { background: var(--cream); }
@media (prefers-color-scheme: dark) { .tint { background: #141a3d; } }
.eyebrow { font-family: var(--display); font-weight: 650; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 0.5rem; }
.intro { max-width: 42rem; color: var(--muted); font-size: 1.1rem; }

/* Video */
.film { margin-top: 1.8rem; border-radius: 1.1rem; overflow: hidden; background: #0f1430; box-shadow: 0 1rem 2.5rem rgba(22, 29, 71, 0.25); line-height: 0; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.caption { margin-top: 0.8rem; }

/* Cards and grids */
.grid { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem 1.3rem 1.4rem; }
.card h3 + p { margin-top: 0.45rem; }
.card p { color: var(--muted); }
.card .why { color: var(--text); font-style: italic; }

.step { position: relative; padding-top: 1.5rem; }
.step-art { width: 4.2rem; height: 4.2rem; border-radius: 1rem; display: block; margin-bottom: 0.9rem; }
.step-number { font-family: var(--display); font-weight: 750; font-size: 1rem; color: var(--amber-deep); letter-spacing: 0.06em; text-transform: uppercase; }

.timing { margin: 1.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.timing li { background: var(--card); border: 1px solid var(--line); border-left: 0.4rem solid var(--amber); border-radius: 0.8rem; padding: 0.9rem 1.1rem; }
.timing strong { font-family: var(--display); }

.leading { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.leading .card { border-top: 0.35rem solid var(--amber); }

.uses { margin: 0.7rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.uses li { font-size: 0.93rem; background: var(--page); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.7rem; }

/* Free and Pro */
.plans .card { display: flex; flex-direction: column; }
.plan-price { font-family: var(--display); font-weight: 750; font-size: 1.7rem; color: var(--amber-deep); margin-top: 0.2rem; }
.plans ul { margin: 0.8rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.plans li { margin-top: 0.25rem; }
.pro { border: 2px solid var(--amber); }
.note { margin-top: 1.2rem; }

/* Good to know */
.know { margin: 1.8rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.know li { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem 1.3rem; }
.know p { color: var(--muted); }

/* Closing band and footer */
.band { text-align: center; color: #ffffff; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%); }
.band p { color: #d6dbf5; max-width: 36rem; margin-inline: auto; }
.band .actions { justify-content: center; }
.band .fine { color: #c9cff0; margin-top: 1rem; }
.band .fine a { color: #ffffff; }

footer { padding-block: 2rem 3rem; font-size: 0.95rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; }

/* Link pages and the not-found page */
.link-page { min-height: 100vh; display: flex; flex-direction: column; color: #ffffff; background: radial-gradient(120% 130% at 15% 0%, #2e3c86 0%, var(--ink) 45%, var(--ink-deep) 100%); }
.link-page main { flex: 1; display: grid; place-items: center; padding: 1.5rem 0 3rem; }
.ticket { width: min(100% - 2.5rem, 34rem); background: var(--card); color: var(--text); border-radius: 1.4rem; padding: 2rem 1.6rem 1.8rem; text-align: center; box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35); }
.ticket img { width: 6rem; height: 6rem; border-radius: 1.4rem; }
.ticket h1 { font-size: clamp(1.8rem, 6vw, 2.4rem); margin-top: 1rem; }
.ticket p { color: var(--muted); }
.ticket .actions { justify-content: center; margin-bottom: 1.3rem; }
.ticket .again { margin-top: 1.4rem; font-weight: 650; color: var(--text); }
.link-page footer { color: #c9cff0; }
.link-page footer a { color: #ffffff; }

/* Policy pages */
.policy { padding-block: 2rem 4rem; }
.policy h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.policy h2 { font-size: 1.35rem; margin-top: 2.3rem; }
.policy .meta { color: var(--muted); }
.policy .summary { background: var(--cream); color: #1b2038; border-radius: 0.8rem; padding: 0.9rem 1.1rem; margin-top: 1.2rem; }
.policy ul, .policy ol { padding-left: 1.3rem; }
.policy li { margin-top: 0.35rem; }
.policy table { border-collapse: collapse; width: 100%; margin-top: 1rem; font-size: 0.97rem; }
.policy th, .policy td { border: 1px solid var(--line); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; }
.policy th { background: var(--cream); color: #1b2038; }
.table-scroll { overflow-x: auto; }
.plain-bar { border-bottom: 1px solid var(--line); }

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 1.5rem 3rem; }
  .hero-art { width: min(70%, 16rem); order: -1; }
  .three, .leading { grid-template-columns: 1fr; }
  .two, .know { grid-template-columns: 1fr; }
  .bar nav { display: none; }
  section { padding-block: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:active { transform: none; }
}
