:root {
  --ink: #15231d;
  --ink-soft: #536159;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d4;
  --white: #fffdf8;
  --orange: #ff6a2a;
  --orange-dark: #db4c11;
  --lime: #d8ef61;
  --green: #1e7350;
  --line: rgba(21, 35, 29, 0.15);
  --shadow: 0 28px 80px rgba(32, 45, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.brand strong {
  color: var(--orange-dark);
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50% 50% 50% 16%;
  background: var(--lime);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-4deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav .nav-action {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.notice {
  margin-top: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(219, 76, 17, 0.35);
  border-radius: 12px;
  background: #fff5ea;
  color: #8b3816;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(50px, 8vw, 108px);
  align-items: center;
  min-height: 690px;
  padding-block: 80px 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--orange-dark);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 13px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(52px, 6vw, 79px);
  font-weight: 690;
  letter-spacing: -0.066em;
  line-height: 0.99;
}

.hero h1 em {
  position: relative;
  color: var(--orange-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero h1 em::after {
  position: absolute;
  right: -2px;
  bottom: -4px;
  left: 4px;
  height: 6px;
  border-radius: 70%;
  background: var(--lime);
  content: "";
  transform: rotate(-1deg);
  z-index: -1;
}

.hero-lede {
  max-width: 610px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 690;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.main-nav a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(255, 106, 42, 0.35);
  outline-offset: 3px;
}

.button-primary {
  background: var(--ink);
  box-shadow: 0 9px 24px rgba(21, 35, 29, 0.18);
  color: white;
}

.button-primary:hover {
  background: #263c32;
  box-shadow: 0 13px 30px rgba(21, 35, 29, 0.23);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.45);
}

.provider-dot {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.yahoo-dot {
  background: #6a20d9;
  color: white;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 0;
  color: #64736a;
  font-size: 12px;
  list-style: none;
}

.trust-list li::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.blueprint-wrap {
  position: relative;
  isolation: isolate;
}

.blueprint-wrap::before {
  position: absolute;
  top: -54px;
  right: -34px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(21, 35, 29, 0.08);
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0 10px,
    rgba(21, 35, 29, 0.035) 11px 12px
  );
  content: "";
  z-index: -2;
}

.blueprint-shadow {
  position: absolute;
  inset: 18px -14px -16px 18px;
  border-radius: 23px;
  background: var(--orange);
  transform: rotate(2deg);
  z-index: -1;
}

.blueprint-card {
  border: 1px solid rgba(21, 35, 29, 0.13);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blueprint-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 27px 29px 24px;
  border-bottom: 1px solid var(--line);
}

.micro-label {
  color: #7a857f;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blueprint-heading h2 {
  margin: 7px 0 0;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.ready-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf5df;
  color: #35613d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 760;
  text-transform: uppercase;
}

.ready-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4e964f;
  box-shadow: 0 0 0 3px rgba(78, 150, 79, 0.12);
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px 21px 15px;
}

.config-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(21, 35, 29, 0.08);
  font-size: 12px;
}

.config-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.config-cell span {
  color: #7b8680;
}

.config-cell strong {
  font-size: 12px;
  font-weight: 680;
}

.translation-row {
  display: grid;
  grid-template-columns: auto 57px auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 20px 20px;
  padding: 16px;
  border-radius: 11px;
  background: #f1eee7;
}

.platform-pill {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 850;
}

.yahoo-pill {
  background: #6a20d9;
  color: white;
}

.neutral-pill {
  border: 1px solid var(--ink);
  background: var(--lime);
}

.translation-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.translation-line::before,
.translation-line::after,
.translation-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a9ada9;
  content: "";
}

.translation-row div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.translation-row div span {
  color: #7c8580;
  font-size: 9px;
}

.translation-row div strong {
  font-size: 11px;
}

.check-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.provider-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.42);
}

.provider-bar-inner {
  padding-block: 26px;
}

.provider-bar p {
  margin: 0 0 20px;
  color: #8a928d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.provider-name {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 11px;
  color: #6e7872;
  font-size: 14px;
  font-weight: 650;
}

