:root {
  --fog: #F3F6F9;
  --paper: #FFFFFF;
  --ink: #14213D;
  --muted: #56667D;
  --line: #D6DFE9;
  --teal: #0E7C7B;
  --teal-deep: #0A5E5D;
  --teal-wash: #E3F1F0;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.site-head { padding: 28px 0; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.wordmark span { color: var(--teal); }
.head-link { font-weight: 600; font-size: 0.95rem; }

/* Hero */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34em; margin: 0 0 28px; }

.address {
  font-weight: 800;
  font-size: clamp(2.1rem, 7.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  overflow-wrap: anywhere;
}
.address .at { color: var(--teal); }
.address .domain { border-bottom: 0.06em solid var(--teal); }

.try {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 0.98rem;
}
.try label { font-weight: 600; color: var(--ink); }
.try input {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 0;
  width: min(320px, 100%);
}
.try input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-wash); }

.hero-cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.button {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 999px;
}
.button:hover { background: var(--teal-deep); color: #fff; }
.cta-note { color: var(--muted); font-size: 0.95rem; }

/* Sections */
section.block { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.block h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 20em;
}
.block .intro { color: var(--muted); max-width: 36em; margin: 0 0 40px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.facts h3 { font-size: 1.15rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.facts p { margin: 0; color: var(--muted); }

/* Renewal comparison */
.renewal { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 36px); }
.renewal table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.renewal th, .renewal td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.renewal thead th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.renewal tbody tr:last-child td { border-bottom: 0; }
.renewal td:first-child { font-weight: 600; }
.renewal tr.ours td { background: var(--teal-wash); color: var(--teal-deep); font-weight: 700; }
.renewal tr.ours td:first-child { border-radius: 10px 0 0 10px; }
.renewal tr.ours td:last-child { border-radius: 0 10px 10px 0; }
.renewal .src { margin: 16px 0 0; font-size: 0.85rem; color: var(--muted); }
.scroll-x { overflow-x: auto; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.tier { padding: 28px 22px; border-right: 1px solid var(--line); }
.tier:last-child { border-right: 0; }
.tier .size { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }
.tier .price { margin-top: 6px; font-variant-numeric: tabular-nums; }
.tier .price strong { font-size: 1.2rem; }
.tier .per { color: var(--muted); font-size: 0.9rem; }
.price-notes { margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); display: grid; gap: 6px; }

/* Included */
.included { columns: 2; column-gap: 48px; padding: 0; margin: 0; list-style: none; }
.included li { break-inside: avoid; padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid var(--line); }
.included li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Contact */
.contact { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); }
.contact h2 { color: #fff; }
.contact p { color: #C9D3E0; max-width: 34em; }
.contact .button { background: #fff; color: var(--ink); }
.contact .button:hover { background: var(--teal-wash); color: var(--ink); }

/* Footer */
.site-foot { padding: 48px 0 56px; color: var(--muted); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--ink); }

/* Legal pages */
.legal { padding: 32px 0 80px; }
.legal article { max-width: 42em; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 40px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #2B3A55; }
.legal ul { padding-left: 1.2em; }

@media (max-width: 900px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .tier:nth-child(odd) { border-right: 1px solid var(--line); }
  .tier:last-child { border-bottom: 0; grid-column: 1 / -1; border-right: 0; }
}
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .included { columns: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .address .domain { transition: color 0.2s ease; }
}
