/* Worst Gen AI website
   Layout idea: a calm white page, one red accent for actions, plain sections that stack on a phone.
   To change a colour or the font everywhere, edit the values in :root. */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-latin-700-normal.woff2") format("woff2");
}

:root {
  --ink: #16171a;         /* main text */
  --ink-2: #4a4b50;       /* paragraph text */
  --muted: #63646a;       /* small notes */
  --line: #e5e5e1;        /* thin borders */
  --band: #f7f7f5;        /* light grey sections */
  --paper: #ffffff;       /* page background */
  --accent: #d90f17;      /* buttons and small labels */
  --accent-dark: #b50c13; /* button when hovered */
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;         /* widest the content gets */
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

h1, h2, h3, p, figure { margin: 0; }

h1 {
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--paper);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: var(--accent-dark); color: #ffffff; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* Top bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { height: 24px; width: auto; }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
}
.nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

/* Sections */
section[id] { scroll-margin-top: 84px; }
.band { background: var(--band); }
.section > .wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 72px;
}

/* Hero */
.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 56px;
  padding-top: 72px;
  padding-bottom: 80px;
}
.hero-text {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); }
.lead { max-width: 31em; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding-top: 4px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}
.note { font-size: 15px; color: var(--muted); }

.hero-visual {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-visual figcaption { font-size: 14px; color: var(--muted); }

/* The example answer window */
.mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(22, 23, 26, 0.08);
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.mock-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.mock-name img { height: 15px; width: auto; }
.mock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.mock-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
}
.mock-label { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mock-q { font-size: 18px; line-height: 1.4; font-weight: 600; }
.mock-a { font-size: 16px; line-height: 1.6; }
.mock-rule { width: 100%; height: 1px; margin: 0; border: 0; background: var(--line); }

/* How it works */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px 28px;
}
.steps li { display: flex; flex-direction: column; gap: 10px; }
.num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c9c9c4;
  border-radius: 50%;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
}
.steps p, .point p, .faq p { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }

/* Built for a real interview */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 28px 40px;
}
.point {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Pricing */
.plain { max-width: 36em; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.plan-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-price { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.plan-text { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }

/* Questions */
.faq { max-width: 760px; display: flex; flex-direction: column; }
.faq > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.faq > div:last-child { border-bottom: 1px solid var(--line); }

/* Last call to action */
.cta > .wrap {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 18px; width: auto; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }

/* Phones and small tablets */
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .hero-row { padding-top: 48px; padding-bottom: 56px; }
  .section > .wrap { padding-top: 56px; padding-bottom: 56px; }
  .cta > .wrap { padding-top: 44px; padding-bottom: 44px; }
  section[id] { scroll-margin-top: 76px; }
}
