/* ============================================================
   Unlock Potential — The Insights Series
   White-label adaptation of the Slow Interview System
   unlockpotential.uk
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */

:root {
  --paper:       #f5f1e9;
  --paper-dark:  #ede8dc;
  --paper-mid:   #e6e0d2;
  --ink:         #4e5452;
  --ink-light:   #737a78;
  --ink-faint:   #9ea5a3;
  --accent:      #d99b3a;
  --accent-warm: #c4862a;
  --rule:        #d4cfc4;
  --dark:        #2e3432;
  --font-display: 'Ovo', Georgia, serif;
  --font-body:    'Open Sans', sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── Base ────────────────────────────────────────────────── */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
}

/* ── Animation ───────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo ────────────────────────────────────────────────── */

.login-mark {
  display: block;
  height: 64px;
  width: auto;
  margin: 0 auto 28px;
}
.brief-watermark {
  display: block;
  height: 36px;
  width: auto;
  opacity: 0.08;
  position: absolute;
  bottom: 14px;
  right: 18px;
  pointer-events: none;
}

/* ── Masthead (Responsive Refactor) ────────────────────────── */

:root {
  /* Adding a quick helper for consistent transitions */
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Masthead ────────────────────────────────────────────── */

.masthead {
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  box-sizing: border-box;
  min-height: 52px;
}

.masthead-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.masthead-mark {
  height: 1.75rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.masthead-mark {
  height: 1.75rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.masthead-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.masthead-publication {
  font-family: var(--font-display);
  /* Slightly smaller than the logo height to maintain hierarchy */
  font-size: 1.25rem; /* Approx 15px */
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.masthead-title {
  font-family: var(--font-body);
  /* Slightly smaller than the logo height to maintain hierarchy */
  font-size: 1.1rem; /* Approx 16px */
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.masthead-series {
  font-family: var(--font-body);
  font-size: 0.625rem; /* Approx 10px */
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.masthead-link {
  font-family: var(--font-body);
  font-size: 0.6875rem; /* Approx 11px */
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.125rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.masthead-link:hover {
  opacity: 0.6;
}

/* ── Mobile Refinement ── */
@media (max-width: 600px) {
  .masthead {
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  box-sizing: border-box;
  min-height: 52px;
}
  
  .masthead-mark {
  height: 1.75rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}
  
  .masthead-publication {
    font-size: 0.875rem;
  }

  .masthead {
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  box-sizing: border-box;
  min-height: 52px;
}
}

/* ── Mobile Optimization ── */
@media (max-width: 480px) {
  .masthead {
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  box-sizing: border-box;
  min-height: 52px;
}
  
  .masthead-mark {
  height: 1.75rem;
  width: auto;
  display: block;
  flex-shrink: 0;
}
  
  /* If the brand name and link get too close, this allows the link to stay visible */
  .masthead-series {
    letter-spacing: 0.1em; 
  }
  
  .masthead {
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  box-sizing: border-box;
  min-height: 52px;
}
}
/* ── Footer ──────────────────────────────────────────────── */

.footer {
  margin-top: 80px;
  padding: 28px 48px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}
.footer-brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-faint);
  margin-top: 3px;
  font-style: italic;
}
.footer-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.footer-link:hover { opacity: 0.6; }

/* ── Labels ──────────────────────────────────────────────── */

.mono-label,
.section-label,
.sidebar-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  padding: 72px 48px 56px;
  max-width: 840px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}
.hero-kicker {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero-headline,
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--dark);
}
.hero-name { font-size: clamp(30px, 5.5vw, 64px); margin-bottom: 6px; }
.hero-headline em,
.hero-name em { font-style: italic; color: var(--ink-light); }
.hero-standfirst {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-light);
  max-width: 600px;
}
.hero-descriptor {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-light);
  margin-bottom: 28px;
  font-style: italic;
}
.hero-intro {
  font-size: 17px;
  line-height: 1.8;
  max-width: 600px;
  color: var(--ink-light);
  border-left: 2px solid var(--rule);
  padding-left: 22px;
}

/* ── Dividers ────────────────────────────────────────────── */

.rule-divider { margin: 0 48px; border: none; border-top: 1px solid var(--rule); }
.card-divider { margin: 24px 0; border: none; border-top: 1px solid var(--rule); }

/* ── Forms ───────────────────────────────────────────────── */

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--ink-light); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ink-faint); font-style: italic; }
.form-group textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ea5a3' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-hint { margin-top: 6px; font-size: 12px; font-weight: 300; color: var(--ink-faint); font-style: italic; line-height: 1.5; }
.form-submit {
  width: 100%;
  background: var(--dark);
  color: var(--paper);
  border: none;
  padding: 15px 24px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover  { background: var(--accent); }
.form-submit:active { background: var(--accent-warm); }
.form-caveat { margin-top: 12px; font-size: 12px; font-weight: 300; color: var(--ink-faint); font-style: italic; text-align: center; line-height: 1.5; }

.form-card { background: var(--paper-dark); border: 1px solid var(--rule); padding: 32px 28px; margin-bottom: 24px; }
.form-card h2 { font-family: var(--font-display); font-size: 22px; font-weight: 400; line-height: 1.3; margin-bottom: 8px; color: var(--dark); }
.form-card .form-sub { font-size: 14px; font-weight: 300; color: var(--ink-light); font-style: italic; margin-bottom: 24px; line-height: 1.65; }

.form-success { display: none; text-align: center; padding: 28px 16px; }
.form-success.visible { display: block; }
.form-success h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; color: var(--dark); }
.form-success p { font-size: 14px; font-weight: 300; color: var(--ink-light); line-height: 1.7; }

