:root{
  --bg: #ffffff;
  --ink: #0b1220;
  --muted: rgba(11, 18, 32, 0.72);
  --line: rgba(11, 18, 32, 0.14);

  --primary: #1a73e8;
  --primary-ink: #ffffff;

  --shadow-1: 0 1px 2px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.06);
  --shadow-2: 0 14px 56px rgba(0,0,0,0.12);

  --radius: 14px;
  --radius-lg: 18px;
  --max: 1120px;

  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

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

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip{
  position: absolute;
  left: -999px;
  top: 0;
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
}
.skip:focus{ left: 12px; top: 12px; z-index: 50; }

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand__name{
  font-weight: 850;
  letter-spacing: -0.015em;
}
.brand__tag{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.topbar__actions{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Links */
.link{
  color: rgba(11,18,32,0.78);
  text-decoration: none;
  font-weight: 650;
  position: relative;
}
.link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  opacity: 0.28;
}
.link:hover{ color: rgba(11,18,32,1); }
.link:hover::after{ transform: scaleX(1); }

.inline{
  color: var(--primary);
  text-decoration: none;
  font-weight: 650;
}
.inline:hover{ text-decoration: underline; }

/* Buttons */
.btn{
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 780;
  transform: translateZ(0);
  transition: transform 160ms cubic-bezier(.2,.9,.2,1),
              box-shadow 180ms cubic-bezier(.2,.9,.2,1),
              border-color 180ms ease,
              background 180ms ease,
              color 180ms ease;
}

.btn:hover{
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--shadow-1);
  border-color: rgba(11,18,32,0.22);
}
.btn:active{
  transform: translateY(0px) scale(0.985);
  box-shadow: none;
}

.btn--primary{
  background: var(--primary);
  border-color: rgba(26,115,232,0.70);
  color: var(--primary-ink);
}
.btn--primary:hover{ box-shadow: var(--shadow-2); }

.btn--ghost{
  background: rgba(26,115,232,0.06);
  border-color: rgba(26,115,232,0.18);
  color: #114a9a;
}
.btn--ghost:hover{
  background: rgba(26,115,232,0.08);
  border-color: rgba(26,115,232,0.34);
}

/* Ripple */
.ripple{
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: ripple 640ms ease-out forwards;
}
.btn .ripple{ background: rgba(11,18,32,0.12); }
.btn--primary .ripple{ background: rgba(255,255,255,0.55); }

@keyframes ripple{
  from{ opacity: 0.0; transform: translate(-50%,-50%) scale(0.8); }
  15%{ opacity: 0.9; }
  to{ opacity: 0; transform: translate(-50%,-50%) scale(18); }
}

/* Hero */
.hero{
  position: relative;
  padding: 58px 0 28px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: -140px -120px -160px -120px;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(26,115,232,0.12), transparent 55%),
    radial-gradient(900px 600px at 90% 30%, rgba(26,115,232,0.08), transparent 50%),
    radial-gradient(700px 480px at 55% 90%, rgba(26,115,232,0.06), transparent 55%);
  filter: saturate(115%);
  animation: drift 16s ease-in-out infinite;
  z-index: -2;
}

@keyframes drift{
  0%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(-18px, 14px, 0) scale(1.02); }
  100%{ transform: translate3d(0,0,0) scale(1); }
}

.hero__inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.kicker{
  display: inline-block;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11,18,32,0.62);
  background: rgba(11,18,32,0.04);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(11,18,32,0.08);
}

.title{
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.subtitle{
  margin: 0 0 18px;
  font-size: 16px;
  color: rgba(11,18,32,0.78);
  max-width: 62ch;
}

.cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.meta{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.meta__item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 12px;
  background: rgba(255,255,255,0.78);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.meta__item:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-1);
  border-color: rgba(11,18,32,0.20);
}
.meta__label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 760;
}
.meta__value{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 760;
}

/* Right panel */
.hero__panel{ position: relative; padding: 6px 0 0; }

.panel{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms cubic-bezier(.2,.9,.2,1);
}
.panel:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.panel__top{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(11,18,32,0.02);
}

.dot{ width: 10px; height: 10px; border-radius: 99px; }
.dot--r{ background: #ea4335; }
.dot--y{ background: #fbbc04; }
.dot--g{ background: #34a853; }
.panel__title{
  margin-left: 6px;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(11,18,32,0.62);
}

.panel__body{ padding: 14px 14px 16px; }

.chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  margin: 0 8px 10px 0;
  border-radius: 999px;
  border: 1px solid rgba(26,115,232,0.18);
  background: rgba(26,115,232,0.06);
  color: rgba(17,74,154,0.95);
  font-weight: 760;
  font-size: 13px;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease;
}
.chip:hover{
  transform: translateY(-1px);
  background: rgba(26,115,232,0.08);
  border-color: rgba(26,115,232,0.28);
}

.divider{ height: 1px; background: var(--line); margin: 10px 0 12px; }

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  color: rgba(11,18,32,0.80);
}
.mono ul{ margin: 8px 0 0 18px; padding: 0; }
.mono li{ margin: 4px 0; }

.bg-grid{
  position: absolute;
  inset: 18px -8px -22px 18px;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(11,18,32,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(closest-side at 60% 40%, rgba(0,0,0,0.8), transparent 70%);
  opacity: 0.55;
  border-radius: 22px;
}

.halo{
  position: absolute;
  inset: -40px -40px -40px -40px;
  z-index: -3;
  background: radial-gradient(closest-side at 70% 20%, rgba(26,115,232,0.14), transparent 55%);
  opacity: 0.85;
  animation: floaty 7.5s ease-in-out infinite;
}
@keyframes floaty{
  0%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(-6px, 6px, 0); }
  100%{ transform: translate3d(0,0,0); }
}

/* Sections */
.section{ padding: 34px 0 44px; }
.h2{ margin: 0 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.p{ margin: 12px 0 0; color: rgba(11,18,32,0.78); max-width: 86ch; }

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
  padding: 16px 16px;
  transition: transform 180ms ease, box-shadow 220ms ease;
}
.card:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}