.provider-name b {
  grid-row: span 2;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.provider-name i {
  color: #9ca49f;
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.provider-live {
  color: var(--ink);
}

.provider-live b {
  border-color: #6a20d9;
  background: #6a20d9;
  color: white;
}

.provider-live i {
  color: var(--green);
}

.section {
  padding-block: 118px;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.scope-section h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 57px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.step-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.44);
}

.featured-step {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  transform: rotate(-1deg);
}

.step-number {
  color: #a0aaa4;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 21px;
}

.featured-step .step-icon {
  background: var(--lime);
}

.step-card h3 {
  margin: 21px 0 9px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.step-card p {
  margin: 0;
  color: #748078;
  font-size: 13px;
  line-height: 1.65;
}

.featured-step p {
  color: #aebbb3;
}

.scope-section {
  padding-block: 105px;
  background: var(--ink);
  color: white;
}

.scope-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: start;
}

.light-eyebrow {
  color: var(--lime);
}

.scope-copy {
  max-width: 590px;
  margin: 26px 0 0;
  color: #b5c0b9;
  font-size: 16px;
  line-height: 1.7;
}

.scope-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #e1e6e3;
  font-size: 14px;
}

.scope-list span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 115px;
  text-align: center;
}

.closing-cta > p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px 0 30px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 112px;
  color: #7d8781;
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
  font-size: 13px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 9px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  text-align: right;
}

/* Dashboard */
.dashboard-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 0%, rgba(216, 239, 97, 0.22), transparent 27%),
    var(--paper);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.dashboard-header > a:last-child {
  color: var(--ink-soft);
  font-size: 13px;
}

.dashboard-main {
  padding-block: 68px 110px;
}

.dashboard-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.dashboard-intro h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(43px, 6vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.dashboard-intro p:last-child {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.connection-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 15px 50px rgba(32, 45, 37, 0.08);
}

.connection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.connection-title {
  display: flex;
  align-items: center;
  gap: 13px;
}

.connection-title .platform-pill {
  width: 42px;
  height: 42px;
}

.connection-title h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.connection-title p {
  margin: 0;
  color: #7c8780;
  font-size: 12px;
}

.status-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4e2;
  color: #35613d;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 760;
  text-transform: uppercase;
}

.league-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.league-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f4ed;
}

.league-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.league-card p {
  margin: 0;
  color: #7c8780;
  font-size: 11px;
}

.league-card a {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.empty-state,
.loading-state,
.error-state {
  margin-top: 24px;
  padding: 32px;
  border: 1px dashed rgba(21, 35, 29, 0.22);
  border-radius: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.error-state {
  border-color: rgba(219, 76, 17, 0.32);
  background: #fff7ee;
  color: #8b3816;
}

.panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.link-button {
  border: 0;
  background: transparent;
  color: #7b857f;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .blueprint-wrap {
    width: min(590px, 94%);
    margin-inline: auto;
  }

  .provider-list,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding-block: 32px;
    text-align: left;
  }

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
  }

  .main-nav > a:not(.nav-action) {
    display: none;
  }

  .hero {
    gap: 70px;
    min-height: auto;
    padding-block: 58px 76px;
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 64px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    flex-direction: column;
  }

  .blueprint-shadow {
    inset: 12px -7px -11px 11px;
  }

  .blueprint-heading {
    padding: 22px 20px;
  }

  .blueprint-grid {
    grid-template-columns: 1fr;
  }

  .config-cell:nth-last-child(2) {
    border-bottom: 1px solid rgba(21, 35, 29, 0.08);
  }

  .translation-row {
    grid-template-columns: auto 32px auto 1fr;
    margin-inline: 12px;
    padding: 13px;
  }

  .translation-row .check-mark {
    display: none;
  }

  .provider-list,
  .steps-grid,
  .league-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 86px;
  }

  .scope-section {
    padding-block: 80px;
  }

  .featured-step {
    transform: none;
  }

  .dashboard-intro,
  .connection-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