.error-message { background: #fdf4ea; border: 1px solid #e8c88a; border-left: 3px solid var(--accent); padding: 12px 16px; margin-bottom: 24px; font-size: 14px; color: var(--accent-warm); font-style: italic; display: none; }
.error-message.visible { display: block; }

/* ── Dark block ──────────────────────────────────────────── */

.manifesto,
.editorial-note {
  background: var(--dark);
  color: var(--paper);
  padding: 44px 48px;
  margin: 0 0 48px;
}
.manifesto .mono-label,
.editorial-note .mono-label,
.editorial-note .section-label {
  color: var(--accent);
  border-bottom-color: #3e4846;
}
.manifesto-pull {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  line-height: 1.5;
  color: #e8e2d8;
  margin-bottom: 24px;
}
.manifesto p,
.editorial-note p { font-size: 15px; font-weight: 300; line-height: 1.85; color: #a8b0ae; margin-bottom: 14px; }
.editorial-note p { color: #c8d0ce; }
.manifesto p:last-of-type,
.editorial-note p:last-of-type { margin-bottom: 0; }
.manifesto a { color: var(--accent); text-decoration: none; border-bottom: 1px solid #7a6030; transition: opacity 0.2s; }
.manifesto a:hover { opacity: 0.7; }
.editorial-note .signature { margin-top: 24px; font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--accent); }

/* ── Pull quote ──────────────────────────────────────────── */

.pull-quote { background: var(--paper-dark); border-left: 3px solid var(--accent); padding: 28px 32px; margin: 0 0 20px; position: relative; }
.pull-quote::before { content: '\201C'; font-family: var(--font-display); font-size: 64px; color: var(--rule); position: absolute; top: -6px; left: 20px; line-height: 1; }
.pull-quote p { font-family: var(--font-display); font-size: 19px; font-style: italic; line-height: 1.55; color: var(--dark); padding-top: 18px; }
.pull-quote .attribution { font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; color: var(--ink-faint); margin-top: 12px; text-transform: uppercase; }

/* ── Cards ───────────────────────────────────────────────── */

.angle-card { border: 1px solid var(--rule); padding: 22px 26px; margin-bottom: 14px; transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.angle-card:hover { border-color: var(--ink-light); background: var(--paper-dark); }
.angle-number { font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 7px; }
.angle-title { font-family: var(--font-display); font-size: 17px; font-weight: 400; margin-bottom: 7px; line-height: 1.35; color: var(--dark); }
.angle-hook { font-size: 14px; font-weight: 300; color: var(--ink-light); font-style: italic; line-height: 1.55; }
.angle-platform { margin-top: 12px; display: flex; gap: 8px; }
.platform-tag { font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--rule); color: var(--ink-faint); }

/* ── Transcript ──────────────────────────────────────────── */

.transcript-moment { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.transcript-moment:last-child { border-bottom: none; }
.transcript-timestamp { font-family: var(--font-body); font-size: 10px; font-weight: 400; color: var(--accent-warm); letter-spacing: 0.1em; margin-bottom: 7px; }
.transcript-text { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--ink-light); font-style: italic; }
.transcript-note { margin-top: 9px; font-size: 12px; font-weight: 400; font-family: var(--font-body); color: var(--ink-faint); letter-spacing: 0.03em; }

/* ── Sidebar ─────────────────────────────────────────────── */

.sidebar-block { margin-bottom: 36px; }
.sidebar-block:nth-child(2) { animation-delay: 0.55s; }
.sidebar-block:nth-child(3) { animation-delay: 0.7s; }

.theme-pill { display: inline-block; border: 1px solid var(--rule); padding: 4px 12px; font-size: 13px; font-weight: 300; margin: 0 4px 8px 0; font-family: var(--font-body); font-style: italic; color: var(--ink-light); transition: all 0.15s; cursor: default; }
.theme-pill:hover { border-color: var(--accent); color: var(--accent); }

.sidebar-stat { margin-bottom: 18px; }
.stat-number { font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1; color: var(--accent); }
.stat-label { font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

.next-steps { background: var(--paper-dark); border: 1px solid var(--rule); padding: 28px 32px; margin-top: 8px; }
.next-steps h3 { font-family: var(--font-display); font-size: 17px; font-weight: 400; margin-bottom: 14px; color: var(--dark); }
.step-item { display: flex; gap: 14px; margin-bottom: 12px; align-items: flex-start; font-size: 14px; font-weight: 300; color: var(--ink-light); }
.step-num { font-family: var(--font-body); font-size: 10px; font-weight: 400; color: var(--accent); padding-top: 3px; flex-shrink: 0; letter-spacing: 0.05em; }

/* ── Expect items ────────────────────────────────────────── */

.expect-item { display: flex; gap: 20px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--rule); }
.expect-item:last-child { border-bottom: none; margin-bottom: 0; }
.expect-num { font-family: var(--font-body); font-size: 10px; font-weight: 400; color: var(--accent); padding-top: 4px; flex-shrink: 0; letter-spacing: 0.05em; width: 28px; }
.expect-content h3 { font-family: var(--font-display); font-size: 17px; font-weight: 400; margin-bottom: 5px; line-height: 1.35; color: var(--dark); }
.expect-content p { font-size: 15px; font-weight: 300; color: var(--ink-light); line-height: 1.65; }

/* ── Tips & kit ──────────────────────────────────────────── */

.tips-section { margin-top: 0; }
.tip-card { background: var(--paper-dark); border: 1px solid var(--rule); padding: 20px 24px; margin-bottom: 10px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.2s; }
.tip-card:hover { border-color: var(--ink-light); }
.tip-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; opacity: 0.8; }
.tip-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 400; margin-bottom: 4px; color: var(--dark); }
.tip-card p { font-size: 13px; font-weight: 300; color: var(--ink-light); line-height: 1.6; }

.kit-section { margin-top: 44px; }
.kit-item { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule); gap: 16px; }
.kit-item:first-of-type { border-top: 1px solid var(--rule); }
.kit-name { font-size: 15px; font-weight: 300; }
.kit-name span { font-family: var(--font-body); font-size: 10px; font-weight: 400; color: var(--accent-warm); margin-left: 10px; letter-spacing: 0.05em; }
.kit-price { font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--ink-faint); white-space: nowrap; }
.kit-note { margin-top: 14px; font-size: 13px; font-weight: 300; font-style: italic; color: var(--ink-faint); line-height: 1.6; }

