/* FirstRoleStudio v6 — Standalone Stylesheet for Cloudflare Pages (AUD 0)
   Brand: Concept 2 (Compass Frame) | Typography: Outfit (Headings) + Inter (Body)
   Contrast: WCAG 2.1 AA/AAA verified on 29 Nov 2026 */

:root {
  --navy: #102542;
  --navy-deep: #0B1B31;
  --teal: #0B6E6E;
  --teal-dark: #085555;
  --slate: #3D4856;
  --canvas: #F7F8F5;
  --white: #FFFFFF;
  --mint-tint: #E3F2F1;
  --svg-mint: #5EEAD4;
  --line: #D7E0E4;
  --success: #0B6E6E;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-card: 0 12px 30px rgba(16, 37, 66, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--navy);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  text-align: left;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

h1, h2, h3, .num, .price, .brand-text {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
}

h1, h2, .num, .price, .brand-text {
  font-weight: 700;
}

h2 {
  font-size: 38px;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--navy);
}

h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--navy);
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.sec {
  padding: 80px 32px;
}

.soft {
  background: var(--canvas);
}

.muted {
  color: var(--slate);
}

.small {
  font-size: 14px;
  line-height: 1.5;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 660px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 10px 32px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-text span {
  color: var(--teal);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px 18px;
}

.site-nav a.nl {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a.nl:hover {
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 110, 110, 0.24);
}

.btn-navy {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(16, 37, 66, 0.22);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--canvas);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(16, 37, 66, 0.1);
}

.tap {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Hero */
.hero {
  padding: 64px 32px 72px;
  background: linear-gradient(180deg, var(--canvas) 0%, var(--white) 100%);
}

.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chip {
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--mint-tint);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

h1 {
  font-size: 52px;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.lead {
  max-width: 540px;
  font-size: 19px;
  line-height: 1.5;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.micro-trust {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}

/* Sample Card */
.sample {
  flex: 1 1 360px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.sample-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy);
}

.sample-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint-tint);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sample-who {
  margin: 8px 0 12px;
  font-size: 14px;
  color: var(--slate);
}

.srow {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.srow b {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding-top: 2px;
}

/* Tracker Section (Section #2 right below Hero) */
.tracker-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px 36px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  align-items: start;
}

.tracker-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.tracker-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.16);
  color: var(--svg-mint);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tracker-band h2 {
  font-size: 30px;
  line-height: 1.18;
  color: var(--white);
}

.tracker-copy p {
  color: #D5E0EB;
}

.tracker-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #E6EEF5;
}

.tracker-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tracker-points svg {
  flex: 0 0 18px;
  margin-top: 3px;
}

/* Inline Tracker Form (Brevo) */
.tracker-form {
  background: var(--white);
  color: var(--navy);
  padding: 22px;
  border-radius: var(--radius-md);
  min-width: 0;
  width: 100%;
  text-align: left;
}

.sib-form-container,
#sib-container {
  width: 100%;
  min-width: 0;
}

#sib-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.sib-form-block,
.form__entry,
.entry__field {
  min-width: 0;
  width: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label,
.entry__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.entry__label[data-required="*"]::after {
  content: ' *';
  color: var(--teal);
}

.field input,
.tracker-form input.input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1.5px solid #C2CFD6;
  background: var(--white);
  color: var(--navy);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.field input::placeholder,
.tracker-form input.input::placeholder {
  color: #6B7785;
}

.field input:focus,
.tracker-form input.input:focus {
  border-color: var(--teal);
}

.form__entry.entry_errored input.input {
  border-color: #C81E1E;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--slate);
  cursor: pointer;
}

.consent-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}

.tracker-form .btn {
  width: 100%;
  min-height: 50px;
  white-space: normal;
  text-align: center;
  padding: 12px 18px;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.sib-form-block__button-disabled {
  opacity: 0.72;
  cursor: wait;
}

.progress-indicator__icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: currentColor;
  flex-shrink: 0;
  animation: frs-spin 0.9s linear infinite;
}

.sib-hide-loader-icon {
  display: none;
}

