/* Daylit - site styles. Colors as tokens; dark mode follows the system. */
:root {
  --bg: #fbf6ec;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5d6576;
  --line: #e8dfcd;
  --sun: #f2a516;
  --sun-deep: #c97a00;
  --accent-ink: #1d2433;
  --panel: #1d2433;
  --ground: #1d2433;
  --radius: 18px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1420;
    --surface: #171e2d;
    --ink: #eef0f5;
    --muted: #a4abbb;
    --line: #273047;
    --sun: #f7b437;
    --sun-deep: #ffc95c;
    --accent-ink: #0f1420;
    --panel: #2c3754;
    --ground: #232c42;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1420; --surface: #171e2d; --ink: #eef0f5; --muted: #a4abbb;
  --line: #273047; --sun: #f7b437; --sun-deep: #ffc95c; --accent-ink: #0f1420; --panel: #2c3754; --ground: #232c42;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

/* Header */
.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 21px; }
.brand-mark { width: 30px; height: 30px; color: var(--sun); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.nav a.lang {
  font-size: 13px; font-weight: 650; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.nav a.lang:hover { border-color: var(--sun); }

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 16px 72px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 48px;
}
.eyebrow {
  display: inline-block; margin: 0 0 18px;
  font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sun-deep);
}
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
.lead { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 650;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--sun); color: var(--accent-ink); }
.btn.primary:hover { background: var(--sun-deep); }
.btn.ghost { border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.from { margin: 26px 0 0; color: var(--muted); }
.from strong { color: var(--ink); font-size: 22px; }

.sunrise { width: 100%; height: auto; display: block; }
.glow-a { stop-color: var(--sun); stop-opacity: .5; }
.glow-b { stop-color: var(--sun); stop-opacity: 0; }
.rays { stroke: var(--sun); }
.sun { fill: var(--sun); }
.panels { fill: var(--panel); }
.panel-lines { stroke: var(--sun); opacity: .35; }
.ground { fill: var(--ground); }
@media (prefers-reduced-motion: no-preference) {
  .rays { animation: shimmer 4s ease-in-out infinite; transform-origin: 200px 230px; }
  @keyframes shimmer { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
}

/* Sections */
.plans, .why, .tech, .cheap, .domain, .faq { max-width: var(--max); margin: 0 auto; padding: 56px 16px; }
h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 780; }
.section-lead { color: var(--muted); max-width: 52ch; margin: 14px 0 34px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
}
.card.featured { border-color: var(--sun); box-shadow: 0 0 0 1px var(--sun); }
.card h3 { font-size: 22px; }
.price { font-size: 40px; font-weight: 800; margin: 14px 0 0; letter-spacing: -0.02em; }
.price .per { font-size: 17px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price .small { font-size: 16px; font-weight: 500; color: var(--muted); margin-right: 4px; }
.billing { color: var(--muted); margin: 4px 0 20px; font-size: 15px; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--line); }
.card li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--sun);
}
.badge {
  position: absolute; top: 26px; right: 24px;
  font-size: 12px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--sun-deep);
  border: 1px solid var(--line);
}

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.point h3 { font-size: 19px; margin-bottom: 8px; }
.point h3::before {
  content: ""; display: block; width: 28px; height: 4px; border-radius: 2px;
  background: var(--sun); margin-bottom: 14px;
}
.point p { margin: 0; color: var(--muted); font-size: 16px; }

/* Containers vs VPS */
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; }
.compare-wrap { margin-top: 34px; }
.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); }
.compare .us { background: var(--surface); color: var(--ink); font-weight: 650; }
.compare thead .us { color: var(--sun-deep); border-top: 3px solid var(--sun); }

/* Why so cheap */
.cheap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cheap-col {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px 22px;
}
.cheap-col h3 { font-size: 19px; margin-bottom: 12px; }
.cheap-col ul { list-style: none; margin: 0; padding: 0; }
.cheap-col li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--line); }
.cheap-col li::before {
  position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; line-height: 1;
}
.cheap-col.yes li::before { content: "✓"; background: var(--sun); color: var(--accent-ink); }
.cheap-col.no li::before { content: "–"; background: var(--line); color: var(--muted); }
.cheap-col.no { background: transparent; }

/* Domain guide */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.steps > li { min-width: 0; }
.steps > li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px 22px 84px;
}
.steps > li::before {
  content: counter(step); position: absolute; left: 26px; top: 22px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color: var(--accent-ink);
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 14px 0 6px; }
.dns { border-collapse: collapse; width: 100%; min-width: 420px; font-size: 15px; }
.dns th, .dns td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dns th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px;
}
.small-note { font-size: 14px; margin-top: 8px !important; }
.tips { margin-top: 30px; }
.tips h3 { font-size: 19px; margin-bottom: 12px; }
.tips dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; }
.tips dt { font-weight: 700; }
.tips dt::before {
  content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--sun); margin-bottom: 10px;
}
.tips dd { margin: 4px 0 0; color: var(--muted); font-size: 16px; }

/* Legal documents */
.doc { max-width: 780px; margin: 0 auto; padding: 32px 16px 40px; }
.doc h1 { font-size: clamp(30px, 5vw, 48px); hyphens: auto; overflow-wrap: break-word; }
.doc-meta { color: var(--muted); font-size: 15px; margin: 12px 0 28px; }
.toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; margin-bottom: 34px;
}
.toc-title { margin: 0 0 8px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2; column-gap: 28px; font-size: 15px; }
.toc li { break-inside: avoid; padding: 3px 0; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose h2 { font-size: 22px; margin: 38px 0 12px; scroll-margin-top: 16px; }
.prose p, .prose li { color: var(--ink); overflow-wrap: break-word; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: inherit; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.prose .intro { font-size: 19px; color: var(--muted); }
.prose .note {
  font-size: 15px; color: var(--muted); border-left: 3px solid var(--sun); padding: 6px 0 6px 14px;
}
.form-box {
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 20px 24px; line-height: 2; overflow-wrap: anywhere;
}
.form-box p { margin: 0 0 10px; }

/* FAQ */
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 650; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 14px;
  font-size: 24px; font-weight: 400; color: var(--sun-deep); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; }
.faq summary:focus-visible, .btn:focus-visible, .nav a:focus-visible {
  outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px;
}

/* Footer */
.foot {
  max-width: var(--max); margin: 40px auto 0; padding: 28px 16px 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.foot p { margin: 4px 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; text-decoration-color: var(--sun); }
.legal span + span::before { content: " · "; }
.legal:empty { display: none; }

/* 404 */
.notfound { max-width: 640px; margin: 0 auto; padding: 80px 16px; text-align: center; }
.notfound p { color: var(--muted); }
.notfound .btn { margin: 8px 4px 0; }

/* Phone */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 28px; }
  .sunrise { max-width: 420px; order: -1; }
  .cards, .cheap-grid { grid-template-columns: 1fr; }
  .steps > li { padding: 22px 20px 20px 72px; }
  .steps > li::before { left: 18px; }
  .toc ol { columns: 1; }
  .grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav a { display: none; }
}
@media (max-width: 480px) {
  .grid, .grid.three { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
}
