:root {
  --ink: #18241e;
  --muted: #667169;
  --paper: #f4f0e7;
  --paper-bright: #fbf9f4;
  --line: #d9d4c8;
  --green: #176b46;
  --green-dark: #0d4c30;
  --lime: #b9db72;
  --amber: #e9a83f;
  --danger: #a73c32;
  --shadow: 0 24px 80px rgba(32, 51, 41, 0.13);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  min-width: 320px;
  min-height: 100vh;
}

button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.page-noise {
  position: fixed;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(23, 107, 70, 0.08), transparent 28%),
    radial-gradient(circle at 90% 5%, rgba(233, 168, 63, 0.12), transparent 24%),
    linear-gradient(rgba(24, 36, 30, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 36, 30, 0.018) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px 4px 10px 4px;
  background: var(--green);
  color: white;
  font-family: Georgia, serif;
  font-weight: 700;
}

nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 620; }
nav a:hover { color: var(--green); }

.environment-badge,
.secure-pill,
.price-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 720;
}
.environment-badge { color: #7a5312; border-color: #dcbf85; background: #fff3d9; }

.hero {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
  padding: 64px 0 72px;
}

.eyebrow,
.step-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(23, 107, 70, 0.1);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 500;
}
h1 em { color: var(--green); font-weight: 500; }
.hero-intro { max-width: 610px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 680;
  background: rgba(255, 255, 255, 0.35);
}

.hero-art { position: relative; min-height: 390px; display: grid; place-items: center; }
.domain-stamp {
  position: relative;
  z-index: 2;
  width: 230px;
  height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 110px 110px 22px 22px;
  color: var(--paper-bright);
  background: linear-gradient(155deg, #247d57, #0d4c30);
  box-shadow: 0 32px 60px rgba(13, 76, 48, 0.26);
  transform: rotate(4deg);
}
.domain-stamp::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: inherit;
}
.domain-stamp small, .domain-stamp span { position: relative; z-index: 1; font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; }
.domain-stamp strong { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 65px; font-weight: 500; letter-spacing: -0.07em; }
.orbit { position: absolute; border: 1px solid rgba(23, 107, 70, 0.22); border-radius: 50%; }
.orbit-one { width: 360px; height: 190px; transform: rotate(-24deg); }
.orbit-two { width: 310px; height: 310px; border-style: dashed; transform: rotate(15deg); }

.checkout-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(251, 249, 244, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tab-list { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: #eae6dc; }
.tab {
  border: 0;
  padding: 19px;
  background: transparent;
  color: var(--muted);
  font-weight: 760;
  cursor: pointer;
}
.tab + .tab { border-left: 1px solid var(--line); }
.tab.active { background: var(--paper-bright); color: var(--green); box-shadow: inset 0 -3px var(--green); }
.panel { padding: clamp(28px, 5vw, 64px); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.panel-heading h2, .section-heading h2, .status-panel h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.04em; font-weight: 500; }
.panel-copy { max-width: 720px; margin-bottom: 28px; color: var(--muted); line-height: 1.7; }

label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 760; }
input {
  width: 100%;
  height: 54px;
  border: 1px solid #cfc9bc;
  border-radius: 10px;
  padding: 0 15px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 107, 70, 0.1); }
.domain-input-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.domain-input-wrap { position: relative; }
.domain-input-wrap input { height: 66px; padding-right: 82px; font-size: 21px; font-weight: 680; }
.suffix { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 20px; font-weight: 800; }
.field-hint { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

.primary-button,
.secondary-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 10px;
  padding: 0 22px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: 0.6; transform: none; }
.primary-button.compact { min-height: 48px; width: fit-content; }
.secondary-button { margin-top: 24px; background: transparent; color: var(--green); }
.text-button { border: 0; padding: 0; background: transparent; color: var(--green); text-decoration: underline; cursor: pointer; }