@keyframes frs-spin {
  to {
    transform: rotate(360deg);
  }
}

.input--hidden {
  display: none !important;
}

.entry__error {
  display: none;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #FFF1F2;
  border: 1px solid #FCA5A5;
  color: #7F1D1D;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.entry__error:not(:empty) {
  display: block;
}

.sib-form-message-panel {
  display: none;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.48;
  text-align: left;
}

.sib-form-message-panel--active {
  display: block;
}

#success-message.sib-form-message-panel {
  background: var(--mint-tint);
  border-color: var(--teal);
  color: var(--navy);
}

#error-message.sib-form-message-panel {
  background: #FFF1F2;
  border-color: #C81E1E;
  color: #7F1D1D;
}

.sib-form-message-panel__text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sib-notification__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  fill: currentColor;
}

#success-message .sib-notification__icon {
  fill: var(--teal);
}

#error-message .sib-notification__icon {
  fill: #C81E1E;
}

.tracker-form .form-note {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}

.tracker-form .form-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.offer.main {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-card);
}

.badge {
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.price {
  font-size: 36px;
  line-height: 1.1;
  color: var(--navy);
  margin-top: 6px;
}

.for {
  font-size: 14px;
  color: var(--slate);
  margin-top: 4px;
}

.tick-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tick {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}

.tick svg {
  flex: 0 0 20px;
  margin-top: 2px;
}

.offer .btn {
  margin-top: auto;
  width: 100%;
}

.callout-mint {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--mint-tint);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
}

/* How it works */
.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  border: 1px solid var(--line);
}

.num {
  font-size: 40px;
  line-height: 1;
  color: var(--teal);
}

/* About / Promise */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 44px;
  align-items: start;
}

.promise li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.promise li:last-child {
  border-bottom: 0;
}

.promise svg {
  flex: 0 0 20px;
  margin-top: 3px;
}

/* FAQ Accordion */
.faq {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 4px;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-body {
  padding: 0 4px 18px;
  color: var(--slate);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rules {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 14px;
}

.rules b {
  color: var(--navy);
}

/* Final CTA */
.final {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 80px 32px;
}

.final .wrap {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.final h2 {
  font-size: 40px;
  line-height: 1.12;
  color: var(--white);
}

.final p {
  color: #D5E0EB;
}

.final .btn {
  background: var(--svg-mint);
  color: var(--navy);
}

.final .btn:hover {
  background: var(--white);
  color: var(--navy);
}

/* Footer */
.site-footer {
  padding: 28px 32px 36px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  color: var(--slate);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.site-footer a {
  color: var(--slate);
}

.site-footer a:hover {
  color: var(--teal);
}

.disclaimer-bar {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
  width: 100%;
}

/* Legal Subpages */
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: 24px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  list-style: disc;
  color: var(--slate);
}

/* Mobile Responsive */
@media (max-width: 860px) {
  .tracker-band {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 18px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 8px 14px;
  }

  .site-header .wrap {
    gap: 8px;
  }

  .brand {
    gap: 7px;
  }

  .brand svg {
    width: 28px;
    height: 28px;
  }

  .brand-text {
    font-size: 16px;
  }

  .site-nav {
    gap: 6px;
    min-width: 0;
  }

  .site-nav a.hide-m {
    display: none;
  }

  .site-nav a.nl {
    font-size: 13px;
    padding: 0 3px;
  }

  .site-header .btn-navy {
    padding: 0 10px;
    font-size: 12.5px;
    min-height: 44px;
  }

  .hero {
    padding: 24px 18px 44px;
  }

  .sec,
  .final {
    padding: 52px 18px;
  }

  .site-footer {
    padding: 24px 18px 32px;
  }

  h1 {
    font-size: 34px;
  }

  h2,
  .final h2 {
    font-size: 28px;
  }

  .tracker-band h2 {
    font-size: 25px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-text,
  .sample {
    flex-basis: 100%;
  }

  .ctas .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding: 12px 18px;
  }

  .tracker-form {
    padding: 18px 16px;
  }

  .srow,
  .rules li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
  .progress-indicator__icon {
    animation: none;
  }
}
