/* StudieSync · Landing page — rolig og redaktionel.
   v5-tokens (--ink, --mute, --line, --accent), systemfonte, ét accent, hårlinjer i stedet for kort.
   CSP self only: ingen eksterne fonte, scripts eller billeder. */

body.v5:has(.ss-home) { background: #FFFFFF; }

/* ---------- Container ---------- */
.landing-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

/* ---------- Knapper ---------- */
.btn,
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: 600 15px var(--font);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  box-sizing: border-box;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.btn:hover { background: var(--hover); border-color: #D5D8DE; }

.btn-google {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.btn-google:hover { background: #2A2E36; border-color: #2A2E36; }

.g-icon { width: 18px; height: 18px; flex: none; }

.btn:focus-visible,
.btn-google:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero-b { padding: 72px 0 40px; }

.hero-b-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: 600 13px var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-b-badge .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-b h1 {
  max-width: 15em;
  margin: 0;
  font: 650 clamp(2.4rem, 5.4vw, 4.4rem)/1.04 var(--font);
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-b p.lede {
  max-width: 36em;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--mute);
}

.hero-b-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 36px 0 0;
}

/* The waitlist shortcut is a quiet text link, not a third button. */
.hero-b-actions .btn:last-child {
  height: auto;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--mute);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
}

.hero-b-actions .btn:last-child:hover { color: var(--ink); background: none; text-decoration-color: var(--mute); }

.hero-b-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 28px 0 0;
  color: var(--mute);
  font-size: 14px;
}

.hero-b-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-b-trust svg.i { width: 15px; height: 15px; color: var(--accent); }

/* Hero tabs: plain underline tabs above the product */
.hero-tabs-wrap {
  display: flex;
  gap: 28px;
  margin: 56px 0 0;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.hero-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 2px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--mute);
  font: 550 15px var(--font);
  cursor: pointer;
}

.hero-tab-btn:hover { color: var(--ink); background: none; }
.hero-tab-btn.active { color: var(--ink); border-bottom-color: var(--ink); background: none; box-shadow: none; }
.hero-tab-btn svg.i { width: 16px; height: 16px; }

/* Hero stage: product cropped on a quiet tinted ground */
.hero-stage {
  position: relative;
  margin: 28px 0 0;
  padding: 44px 44px 0;
  max-height: 620px;
  overflow: hidden;
  border-radius: 20px;
  background: #F3F4F2;
  box-sizing: border-box;
}

.mockup-window {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -36px rgba(17, 19, 24, 0.35);
}

.hero-stage .mockup-window { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.mockup-window-header {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 14px;
  background: #F6F6F7;
  border-bottom: 1px solid var(--line);
}

.mockup-dots { display: flex; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: #D9DBDF; }
.mockup-dot.red, .mockup-dot.yellow, .mockup-dot.green { background: #D9DBDF; }

.mockup-address-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 220px;
  height: 24px;
  margin: 0 auto;
  padding: 0 14px;
  border-radius: 7px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--mute);
  font-size: 12px;
}

.mockup-address-bar svg.i { width: 11px; height: 11px; }
.mockup-window-body { background: #FFFFFF; }
.mockup-window-body img { display: block; width: 100%; height: auto; }

.hero-phone-overlay {
  position: absolute;
  right: 72px;
  bottom: -90px;
  width: 210px;
  z-index: 2;
  transition: transform 0.2s ease;
}

.hero-phone-overlay:hover { transform: translateY(-6px); }

.phone-mockup {
  position: relative;
  padding: 8px;
  border-radius: 34px;
  background: #15171C;
  box-shadow: 0 30px 60px -24px rgba(17, 19, 24, 0.55);
}

.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 64px;
  height: 18px;
  margin-left: -32px;
  border-radius: 999px;
  background: #15171C;
  z-index: 3;
}

.phone-screen { border-radius: 27px; overflow: hidden; background: #FFFFFF; }
.phone-screen img { display: block; width: 100%; height: auto; }

/* ---------- Tre søjler: nummereret, uden kort ---------- */
.pillars-section { padding: 88px 0 24px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.pillar-card {
  padding: 22px 0 0;
  border-top: 1px solid var(--ink);
  background: none;
  box-shadow: none;
}

.pillar-card .pillar-icon { display: none; }
.pillar-card h3 { margin: 0 0 10px; font: 650 1.2rem/1.3 var(--font); letter-spacing: -0.015em; color: var(--ink); }
.pillar-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--mute); }

/* ---------- Funktionssektioner ---------- */
.feature-section { padding: 96px 0 0; }

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.feature-row.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }

.feature-tag {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: 600 13px var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-tag svg.i { display: none; }

.feature-content h2 {
  margin: 0 0 16px;
  font: 650 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--font);
  letter-spacing: -0.032em;
  color: var(--ink);
  text-wrap: balance;
}

.feature-content p.desc { margin: 0 0 28px; max-width: 32em; font-size: 17px; line-height: 1.6; color: var(--mute); }

.feature-bullets { list-style: none; margin: 0; padding: 0; }

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mute);
}

.feature-bullets li:last-child { border-bottom: 1px solid var(--line); }
.feature-bullets li svg.i { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--accent); }
.feature-bullets li strong { color: var(--ink); font-weight: 600; }

.feature-media .mockup-window { transition: transform 0.2s ease; }
.feature-media .mockup-window:hover { transform: translateY(-3px); }

/* ---------- Sikkerhed: hårlinjer, ingen kort ---------- */
.trust-section { margin-top: 104px; padding: 88px 0; background: #F3F4F2; }
.trust-header { max-width: 40em; margin: 0 0 48px; text-align: left; }
.trust-header h2 { margin: 0 0 14px; font: 650 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--font); letter-spacing: -0.032em; color: var(--ink); }
.trust-header p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--mute); }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }

.trust-card { padding: 22px 0 0; border-top: 1px solid var(--ink); background: none; box-shadow: none; }
.trust-card .trust-ic { display: none; }
.trust-card h3 { margin: 0 0 10px; font: 650 1.1rem/1.3 var(--font); letter-spacing: -0.012em; color: var(--ink); }
.trust-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--mute); }

/* ---------- Venteliste ---------- */
.waitlist-section { padding: 96px 0 0; }

.waitlist-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 36px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
  box-shadow: none;
  text-align: left;
  box-sizing: border-box;
}

.waitlist-card .waitlist-tag {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font: 600 13px var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-card .waitlist-tag svg.i { display: none; }
.waitlist-card h2 { margin: 0 0 10px; font: 650 1.6rem/1.2 var(--font); letter-spacing: -0.025em; color: var(--ink); }
.waitlist-card p.desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--mute); }