.list{ margin: 0; padding-left: 18px; line-height: 1.8; }

.notice{
  margin-top: 16px;
  border: 1px solid rgba(26,115,232,0.22);
  background: rgba(26,115,232,0.06);
  color: rgba(11,18,32,0.84);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(11,18,32,0.02);
}
.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}
.footer__brand{ font-weight: 860; }
.footer__muted{ margin-top: 4px; font-size: 12px; color: rgba(11,18,32,0.66); }
.footer__links{ display: flex; gap: 14px; flex-wrap: wrap; }

/* Reveal animation */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.9,.2,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in{
  opacity: 1;
  transform: translateY(0px);
}

@media (max-width: 920px){
  .hero__inner{ grid-template-columns: 1fr; }
  .title{ font-size: 38px; }
  .meta{ grid-template-columns: 1fr; }
  .topbar__actions .link{ display: none; }
}

.hero-price{
  margin-top:24px;
  padding:18px 20px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fafafa;
}
.hero-price-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#666;
  margin-bottom:6px;
}
.hero-price-value{
  font-size:28px;
  font-weight:700;
  margin-bottom:4px;
}
.hero-price-note{
  font-size:13px;
  color:#666;
}


/* Price block */
.price-block{
  margin: 14px 0 18px;
  padding: 16px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,115,232,0.22);
  background: linear-gradient(135deg, rgba(26,115,232,0.10), rgba(26,115,232,0.04));
  box-shadow: var(--shadow-1);
  max-width: 520px;
}
.price-label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 860;
  color: rgba(11,18,32,0.64);
}
.price-value{
  margin-top: 6px;
  font-size: 34px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: rgba(11,18,32,0.96);
}
.price-note{
  margin-top: 8px;
  font-size: 13px;
  font-weight: 650;
  color: rgba(11,18,32,0.74);
}


/* Process stepper */
.process-step{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 6px 0 6px;
}
.step{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-1);
}
.step__n{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(26,115,232,0.10);
  border: 1px solid rgba(26,115,232,0.20);
  font-weight: 900;
  font-size: 12px;
  color: rgba(17,74,154,0.95);
}
.step__t{ font-weight: 760; font-size: 13px; color: rgba(11,18,32,0.84); }

/* Two-up micro cards */
.two-up{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.mini{ padding: 14px 14px; }
.mini__h{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
@media (max-width: 920px){
  .two-up{ grid-template-columns: 1fr; }
}

/* Modal + form */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 60;
}
.modal.is-open{ display:flex; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(11,18,32,0.46);
  backdrop-filter: blur(6px);
  animation: fadeIn 180ms ease;
}
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

.modal__panel{
  position: relative;
  width: min(760px, 100%);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(11,18,32,0.12);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  animation: popIn 220ms cubic-bezier(.2,.9,.2,1);
}
@keyframes popIn{
  from{ opacity:0; transform: translateY(10px) scale(0.985); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}

.modal__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(11,18,32,0.02);
}
.modal__title{ font-weight: 950; letter-spacing: -0.02em; }
.iconbtn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:#fff;
  font-size: 20px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 180ms ease;
}
.iconbtn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-1); }
.iconbtn:active{ transform: translateY(0px) scale(0.98); box-shadow:none; }

.form{ padding: 16px 16px 18px; }
.form__row{ margin-bottom: 12px; }
.form__row.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .form__row.two{ grid-template-columns: 1fr; }
}

label{ display:block; font-weight: 820; font-size: 12px; color: rgba(11,18,32,0.70); margin-bottom: 6px; }
input, select, textarea{
  width: 100%;
  border: 1px solid rgba(11,18,32,0.16);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: rgba(11,18,32,0.92);
  transition: border-color 160ms ease, box-shadow 180ms ease, transform 160ms ease;
}
input:focus, select:focus, textarea:focus{
  outline: none;
  border-color: rgba(26,115,232,0.55);
  box-shadow: 0 0 0 4px rgba(26,115,232,0.12);
}
textarea{ resize: vertical; }

.form__row.small{ margin-top: 6px; }
.check{ display:flex; gap:10px; align-items:flex-start; font-weight: 650; color: rgba(11,18,32,0.78); }
.check input{ width: 18px; height: 18px; margin-top: 2px; }
.hint{ margin-top: 8px; font-size: 12px; color: rgba(11,18,32,0.66); }

.form__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form__status{
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(11,18,32,0.78);
}
.form__status.ok{ color: rgba(24,120,57,0.95); }
.form__status.bad{ color: rgba(176,39,39,0.95); }

/* Field hint + validation */
.fieldhint{
  margin-top: 7px;
  font-size: 12px;
  color: rgba(11,18,32,0.62);
}
.fieldhint strong{ color: rgba(11,18,32,0.78); }
.fielderror{
  margin-top: 7px;
  font-size: 12px;
  font-weight: 750;
  color: rgba(176,39,39,0.95);
}
.input--bad{
  border-color: rgba(176,39,39,0.55) !important;
  box-shadow: 0 0 0 4px rgba(176,39,39,0.12) !important;
}
.shake{
  animation: shake 240ms ease;
}
@keyframes shake{
  0%{ transform: translateX(0); }
  25%{ transform: translateX(-3px); }
  50%{ transform: translateX(3px); }
  75%{ transform: translateX(-2px); }
  100%{ transform: translateX(0); }
}
