/* v270.93: light. The same values as DEFAULTS.appearance in homepage-config-v204.js, which the
   page applies over these; change both together. */
:root {
  --home-page-bg: #f6f8fc;
  --home-page-bg-alt: #eef3fb;
  --home-hero-bg: #ffffff;
  --home-glow-one: #5b8cff;
  --home-glow-two: #5fd4c4;
  --home-text: #0f1b2d;
  --home-muted: #56657b;
  --home-accent: #2563eb;
  --home-primary: #3b6cf6;
  --home-highlight: #2563eb;
  --home-panel: #ffffff;
  --home-panel-strong: #ffffff;
  --home-line: #e2e8f1;
  --home-features-bg: #ffffff;
  --home-create-bg: #eef3ff;
  --home-contact-bg: #ffffff;
  --home-footer-bg: #eef3fb;
  --home-footer-text: #56657b;
  --shape-inner: #ffffff;
  --shape-middle: #a9c8ff;
  --shape-outer: #3b6cf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--home-text);
  font-family: Inter, Segoe UI, system-ui, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--home-glow-one) 16%, transparent), transparent 32%),
    radial-gradient(circle at 80% 5%, color-mix(in srgb, var(--home-glow-two) 16%, transparent), transparent 28%),
    linear-gradient(135deg, var(--home-page-bg), var(--home-page-bg-alt));
}
a { color: inherit; }
[hidden] { display: none !important; }

.hero {
  padding: 24px clamp(18px, 4vw, 64px) 72px;
  background: color-mix(in srgb, var(--home-hero-bg) 45%, transparent);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--home-text);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 850;
}
.brand-mark,
.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
}
.brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--home-accent), var(--home-primary));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--home-accent) 30%, transparent);
}
.brand-logo { object-fit: contain; }
.toplinks { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.toplinks a {
  color: var(--home-muted);
  text-decoration: none;
  font-weight: 650;
}
.toplinks a:hover,
.toplinks a:focus-visible { color: var(--home-text); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 48px;
  max-width: 1180px;
  margin: 72px auto 0;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--home-accent);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 850px;
  margin: 12px 0 22px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: .92;
  white-space: pre-line;
}
.lead {
  max-width: 680px;
  color: var(--home-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  white-space: pre-line;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button,
button {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.primary,
button {
  color: #fff;
  background: linear-gradient(135deg, var(--home-highlight), color-mix(in srgb, var(--home-highlight) 72%, var(--home-glow-two)));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--home-highlight) 24%, transparent);
}
.secondary-button {
  color: var(--home-text);
  border: 1px solid var(--home-line);
  background: var(--home-panel);
  box-shadow: 0 1px 2px rgba(15, 27, 45, .06);
}

.orb-card {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 36px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--home-panel-strong) 82%, transparent), color-mix(in srgb, var(--home-panel) 58%, transparent));
  box-shadow: 0 30px 80px rgba(15, 40, 90, .10);
}
.orb-card.visual-hidden { display: none; }
.hero-grid.visual-hidden-layout-v204,
.hero-grid:has(.orb-card.visual-hidden) { grid-template-columns: minmax(0, 850px); justify-content: center; }
/* v270.93: a whole sphere, centred. It had been a gradient cut off by its own box, which the dark
   theme's glow hid. translate is its own property, so the float animation's transform keeps it. */
.orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(62%, 340px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--shape-inner), var(--shape-middle) 18%, var(--shape-outer) 64%, color-mix(in srgb, var(--shape-outer) 78%, #0f1b2d));
  box-shadow: 0 40px 80px color-mix(in srgb, var(--shape-outer) 28%, transparent), inset -18px -24px 60px color-mix(in srgb, var(--shape-outer) 40%, transparent);
}
.hero-visual-image {
  position: absolute;
  inset: 42px;
  width: calc(100% - 84px);
  height: calc(100% - 84px);
  border-radius: 28px;
  object-fit: contain;
}
.orb-card.is-animated .orb,
.orb-card.is-animated .hero-visual-image { animation: home-float-v204 6s ease-in-out infinite; }
@keyframes home-float-v204 { 50% { transform: translateY(-18px) scale(1.02); } }
.visual-widgets { position: absolute; inset: 0; pointer-events: none; }
.floating-card {
  position: absolute;
  max-width: min(230px, 56%);
  padding: 16px 18px;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--home-panel) 82%, transparent);
  box-shadow: 0 12px 34px rgba(15, 40, 90, .12);
  backdrop-filter: blur(14px);
}
.floating-card strong { display: block; }
.floating-card span { color: var(--home-muted); font-size: .9rem; }
.position-top-left { top: 38px; left: 38px; }
.position-top-right { top: 38px; right: 38px; }
.position-middle-left { top: 50%; left: 28px; transform: translateY(-50%); }
.position-middle-right { top: 50%; right: 28px; transform: translateY(-50%); }
.position-bottom-left { bottom: 42px; left: 48px; }
.position-bottom-right { right: 48px; bottom: 42px; }

