@font-face {
  font-family: "Berber King Caps";
  src: local("Berber King Caps");
  font-display: swap;
}

@font-face {
  font-family: "October Devanagari";
  src: local("October Devanagari"), local("October Devanagari Light");
  font-display: swap;
}

:root {
  --gold: #FEC600;
  --green: #52C048;
  --white: #FFFFFF;
  --ink: #161616;
  --muted: #4A4A42;
  --paper: #FFFDF5;
  --line: rgba(22, 22, 22, 0.16);
  --display: "Berber King Caps", "Arial Black", Impact, sans-serif;
  --body: "October Devanagari", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --max: 1240px;
  --edge: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 24px;
  top: -70px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.edge {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  width: var(--edge);
  pointer-events: none;
}
.edge--left { left: 0; background: var(--gold); }
.edge--right { right: 0; background: var(--green); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(calc(100% - 72px), var(--max));
  margin: 0 auto;
  padding: 30px 0;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: .88;
}
.wordmark__lead {
  font-family: var(--display);
  font-size: 29px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.wordmark__tail {
  margin-top: 7px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.header-link {
  margin-top: 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  min-height: 790px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr);
  gap: clamp(50px, 6vw, 105px);
  align-items: center;
  padding: 145px max(55px, calc((100vw - var(--max)) / 2)) 90px;
  background: var(--gold);
  overflow: hidden;
}

.hero__copy { max-width: 740px; }

.eyebrow {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow--green { color: #288F31; }

h1, h2, h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .94;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(58px, 6.2vw, 104px);
  letter-spacing: -.018em;
}

.hero__intro {
  max-width: 720px;
  margin: 0 0 34px;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.38;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 2px solid var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--ink);
}
.button--primary {
  background: var(--green);
}
.button--secondary {
  background: transparent;
}

.launch-note {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.hero__diagram {
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 38px 32px 32px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 14px 14px 0 var(--green);
}

.diagram-heading {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: 26px;
  text-transform: uppercase;
}

.diagram-stage {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px 18px;
  border: 2px solid var(--ink);
}

.diagram-stage strong {
  display: block;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.diagram-stage small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.diagram-number {
  font-family: var(--display);
  font-size: 31px;
}

.diagram-stage--one { background: #FFF8D6; }
.diagram-stage--two { background: #F7F7F2; }
.diagram-stage--three { background: #DFF5DF; }

.diagram-connector {
  width: 2px;
  height: 19px;
  margin-left: 27px;
  background: var(--ink);
}

.diagram-mark {
  position: absolute;
  right: -52px;
  bottom: -58px;
  width: 164px;
  color: var(--green);
  transform: rotate(-5deg);
}

.method {
  padding: 120px max(55px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(45px, 8vw, 135px);
  align-items: end;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 5vw, 77px);
}

.section-heading > p:last-child {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.5;
}

.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.outcome {
  min-height: 315px;
  padding: 34px 34px 40px;
}
.outcome + .outcome { border-left: 2px solid var(--ink); }
.outcome span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  border: 2px solid var(--ink);
  background: var(--gold);
  font-family: var(--display);
  font-size: 20px;
}
.outcome:nth-child(3) span { background: var(--green); }
.outcome h3 {
  margin-bottom: 18px;
  font-size: 32px;
}
.outcome p { margin: 0; }

.register {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(50px, 7vw, 120px);
  align-items: center;
  padding: 100px max(55px, calc((100vw - var(--max)) / 2));
  background: var(--green);
}

.register h2 {
  max-width: 570px;
  margin-bottom: 22px;
  font-size: clamp(47px, 5vw, 76px);
}
.register__copy > p:last-child {
  max-width: 570px;
  margin-bottom: 0;
  font-size: 20px;
}

.interest-form {
  padding: 34px;
  border: 3px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--gold);
}

.interest-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.interest-form__row {
  display: grid;
  grid-template-columns: 1fr auto;
}

.interest-form input,
.interest-form button {
  min-height: 58px;
  border: 2px solid var(--ink);
  border-radius: 0;
  font: inherit;
}

.interest-form input {
  min-width: 0;
  padding: 12px 16px;
  background: var(--paper);
  outline: 0;
}

.interest-form input:focus {
  box-shadow: inset 0 0 0 3px var(--gold);
}

.interest-form button {
  margin-left: -2px;
  padding: 12px 22px;
  background: var(--gold);
  font-weight: 900;
  cursor: pointer;
}

.form-note,
.form-status {
  margin: 13px 0 0;
  font-size: 13px;
  line-height: 1.45;
}
.form-status { font-weight: 800; }
.form-note a { font-weight: 800; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  justify-content: space-between;
  padding: 32px max(55px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}
.site-footer p { margin: 0; }
.site-footer a { font-weight: 800; }

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 145px;
  }
  .hero__diagram {
    max-width: none;
    justify-self: stretch;
  }
  .section-heading,
  .register {
    grid-template-columns: 1fr;
  }
  .section-heading { row-gap: 28px; }
  .outcomes { grid-template-columns: 1fr; }
  .outcome { min-height: auto; }
  .outcome + .outcome {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }
}

@media (max-width: 650px) {
  :root { --edge: 8px; }

  body { font-size: 17px; }

  .site-header {
    width: auto;
    left: 30px;
    right: 30px;
    padding-top: 24px;
  }

  .wordmark__lead { font-size: 22px; }
  .wordmark__tail { font-size: 12px; }
  .header-link { display: none; }

  .hero,
  .method,
  .register {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero {
    min-height: 0;
    padding-top: 130px;
    padding-bottom: 78px;
  }

  h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero__intro { font-size: 19px; }

  .hero__actions {
    display: grid;
  }

  .button { width: 100%; }

  .hero__diagram {
    padding: 26px 20px 23px;
    box-shadow: 8px 8px 0 var(--green);
  }

  .diagram-stage {
    grid-template-columns: 42px 1fr;
    padding: 15px 13px;
  }

  .diagram-stage strong { font-size: 22px; }
  .diagram-mark { display: none; }

  .method,
  .register { padding-top: 78px; padding-bottom: 78px; }

  .section-heading { margin-bottom: 45px; }
  .section-heading h2,
  .register h2 { font-size: 49px; }

  .outcome { padding: 28px 24px 32px; }
  .outcome span { margin-bottom: 28px; }

  .interest-form {
    padding: 23px;
    box-shadow: 8px 8px 0 var(--gold);
  }

  .interest-form__row { grid-template-columns: 1fr; }
  .interest-form button { margin: -2px 0 0; }

  .site-footer {
    display: grid;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


.kingya-wrap{
  position:absolute;
  right:-90px;
  bottom:-128px;
  width:285px;
  height:285px;
  pointer-events:none;
  transform:rotate(-8deg);
}
.kingya{
  width:100%;
  height:100%;
  display:block;
  filter: drop-shadow(8px 8px 0 rgba(82,192,72,.45));
}
.kingya-stamp{
  margin-top:26px;
  width:180px;
}
.kingya-stamp svg{
  width:100%;
  height:auto;
  display:block;
}
@media (max-width:650px){
  .kingya-wrap{
    right:-34px;
    bottom:-70px;
    width:170px;
    height:170px;
  }
  .kingya-stamp{width:120px;}
}


.kingya-wrap{
  position:absolute;
  right:-70px;
  bottom:-118px;
  width:340px;
  height:auto;
  pointer-events:none;
  transform:rotate(-6deg);
}
.kingya-image{
  width:100%;
  height:auto;
  display:block;
  filter: drop-shadow(10px 14px 0 rgba(82,192,72,.35));
}
@media (max-width:980px){
  .kingya-wrap{
    right:-18px;
    bottom:-86px;
    width:250px;
  }
}
@media (max-width:650px){
  .kingya-wrap{
    right:-10px;
    bottom:-58px;
    width:175px;
  }
}


.hero{
  grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr);
  gap: clamp(30px, 5vw, 90px);
}
.hero__copy{
  max-width: 690px;
}
.hero__intro{
  max-width: 620px;
}
.hero__kingya{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 430px;
}
.hero__kingya-image{
  width:100%;
  max-width: 470px;
  height:auto;
  display:block;
  filter: drop-shadow(16px 18px 0 rgba(82,192,72,.35));
}
.hero__diagram--below{
  position:relative;
  right:auto;
  bottom:auto;
  max-width: 620px;
  margin: 28px 0 60px;
  box-shadow: 14px 14px 0 var(--green);
}
.kingya-wrap,.kingya-image{display:none !important;}

@media (max-width:980px){
  .hero{
    grid-template-columns: 1fr;
  }
  .hero__kingya{
    min-height: 0;
    justify-content:flex-start;
  }
  .hero__kingya-image{
    max-width: 360px;
  }
  .hero__diagram--below{
    max-width:none;
    margin-bottom: 42px;
  }
}
@media (max-width:650px){
  .hero__kingya-image{
    max-width: 250px;
  }
}


/* Final overrides */
.hero{
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr) !important;
  gap:clamp(30px,5vw,85px) !important;
}
.hero__diagram:not(.hero__diagram--below){display:none !important;}
.hero__kingya{
  display:flex !important;
  align-items:flex-end;
  justify-content:center;
  min-height:460px;
}
.hero__kingya-image{
  display:block !important;
  width:100%;
  max-width:520px;
  height:auto;
  filter:drop-shadow(16px 18px 0 rgba(82,192,72,.35));
}
.hero__diagram--below{
  display:block !important;
  position:relative !important;
  max-width:620px;
  margin:28px 0 60px;
}
@media (max-width:980px){
 .hero{grid-template-columns:1fr !important;}
 .hero__kingya{min-height:0;}
 .hero__kingya-image{max-width:360px;}
}
@media (max-width:650px){
 .hero__kingya-image{max-width:260px;}
}


/* Larger Kingya, no drop shadow */
.hero__kingya{
  min-height: 760px !important;
  align-items: center !important;
}
.hero__kingya-image{
  max-width: 720px !important;
  width: 100% !important;
  filter: none !important;
}
@media (max-width:980px){
  .hero__kingya{
    min-height: 0 !important;
  }
  .hero__kingya-image{
    max-width: 520px !important;
  }
}
@media (max-width:650px){
  .hero__kingya-image{
    max-width: 340px !important;
  }
}


/* Force hero Kingya to be dramatically larger */
.hero{
  align-items: center !important;
}
.hero__kingya{
  min-height: 980px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.hero__kingya-image{
  display:block !important;
  width:auto !important;
  height: 860px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
}
@media (max-width:980px){
  .hero__kingya{
    min-height: 0 !important;
  }
  .hero__kingya-image{
    height: 520px !important;
    width:auto !important;
  }
}
@media (max-width:650px){
  .hero__kingya-image{
    height: 320px !important;
    width:auto !important;
  }
}


/* Hero spacing correction: keep Kingya large without vertically centring the copy */
.hero{
  min-height: 760px !important;
  padding-top: 112px !important;
  padding-bottom: 54px !important;
  align-items: start !important;
}
.hero__copy{
  align-self: start !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.hero__copy .eyebrow{
  margin-top: 0 !important;
}
.hero__kingya{
  min-height: 0 !important;
  height: 650px !important;
  align-self: start !important;
  margin-top: -24px !important;
  overflow: visible !important;
}
.hero__kingya-image{
  height: 760px !important;
  width: auto !important;
  max-width: none !important;
  filter: none !important;
}

@media (max-width:980px){
  .hero{
    padding-top: 116px !important;
  }
  .hero__kingya{
    height: 430px !important;
    margin-top: 10px !important;
  }
  .hero__kingya-image{
    height: 500px !important;
  }
}

@media (max-width:650px){
  .hero{
    padding-top: 110px !important;
  }
  .hero__kingya{
    height: 285px !important;
  }
  .hero__kingya-image{
    height: 330px !important;
  }
}


/* Method introduction: copy left, system diagram right, aligned at the top */
.method-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(430px,.86fr);
  gap:clamp(54px,7vw,112px);
  align-items:start;
  margin-bottom:72px;
}
.method-copy{
  max-width:690px;
}
.method-copy .eyebrow{
  margin-bottom:18px;
}
.method-copy h2{
  margin-bottom:28px;
  font-size:clamp(48px,5vw,77px);
}
.method-copy > p:last-child{
  max-width:650px;
  margin:0;
  font-size:21px;
  line-height:1.5;
}
.method-intro .hero__diagram--below{
  align-self:start;
  width:100%;
  max-width:none;
  margin:0 !important;
}
@media (max-width:980px){
  .method-intro{
    grid-template-columns:1fr;
    gap:42px;
    margin-bottom:54px;
  }
  .method-intro .hero__diagram--below{
    max-width:680px;
  }
}
@media (max-width:650px){
  .method-intro{
    gap:34px;
  }
  .method-copy > p:last-child{
    font-size:18px;
  }
}


/* Reduce opening body copy so the hero CTAs remain above the fold */
.hero__intro{
  font-size: clamp(17px, 1.35vw, 20px) !important;
  line-height: 1.38 !important;
  margin-bottom: 26px !important;
}
