:root {
  --paper: hsl(205 24% 96%);
  --shell: hsl(205 22% 92%);
  --line: hsl(205 16% 82%);
  --muted: hsl(205 14% 36%);
  --ink: hsl(205 28% 11%);
  --deep: hsl(205 42% 22%);

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --t-xs: 12.8px;
  --t-sm: 14px;
  --t-base: 16px;
  --t-md: 20px;
  --t-lg: 25px;
  --t-xl: 31px;
  --t-2xl: 39px;
  --t-3xl: 49px;

  --container: 1180px;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: hsl(205 20% 88%);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.page {
  background: var(--paper);
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: var(--s-4);
  top: var(--s-4);
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-3) var(--s-4);
}

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--s-4);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

h1 strong, h2 strong, h3 strong { font-weight: 700; }

h1 em, h2 em {
  font-family: var(--text);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--s-4); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: hsl(205 24% 96% / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 80px;
}

.brand {
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--s-3) 0;
}

.nav {
  display: flex;
  gap: var(--s-6);
  margin: 0 auto;
}

.nav a {
  font-family: var(--display);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
  padding: var(--s-4) 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.currency {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper);
}

.currency button {
  min-width: 56px;
  min-height: 48px;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
}

.currency button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s-6);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover { background: var(--deep); border-color: var(--deep); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover { border-color: var(--ink); }

.hero { padding: var(--s-9) 0 var(--s-8); }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  align-items: start;
}

.hero-copy {
  grid-column: 1 / 6;
  padding-top: var(--s-6);
}

.hero-copy h1 {
  font-size: clamp(39px, 5vw, 61px);
  margin-bottom: var(--s-5);
}

.hero-copy p {
  color: var(--muted);
  font-size: var(--t-md);
  line-height: 1.6;
  max-width: 34ch;
  margin-bottom: var(--s-6);
}

.hero-tall {
  grid-column: 6 / 9;
  aspect-ratio: 3 / 4;
}

.hero-stack {
  grid-column: 9 / 13;
  display: grid;
  gap: var(--s-5);
}

.hero-stack .frame:first-child { aspect-ratio: 4 / 3; }
.hero-stack .frame:last-child { aspect-ratio: 1 / 1; }

.hero-wide {
  margin-top: var(--s-6);
  aspect-ratio: 21 / 8;
}

.frame {
  position: relative;
  overflow: hidden;
  background: var(--shell);
  border: 1px solid var(--line);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame.is-empty img { display: none; }

.frame.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, hsl(205 16% 84%) 0 6px, hsl(205 20% 90%) 6px 12px),
    var(--shell);
  opacity: 0.9;
}

.section { padding: var(--s-9) 0; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  align-items: end;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  grid-column: 1 / 7;
  font-size: clamp(31px, 3.4vw, 39px);
}

.section-head p {
  grid-column: 8 / 13;
  color: var(--muted);
  margin: 0;
}

.fibres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.fibre {
  border-top: 1px solid var(--ink);
  padding-top: var(--s-4);
}

.fibre h3 {
  font-size: var(--t-lg);
  font-weight: 600;
  margin-bottom: var(--s-3);
}

.fibre p { color: var(--muted); margin: 0; }

.group + .group { margin-top: var(--s-8); }

.group-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-6);
}

.group-label h3 {
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.group-label span {
  font-family: var(--display);
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6) var(--s-5);
}

.card { display: flex; flex-direction: column; }

.card .frame { aspect-ratio: 4 / 5; }

.card-body { padding-top: var(--s-4); }

.card h4 {
  font-family: var(--display);
  font-size: var(--t-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 var(--s-2);
}

.card p {
  color: var(--muted);
  font-size: var(--t-sm);
  line-height: 1.6;
  margin: 0 0 var(--s-3);
}

.card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
}

.price {
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.spec {
  font-family: var(--display);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--ink);
  padding-top: var(--s-4);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--deep);
  margin-bottom: var(--s-3);
}

.step h3 {
  font-size: var(--t-md);
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.step p { color: var(--muted); margin: 0; }

.care {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
  align-items: center;
  background: var(--shell);
  padding: var(--s-8) var(--s-7);
}

.care h2 {
  grid-column: 1 / 6;
  font-size: clamp(25px, 3vw, 31px);
}

.care-list {
  grid-column: 7 / 13;
  list-style: none;
  margin: 0;
  padding: 0;
}

.care-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.care-list li span {
  font-family: var(--display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s-8) 0 var(--s-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}

.footer-brand { grid-column: 1 / 5; }

.footer-brand .brand { padding-top: 0; }

.footer-brand p {
  color: var(--muted);
  font-size: var(--t-sm);
  margin-top: var(--s-4);
  max-width: 30ch;
}

.footer-col { grid-column: span 3; }

.footer-col h4 {
  font-family: var(--display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--t-sm);
  color: var(--muted);
}

.footer-col li { padding: var(--s-2) 0; }

.footer-col a { text-decoration: none; }

.footer-col a:hover { text-decoration: underline; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  font-size: var(--t-xs);
  color: var(--muted);
}

.policy { padding: var(--s-8) 0 var(--s-9); }

.policy-head {
  border-bottom: 1px solid var(--ink);
  padding-bottom: var(--s-5);
  margin-bottom: var(--s-7);
}

.policy-head h1 {
  font-size: clamp(31px, 4vw, 49px);
  margin-bottom: var(--s-4);
}

.policy-head p {
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

.prose { max-width: 68ch; }

.prose h2 {
  font-size: var(--t-lg);
  font-weight: 600;
  margin: var(--s-8) 0 var(--s-4);
}

.prose h3 {
  font-size: var(--t-md);
  font-weight: 600;
  margin: var(--s-6) 0 var(--s-3);
}

.prose p, .prose li { color: var(--muted); }

.prose strong { color: var(--ink); font-weight: 600; }

.prose ul, .prose ol { padding-left: var(--s-5); margin: 0 0 var(--s-4); }

.prose li { padding: var(--s-1) 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-4) 0 var(--s-6);
  font-size: var(--t-sm);
}

.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.prose th {
  font-family: var(--display);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.prose a { color: var(--deep); }

@media (max-width: 1024px) {
  .hero-copy { grid-column: 1 / 13; }
  .hero-tall { grid-column: 1 / 7; }
  .hero-stack { grid-column: 7 / 13; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .section-head h2 { grid-column: 1 / 13; }
  .section-head p { grid-column: 1 / 13; }
  .care h2, .care-list { grid-column: 1 / 13; }
  .footer-brand { grid-column: 1 / 13; }
  .footer-col { grid-column: span 4; }
}

@media (max-width: 760px) {
  .container { padding: 0 var(--s-5); }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .section { padding: var(--s-8) 0; }
  .hero-tall { grid-column: 1 / 13; aspect-ratio: 4 / 3; }
  .hero-stack { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; }
  .hero-stack .frame:first-child,
  .hero-stack .frame:last-child { aspect-ratio: 1 / 1; }
  .hero-wide { aspect-ratio: 3 / 2; }
  .fibres, .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
  .care { padding: var(--s-6) var(--s-5); }
  .care-list li { grid-template-columns: 1fr; gap: var(--s-1); }
  .footer-col { grid-column: span 6; }
}

@media (max-width: 460px) {
  .grid { grid-template-columns: 1fr; }
  .brand { font-size: var(--t-base); letter-spacing: 0.24em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