.feedback { min-height: 0; margin-top: 18px; font-size: 14px; }
.feedback.error, .feedback.success, .feedback.info { padding: 12px 14px; border-radius: 9px; }
.feedback.error { color: #822c25; background: #f9ded9; border: 1px solid #e8b3aa; }
.feedback.success { color: #0d5937; background: #ddf1e6; border: 1px solid #acd8bf; }
.feedback.info { color: #685019; background: #fff2cf; border: 1px solid #e5cc87; }

.quote-card { margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
.availability-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 24px; border-bottom: 1px solid var(--line); }
.available-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 800; }
.availability-row p { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.availability-row strong { font-size: 19px; }
.quote-price { text-align: right; }
.quote-price strong { display: block; color: var(--green); font-size: 25px; }
.quote-price span { color: var(--muted); font-size: 11px; }
.quote-details { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 20px 24px; background: #f7f5ef; }
.quote-details div { min-width: 0; padding-right: 20px; }
.quote-details dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.quote-details dd { margin: 6px 0 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.checkout-fields { padding: 24px; }
.checkout-fields > input { max-width: 560px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--muted); font-weight: 500; line-height: 1.5; }
.check-row input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--green); }
.paypal-zone { min-height: 45px; max-width: 560px; margin: 0 24px 16px; }
.sandbox-note { margin: 0 24px 24px; color: #80622d; font-size: 11px; }

.stack-form { display: flex; flex-direction: column; gap: 18px; }
.split-fields { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 14px; }
.renewal-options { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.renewal-domain-row { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.renewal-domain-row span { display: block; color: var(--muted); font-size: 12px; }
.renewal-domain-row strong { display: block; margin-top: 4px; font-size: 20px; }
.duration-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 20px 0; }
.duration-button { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #f8f6f0; text-align: left; cursor: pointer; }
.duration-button strong, .duration-button span { display: block; }
.duration-button span { margin-top: 5px; color: var(--green); font-weight: 800; }
.duration-button.selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,107,70,.1); background: #eff7f1; }
.renewal-options .paypal-zone { margin-left: 0; margin-top: 22px; }

.status-panel { text-align: center; }
.status-card { max-width: 620px; margin: 28px auto 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: left; }
.status-card dl { margin: 0; }
.status-card div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #eee; }
.status-card div:last-child { border-bottom: 0; }
.status-card dt { color: var(--muted); }
.status-card dd { margin: 0; font-weight: 750; text-align: right; }

.process-section { padding: 120px 0 90px; }
.section-heading { max-width: 560px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 48px 0 0; list-style: none; }
.process-grid li { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.42); }
.process-grid li > span { color: var(--green); font: 700 13px Georgia, serif; }
.process-grid h3 { margin: 62px 0 9px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; }
.process-grid p { margin: 0; color: var(--muted); line-height: 1.65; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip div { padding: 26px; }
.trust-strip div + div { border-left: 1px solid var(--line); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { margin-bottom: 7px; }
.trust-strip span { color: var(--muted); font-size: 13px; line-height: 1.5; }

footer { min-height: 160px; display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); margin-right: auto; }
footer p { margin: 0; }

dialog { width: min(600px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 18px; padding: 0; background: var(--paper-bright); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(13, 24, 18, 0.58); backdrop-filter: blur(4px); }
dialog form { position: relative; padding: 34px; }
.dialog-close { position: absolute; right: 20px; top: 16px; border: 0; background: transparent; font-size: 27px; cursor: pointer; }
dialog h2 { font-family: Georgia, serif; font-size: 38px; font-weight: 500; letter-spacing: -.04em; }
.terms-copy { color: var(--muted); line-height: 1.65; }

.toast { position: fixed; right: 22px; bottom: 22px; max-width: 380px; padding: 14px 18px; border-radius: 10px; background: var(--ink); color: white; box-shadow: var(--shadow); z-index: 20; font-size: 14px; }

@media (max-width: 820px) {
  .site-header { height: 72px; }
  nav { display: none; }
  .environment-badge { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; gap: 10px; }
  .hero-art { min-height: 340px; }
  .domain-stamp { transform: rotate(2deg) scale(.88); }
  .panel { padding: 28px 20px; }
  .panel-heading { align-items: flex-start; }
  .domain-input-row { grid-template-columns: 1fr; }
  .domain-input-row .primary-button { min-height: 58px; }
  .availability-row { grid-template-columns: auto 1fr; }
  .quote-price { grid-column: 2; text-align: left; }
  .quote-details { grid-template-columns: 1fr; gap: 16px; }
  .split-fields, .process-grid, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  footer { flex-wrap: wrap; padding: 38px 0; }
  .footer-brand { width: 100%; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  h1 { font-size: 48px; }
  .hero-intro { font-size: 16px; }
  .hero-art { display: none; }
  .hero { min-height: auto; padding-bottom: 50px; }
  .tab { padding-inline: 10px; font-size: 13px; }
  .panel-heading { display: block; }
  .price-pill, .secure-pill { display: inline-block; margin-top: 14px; }
  .quote-card { margin-inline: -8px; }
  .availability-row { padding: 18px; }
  .checkout-fields, .quote-details { padding-inline: 18px; }
  .paypal-zone { margin-inline: 18px; }
}

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