/* ── Receive list ────────────────────────────────────────── */

.receive-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; font-weight: 300; color: var(--ink-light); line-height: 1.5; align-items: flex-start; }
.receive-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }

/* ── Riverside ───────────────────────────────────────────── */

.riverside-block { border: 1px solid var(--rule); padding: 24px 26px; background: var(--paper); }
.riverside-block p { font-size: 14px; font-weight: 300; color: var(--ink-light); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.riverside-btn { display: block; text-align: center; background: var(--paper-dark); border: 1px solid var(--rule); padding: 12px 18px; font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: all 0.2s; }
.riverside-btn:hover { background: var(--dark); color: var(--paper); border-color: var(--dark); }

/* ── Login ───────────────────────────────────────────────── */

body.login-page { min-height: 100vh; display: flex; flex-direction: column; }
body.login-page main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.login-container { width: 100%; max-width: 460px; opacity: 0; animation: fadeUp 0.7s ease 0.15s forwards; }
.login-kicker { font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.login-kicker::after { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); }
.login-heading { font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1.2; margin-bottom: 10px; color: var(--dark); }
.login-heading em { font-style: italic; color: var(--ink-light); }
.login-sub { font-size: 16px; font-weight: 300; color: var(--ink-light); font-style: italic; margin-bottom: 36px; line-height: 1.65; }
.login-card { background: var(--paper-dark); border: 1px solid var(--rule); padding: 36px 32px; }
.login-footer-note { margin-top: 20px; font-size: 13px; font-weight: 300; color: var(--ink-faint); text-align: center; font-style: italic; line-height: 1.6; }
.login-footer-note a { color: var(--ink-faint); text-decoration: none; border-bottom: 1px solid var(--rule); transition: color 0.2s; }
.login-footer-note a:hover { color: var(--ink-light); }
.new-here { font-size: 14px; font-weight: 300; color: var(--ink-light); text-align: center; line-height: 1.6; }
.new-here a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.new-here a:hover { border-color: var(--accent); }
.footer-portal-label { font-family: var(--font-body); font-size: 10px; font-weight: 400; color: var(--ink-faint); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Layout ──────────────────────────────────────────────── */

.content-wrapper { display: grid; grid-template-columns: 1fr 290px; gap: 0; max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.main-column { padding-right: 52px; border-right: 1px solid var(--rule); }
.side-column { padding-left: 36px; }
.section { margin-bottom: 56px; opacity: 0; animation: fadeUp 0.8s ease forwards; }
.section:nth-child(1) { animation-delay: 0.3s; }
.section:nth-child(2) { animation-delay: 0.45s; }
.section:nth-child(3) { animation-delay: 0.6s; }
.section:nth-child(4) { animation-delay: 0.75s; }

.two-col { display: grid; grid-template-columns: 1fr 340px; max-width: 1080px; margin: 0 auto; padding: 56px 48px; gap: 64px; opacity: 0; animation: fadeUp 0.7s ease 0.25s forwards; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; padding: 40px 24px; }
  .masthead, .hero, .rule-divider, .footer { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 48px; padding-bottom: 40px; }
}
@media (max-width: 768px) {
  .content-wrapper { grid-template-columns: 1fr; padding: 0 24px; }
  .main-column { padding-right: 0; border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 40px; margin-bottom: 40px; }
  .side-column { padding-left: 0; }
  .masthead, .hero, .footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 600px) {
  .masthead {
  border-bottom: 1px solid var(--ink);
  padding: 0.75rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
  box-sizing: border-box;
  min-height: 52px;
}
  .footer { padding: 18px 20px; }
  .login-card { padding: 28px 20px; }
  .hero { padding: 36px 20px 32px; }
  .hero-headline,
  .hero-name { font-size: 28px; line-height: 1.2; }
  .hero-standfirst { font-size: 16px; }
}
