/* eddieBase site stylesheet — clean light redesign */
:root {
  --bg: #f6f4f1;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #5f5953;
  --line: #e4dfd8;
  --accent: #ff6a00;
  --accent-hover: #e45f00;
  --accent-ink: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 244, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  position: relative;
}
.logo {
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.logo span {
  color: var(--accent);
  font-weight: 600;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--accent-hover); color: var(--accent-ink); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
}

/* Homepage hero with illustration */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
}
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-deco svg {
  position: absolute;
  right: -8%;
  top: -18%;
  width: min(820px, 70vw);
  height: auto;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px 40px;
  align-items: center;
}
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hero-in 0.85s ease-out both;
}
.hero-illustration {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  overflow: visible;
}
.hero-float {
  transform-box: fill-box;
  transform-origin: center;
}
.hero-float-a { animation: hero-float 5.6s ease-in-out 0.2s infinite; }
.hero-float-b { animation: hero-float 6.2s ease-in-out 0.8s infinite; }
.hero-float-c { animation: hero-float 5.2s ease-in-out 1.3s infinite; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .hero-float-a,
  .hero-float-b,
  .hero-float-c {
    animation: none;
  }
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 18px;
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.hero-lead {
  margin: 0 0 32px;
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  color: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: #cfc9c0;
}
.btn-secondary:hover { border-color: var(--ink); }
.domain-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  max-width: 32rem;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.domain-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.domain-search button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.domain-search button:hover { background: #000; }

.section { padding: 36px 0 72px; }
.section h2, .page-main h1 {
  margin: 0 0 28px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}
.page-main { padding: 56px 0 72px; }
.page-main h1 { margin-bottom: 12px; }
.page-lead {
  margin: 0 0 28px;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 16px;
  border-radius: 12px;
  background: #efeae4;
}
.card-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); }
.card a.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.card a.card-link:hover { color: var(--accent); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 56px;
  width: calc(100% - 12px);
  height: 2px;
  background: var(--line);
  pointer-events: none;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #fff7f0;
  border: 1.5px solid #ffd2b3;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }

.extras {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.extras-copy { color: var(--muted); max-width: 36rem; }
.extras ul {
  margin: 16px 0 28px;
  padding: 0;
  list-style: none;
}
.extras li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
.extras li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.panel {
  background: var(--ink);
  color: #f4f1ec;
  border-radius: var(--radius);
  padding: 32px;
}
.panel h3 { margin: 0 0 12px; font-size: 1.3rem; }
.panel p { margin: 0 0 18px; color: #d8d2ca; }
.panel .btn-primary { margin-right: 8px; margin-top: 6px; }
.panel .btn-secondary { color: #fff; border-color: #8a847c; }

.final-cta {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 28px;
  box-shadow: var(--shadow);
}
.final-cta h2 { margin: 0 0 12px; }
.final-cta p {
  margin: 0 auto 28px;
  max-width: 36rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.narrow { max-width: 720px; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.2rem;
}
.service-list {
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}
.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form,
.notice,
.sent-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  margin: 0 0 16px;
  font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-feedback {
  margin: 0 0 18px;
  color: #8a3b12;
  font-weight: 600;
}
.notice { color: var(--muted); }
.sent-summary dl { margin: 0; }
.sent-summary dt {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.sent-summary dt:first-child { margin-top: 0; }
.sent-summary dd { margin: 4px 0 0; }

.domain-panel { max-width: 820px; }
.domain-results { margin-top: 1.4rem; overflow-x: auto; }
.domain-results table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.domain-results th,
.domain-results td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.domain-results th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: #faf8f5;
}
.domain-results tr:last-child td { border-bottom: 0; }
.domain-status-yes { color: #2f7d32; font-weight: 600; }
.domain-status-no { color: var(--muted); }
.domain-register {
  display: inline-flex;
  padding: 7px 14px;
  font-size: 0.88rem;
}
.domain-message { margin-top: 1rem; color: var(--muted); }

.visually-hidden {
  position: absolute;
  left: -9999px;
}

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .cards, .steps, .extras { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: 100%; max-width: 500px; margin: 12px auto 0; }
  .hero-deco svg { width: min(640px, 120vw); right: -20%; top: auto; bottom: -10%; }
  .step:not(:last-child)::after {
    top: 48px;
    left: 23px;
    width: 2px;
    height: calc(100% - 36px);
    background: var(--line);
  }
  .step { padding-bottom: 8px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
  }
}

/* Client login link in the header */
.nav { align-items: center; }
.nav .nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.nav .nav-login:hover,
.nav .nav-login[aria-current="page"] { color: var(--ink); border-color: #cfc9c0; }
@media (max-width: 900px) {
  .nav.is-open .nav-login { align-self: flex-start; }
}

/* ---- Form progress (js/forms.js) ---- */
.eb-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.eb-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  cursor: progress !important;
}
.eb-busy [aria-disabled="true"] { cursor: progress; }
.eb-busy [aria-disabled="true"]:not(.eb-loading) { opacity: 0.55; pointer-events: none; }
.eb-loading-label { white-space: nowrap; }
.eb-spinner {
  flex: none;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: eb-spin 0.7s linear infinite;
}
/* Light buttons get a brand-orange spinner; orange/dark buttons keep white. */
.btn-secondary .eb-spinner,
.acc-link-btn .eb-spinner { color: var(--accent, #ff6a00); }
@keyframes eb-spin { to { transform: rotate(360deg); } }

.eb-upload { display: grid; gap: 6px; margin-top: 12px; max-width: 26rem; }
.eb-upload-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line, #e4dfd8);
  overflow: hidden;
}
.eb-upload-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent, #ff6a00);
  transition: width 0.2s ease;
}
.eb-upload-text { font-size: 0.9rem; color: var(--muted, #5f5953); }

/* Domain search: placeholder rows while the registries are checked. */
.domain-results.is-loading table { opacity: 1; }
.domain-skeleton {
  display: inline-block;
  height: 0.8em;
  border-radius: 999px;
  background: linear-gradient(90deg, #eee9e2 0%, #f8f5f1 50%, #eee9e2 100%);
  background-size: 200% 100%;
  animation: eb-shimmer 1.2s ease-in-out infinite;
  vertical-align: middle;
}
.domain-checking { color: var(--muted, #5f5953); display: inline-flex; align-items: center; gap: 0.5em; }
.domain-checking .eb-spinner { color: var(--accent, #ff6a00); }
@keyframes eb-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

@media (prefers-reduced-motion: reduce) {
  .eb-spinner {
    animation: none;
    width: 0.5em;
    height: 0.5em;
    border: 0;
    background: currentColor;
  }
  .domain-skeleton { animation: none; }
  .eb-upload-bar span { transition: none; }
}
