/* ==========================================================================
   THAIE — Coming Soon
   Palette: Saffron / Navy(Chakra) / India Green / Paper / Ink / Gold
   Display: Fraunces  |  Body: Manrope  |  Script accent: Caveat
   ========================================================================== */

:root{
  --saffron: #FF9933;
  --saffron-deep: #E17A1E;
  --navy: #0A1F44;
  --navy-deep: #061530;
  --green: #0F7B3D;
  --green-deep: #0A5C2C;
  --paper: #FBF8F2;
  --paper-dim: #F3EEE3;
  --ink: #12161C;
  --ink-soft: #4A5160;
  --gold: #C9A24B;
  --white: #FFFFFF;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-script: "Caveat", cursive;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow-soft: 0 20px 50px -20px rgba(10, 31, 68, 0.35);
  --shadow-card: 0 12px 30px -14px rgba(10, 31, 68, 0.25);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3{ font-family: var(--font-display); margin: 0; }
p{ margin: 0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.wrap{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- tricolour rule ---------- */
.flag-rule{ display:flex; width:100%; height:6px; }
.flag-rule__band{ flex:1; }
.flag-rule__band--saffron{ background: var(--saffron); }
.flag-rule__band--white{ background: var(--white); }
.flag-rule__band--green{ background: var(--green); }
.flag-rule--footer{ height:5px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn .icon{ width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn--primary{
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: var(--navy-deep);
  box-shadow: 0 14px 30px -12px rgba(255,153,51,0.65);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(255,153,51,0.75); }
.btn--outline{
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn--outline:hover{ border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--ghost{
  background: rgba(10,31,68,0.06);
  color: var(--navy);
  border-color: rgba(10,31,68,0.12);
}
.btn--ghost:hover{ background: rgba(10,31,68,0.1); }
.btn--small{ padding: 10px 18px; font-size: 0.88rem; }
.btn--block{ width: 100%; }
.btn[disabled]{ opacity: .7; cursor: progress; }
.btn__spinner{
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(10,31,68,0.25);
  border-top-color: var(--navy-deep);
  display: none;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner{ display: inline-block; }
.btn.is-loading .btn__text{ opacity: .75; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ---------- header ---------- */
.site-header{
  background: var(--paper);
  border-bottom: 1px solid rgba(10,31,68,0.08);
}
.site-header__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 24px;
  flex-wrap: wrap;
}
.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-width: 0; }
.brand__logo{
  width: clamp(110px, 20vw, 200px);
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  border-radius: 0px;
  background: transparent;
  padding: 0px;
}
.brand__name{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.brand__tag{
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.header-ctas{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
  justify-content: flex-end;
  min-width: 0;
}
.header-call{ flex-shrink: 0; }

@media (max-width: 860px){
  .header-ctas{ flex: 1 1 auto; justify-content: flex-end; }
  .btn--small{ padding: 9px 14px; font-size: 0.82rem; }
}

@media (max-width: 640px){
  .site-header__row{
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 18px;
  }
  .brand{ align-self: center; }
  .header-ctas{
    width: 100%;
    justify-content: center;
  }
  .btn--small{ flex: 1 1 auto; }
}

@media (max-width: 380px){
  .header-ctas{ flex-direction: column; align-items: stretch; }
  .btn--small{ width: 100%; }
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(255,153,51,0.20), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(15,123,61,0.28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 65%, #050d1e 100%);
  color: var(--white);
  padding: 68px 0 88px;
  overflow: hidden;
}
.hero__chakra{
  position: absolute;
  top: 50%; right: -10%;
  width: 720px; height: 720px;
  transform: translateY(-50%);
  opacity: 0.08;
  pointer-events: none;
}
.chakra-bg{ width: 100%; height: 100%; animation: rotate-slow 90s linear infinite; }
.chakra-bg__ring{ fill: none; stroke: var(--white); stroke-width: 1.4; }
@keyframes rotate-slow{ to{ transform: rotate(360deg); } }

.hero__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow{
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 18px;
}
.eyebrow--dark{ color: var(--green-deep); }
.hero__title{
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 700;
  line-height: 1.04;
  color: var(--white);
}
.hero__title-sub{
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.82);
}
.hero__script{
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  color: var(--saffron);
  margin: 14px 0 20px;
}
.hero__lede{
  max-width: 480px;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 34px;
}
.hero__ctas{ display: flex; flex-wrap: wrap; gap: 14px; }

/* chakra countdown — signature element */
.hero__countdown{ display: flex; flex-direction: column; align-items: center; gap: 18px; }
.chakra-clock{
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1/1;
}
.chakra-clock__svg{ width: 100%; height: 100%; }
.chakra-clock__outer{ fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0.55; }
.chakra-clock__inner{ fill: rgba(255,255,255,0.03); stroke: var(--saffron); stroke-width: 2; }
.chakra-clock__spokes{ animation: rotate-slow 140s linear infinite; transform-origin: 160px 160px; }
.chakra-clock__spokes line{ stroke: var(--saffron); stroke-width: 1.6; opacity: 0.75; }
.chakra-clock__hub{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.chakra-clock__label{
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.chakra-clock__digits{ display: flex; gap: clamp(6px, 2.4vw, 14px); flex-wrap: nowrap; }
.digit-block{ display: flex; flex-direction: column; align-items: center; min-width: 0; }
.digit-block span{
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 5vw, 2rem);
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.digit-block small{
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.chakra-clock__caption{
  font-family: var(--font-script);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
}

/* ---------- benefits ---------- */
.benefits{ padding: 96px 0 88px; background: var(--paper); }
.section-head{ max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-title{
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.section-title--light{ color: var(--white); }

.benefits__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.benefit-card{
  background: var(--white);
  border: 1px solid rgba(10,31,68,0.07);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(10,31,68,0.3); }
.benefit-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  margin-bottom: 18px;
}
.benefit-card__icon svg{ width: 24px; height: 24px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card__icon--saffron{ background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); }
.benefit-card__icon--green{ background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.benefit-card__icon--navy{ background: linear-gradient(135deg, var(--navy), var(--navy-deep)); }
.benefit-card h3{
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.benefit-card p{ color: var(--ink-soft); font-size: 0.94rem; line-height: 1.55; }

.benefits__signoff{
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--green-deep);
  margin-top: 52px;
}

/* ---------- register ---------- */
.register{
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 96px 0;
  position: relative;
}
.register__grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}
.register__text{
  color: rgba(255,255,255,0.75);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 20px 0 26px;
  max-width: 460px;
}
.register__points{ display: flex; flex-direction: column; gap: 12px; }
.register__points li{
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.98rem;
}
.register__points li::before{
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.form-card{
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-soft);
}
.form-row{ margin-bottom: 20px; }
.form-row--split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}
.form-row--split > div{ margin-bottom: 20px; }
.form-row label{
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.optional{ font-weight: 500; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.form-row input, .form-row textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(10,31,68,0.15);
  background: var(--white);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input:focus, .form-row textarea:focus{
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(255,153,51,0.16);
  outline: none;
}
.form-row textarea{ resize: vertical; min-height: 90px; }
.form-row--honeypot{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status{
  min-height: 20px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}
.form-status.is-success{ color: var(--green-deep); }
.form-status.is-error{ color: #B3261E; }
.form-fine{
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.5;
}

/* ---------- footer ---------- */
.site-footer{ background: var(--ink); color: rgba(255,255,255,0.85); }
.site-footer__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 24px 34px;
  flex-wrap: wrap;
}
.footer-brand{ display: flex; align-items: center; gap: 14px; }
.footer-brand__logo{ width: 44px; height: 44px; object-fit: contain; border-radius: 9px; background: var(--white); padding: 4px; }
.footer-brand__name{ font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--white); }
.footer-brand__tag{ font-size: 0.78rem; color: rgba(255,255,255,0.55); max-width: 260px; }
.footer-contact{ display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.footer-contact a{ color: rgba(255,255,255,0.75); transition: color .15s ease; }
.footer-contact a:hover{ color: var(--saffron); }
.footer-call{ display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--saffron) !important; }
.footer-call .icon{ width: 16px; height: 16px; fill: currentColor; }
.footer-social{ display: flex; gap: 12px; }
.footer-social a{
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background .18s ease, transform .18s ease;
}
.footer-social a:hover{ background: var(--saffron); transform: translateY(-2px); }
.footer-social svg{ width: 18px; height: 18px; fill: var(--white); }
.site-footer__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.hashtag{ color: var(--saffron); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; gap: 48px; }
  .hero__countdown{ order: -1; }
  .hero__lede{ max-width: none; }
  .benefits__grid{ grid-template-columns: repeat(2, 1fr); }
  .register__grid{ grid-template-columns: 1fr; }
  .hero__chakra{ opacity: 0.05; }
}
@media (max-width: 620px){
  .wrap{ padding: 0 18px; }
  .hero{ padding: 48px 0 64px; }
  .hero__ctas{ flex-direction: column; align-items: stretch; }
  .benefits__grid{ grid-template-columns: 1fr; }
  .form-row--split{ grid-template-columns: 1fr; }
  .form-card{ padding: 26px; }
  .site-footer__top{ flex-direction: column; align-items: flex-start; }
  .site-footer__bottom{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px){
  .wrap{ padding: 0 14px; }
  .chakra-clock{ width: min(260px, 84vw); }
  .chakra-clock__label{ font-size: 0.62rem; }
  .chakra-clock__digits{ gap: 6px; }
  .digit-block small{ font-size: 0.52rem; }
  .hero__script{ font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .btn{ padding: 13px 20px; font-size: 0.92rem; }
  .form-card{ padding: 20px; }
}