.section {
  max-width: 1180px;
  margin: 34px auto;
  padding: 72px clamp(18px, 4vw, 36px);
}
.section-surface { border: 1px solid var(--home-line); border-radius: 34px; box-shadow: 0 20px 60px rgba(15, 40, 90, .05); }
.features-section { background: color-mix(in srgb, var(--home-features-bg) 88%, transparent); }
.create-section { background: color-mix(in srgb, var(--home-create-bg) 88%, transparent); }
.contact-section { background: color-mix(in srgb, var(--home-contact-bg) 88%, transparent); }
.section-heading { max-width: 800px; }
.section h2 {
  margin: 8px 0 26px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  white-space: pre-line;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid article,
.create-card,
.contact-card {
  padding: 24px;
  border: 1px solid var(--home-line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--home-panel) 86%, transparent);
  box-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 32px rgba(15, 40, 90, .06);
}
.feature-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.feature-grid article > span { color: var(--home-highlight); font-weight: 900; }
.feature-grid article h3 { margin: 12px 0 4px; }
.feature-grid article .feature-link { margin-top: auto; color: var(--home-accent); font-weight: 800; }
.feature-grid p,
.create-copy p,
.contact-section p { color: var(--home-muted); line-height: 1.55; white-space: pre-line; }
.create-section,
.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.create-card,
.contact-card { display: grid; gap: 14px; background: color-mix(in srgb, var(--home-panel-strong) 90%, transparent); }
label { display: grid; gap: 7px; color: var(--home-text); font-weight: 750; }
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--home-line);
  border-radius: 14px;
  color: var(--home-text);
  background: var(--home-page-bg);
  font: inherit;
}
.slug-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.slug-row > span { color: var(--home-muted); }
fieldset { display: grid; gap: 9px; padding: 16px; border: 1px solid var(--home-line); border-radius: 18px; }
legend { padding: 0 8px; color: var(--home-accent); font-weight: 850; }
.starting-functions-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
.starting-functions-list label { display: grid; grid-template-columns: auto 1fr; align-items: start; font-weight: 600; }
.starting-functions-list input { width: 18px; height: 18px; margin: 2px 0 0; }
.form-message { margin: 0; color: var(--home-muted); font-size: .94rem; }
.form-message.ok { color: #15803d; }
.form-message.bad { color: #b91c1c; }
.contact-links,
.footer-links { display: flex; gap: 10px 18px; flex-wrap: wrap; }
.contact-links a { color: var(--home-accent); font-weight: 800; }
footer {
  display: flex;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 42px 20px 70px;
  color: var(--home-footer-text);
  background: var(--home-footer-bg);
  text-align: center;
}
.footer-links:empty { display: none; }

/* v196: global public pause screen. */
body.platform-site-paused-v196 { min-height: 100vh; margin: 0; color: #14213d; background: linear-gradient(145deg, #eef5ff, #f8fafc); }
.platform-site-paused-shell-v196 { display: grid; min-height: 100vh; place-items: center; padding: 1.25rem; }
.platform-site-paused-card-v196 { width: min(620px, 100%); padding: clamp(1.5rem, 5vw, 3rem); border: 2px solid #b8d4ef; border-radius: 1.35rem; background: #fff; box-shadow: 0 24px 70px rgba(15, 45, 90, .14); text-align: center; }
.platform-site-paused-card-v196 h1 { margin: .5rem 0 .75rem; color: #144f8c; }
.platform-site-paused-card-v196 p { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.platform-site-paused-icon-v196 { display: inline-grid; width: 3.4rem; height: 3.4rem; place-items: center; border-radius: 999px; color: #fff; background: #144f8c; font-size: 1.45rem; font-weight: 900; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb-card.is-animated .orb,
  .orb-card.is-animated .hero-visual-image { animation: none; }
}
@media (max-width: 860px) {
  .hero-grid,
  .create-section,
  .contact-section { grid-template-columns: 1fr; }
  .orb-card { min-height: 390px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { align-items: flex-start; }
  .hero { padding-bottom: 34px; }
}
@media (max-width: 590px) {
  .topbar { display: grid; }
  .toplinks { justify-content: flex-start; gap: 10px 16px; }
  .feature-grid,
  .starting-functions-list { grid-template-columns: 1fr; }
  .orb-card { min-height: 340px; }
  .orb { width: min(60%, 240px); }
  .hero-visual-image { inset: 26px; width: calc(100% - 52px); height: calc(100% - 52px); }
  .floating-card { padding: 11px 12px; font-size: .86rem; }
  .position-top-left,
  .position-middle-left,
  .position-bottom-left { left: 16px; }
  .position-top-right,
  .position-middle-right,
  .position-bottom-right { right: 16px; }
  .section { margin-block: 18px; border-radius: 0; }
}