/* ---------- Bund-CTA ---------- */
.bottom-cta-b { padding: 104px 0 96px; }
.bottom-cta-b .cta-panel { max-width: 720px; margin: 0 auto; padding: 0; background: none; border: 0; box-shadow: none; text-align: center; }
.bottom-cta-b .hero-b-badge { margin-bottom: 20px; }
.bottom-cta-b h2 { margin: 0 0 16px; font: 650 clamp(2rem, 4.2vw, 3.2rem)/1.08 var(--font); letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.bottom-cta-b p { margin: 0 auto 14px; max-width: 34em; font-size: 17px; line-height: 1.6; color: var(--mute); }
.bottom-cta-b .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 28px; }
.bottom-cta-b .cta-note { margin: 0 auto 8px; max-width: 40em; font-size: 13.5px; line-height: 1.6; color: var(--mute); }
.bottom-cta-b .cta-note a { color: var(--ink); text-underline-offset: 3px; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero-b { padding-top: 48px; }
  .hero-stage { padding: 24px 24px 0; max-height: 460px; }
  .hero-phone-overlay { right: 32px; bottom: -70px; width: 150px; }
  .pillars-grid, .trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-section { padding-top: 72px; }
  .feature-row, .feature-row.reverse { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-row.reverse .feature-media { order: 2; }
  .feature-row.reverse .feature-content { order: 1; }
  .trust-section { margin-top: 80px; padding: 64px 0; }
}

@media (max-width: 640px) {
  .landing-shell { padding: 0 20px; }
  .hero-b { padding: 36px 0 24px; }
  .hero-b-badge { margin-bottom: 20px; }
  .hero-b-actions .btn-google, .hero-b-actions .btn:nth-child(2) { flex: 1 1 100%; }
  .hero-b-actions .btn:last-child { flex: 1 1 100%; justify-content: flex-start; padding: 4px; }
  .hero-tabs-wrap { gap: 18px; margin-top: 40px; overflow-x: auto; }
  /* Phone-sized: show the phone, not the tiny desktop window */
  .hero-stage { max-height: none; padding: 28px 24px 0; text-align: center; }
  .hero-stage .mockup-window { display: none; }
  .hero-phone-overlay { position: static; display: block; width: min(250px, 72%); margin: 0 auto; transform: translateY(34px); }
  .hero-phone-overlay:hover { transform: translateY(34px); }
  .hero-stage { padding-bottom: 0; margin-bottom: 40px; }
  .pillars-section { padding-top: 64px; }
  .waitlist-card { padding: 28px 20px; }
  .bottom-cta-b { padding: 72px 0 64px; }
  .bottom-cta-b .cta-actions .btn-google, .bottom-cta-b .cta-actions .btn { flex: 1 1 100%; }
}

.ss-waitlist-box {
  margin: 24px auto 0;
  max-width: 520px;
  padding: 24px 20px;
  border-radius: var(--v5-radius-md, 12px);
  border: 1px solid var(--v5-border-subtle, #e2e8f0);
  background: var(--v5-surface, #ffffff);
  box-shadow: var(--v5-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
}
.waitlist-card .ss-waitlist-box {
  margin: 0 auto;
  border: none;
  box-shadow: none;
  padding: 16px 0 0;
  background: transparent;
}
.waitlist-card .wl-head {
  display: none;
}
.wl-head {
  text-align: center;
  margin-bottom: 24px;
}
.wl-head-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--v5-text, #0f172a);
  margin: 0 0 8px 0;
}
.wl-head-lead {
  font-size: 14px;
  color: var(--v5-text-muted, #64748b);
  margin: 0;
  line-height: 1.5;
}
.wl-honeypot {
  display: none !important;
}
.wl-field {
  display: block;
  margin-bottom: 16px;
}
.wl-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--v5-text-secondary, #334155);
  margin-bottom: 6px;
}
.wl-input,
.wl-select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: var(--v5-radius-sm, 8px);
  border: 1px solid var(--v5-border, #cbd5e1);
  background: var(--v5-surface, #ffffff);
  color: var(--v5-text, #0f172a);
  font-family: inherit;
}
.wl-input:focus,
.wl-select:focus {
  outline: 2px solid var(--v5-primary, #1f3b28);
  outline-offset: -1px;
}
.wl-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.wl-flex-1 {
  flex: 1;
}
.wl-other {
  margin-bottom: 16px;
}
.wl-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--v5-border-subtle, #e2e8f0);
  border-radius: var(--v5-radius-sm, 8px);
  background: var(--v5-surface-subtle, #f8fafc);
}
.wl-checkbox {
  margin-top: 3px;
  accent-color: var(--v5-primary, #1f3b28);
}
.wl-consent-title {
  display: block;
  font-size: 14px;
  color: var(--v5-text, #0f172a);
}
.wl-consent-note {
  display: block;
  font-size: 12px;
  color: var(--v5-text-muted, #64748b);
  margin-top: 4px;
  line-height: 1.4;
}
.wl-submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--v5-radius-sm, 8px);
  background: var(--v5-primary, #1f3b28);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}
.wl-submit-btn:hover {
  background: var(--v5-primary-hover, #162a1c);
}
