/* Laguit Labs — deliberately small, script-free, and dependency-free. */
:root {
  --paper: #f5f2ea;
  --ink: #14201d;
  --muted: #52605b;
  --accent: #b94028;
  --line: #c9c6bc;
  --surface: #ece9df;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

::selection { background: #e8b9a8; color: var(--ink); }

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { transform: translateY(0); color: var(--paper); }

.site-header,
footer {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
}

nav a { font-size: 0.9rem; font-weight: 650; }

main,
footer { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.hero {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, p { overflow-wrap: break-word; }

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.lede {
  max-width: 620px;
  margin: 2.5rem 0 0 auto;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.product {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 3fr);
  gap: 2rem;
  padding: 7rem 0;
}

.section-number {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.section-content { max-width: 800px; }

h2 {
  margin: 0 0 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.summary { max-width: 710px; color: var(--muted); font-size: 1.15rem; }

.facts {
  margin: 3rem 0;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.facts dd { margin: 0; }

.text-link { font-weight: 700; text-decoration-thickness: 1px; }

footer {
  min-height: 120px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

/* Privacy policy */
.policy-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2.1fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding: 6rem 0 8rem;
}

.policy-intro { align-self: start; position: sticky; top: 2rem; min-width: 0; }
.policy-intro h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 0.95; }
.policy-for { margin: 1.5rem 0 0; font-weight: 700; }
.updated { margin-top: 0.25rem; color: var(--muted); font-size: 0.88rem; }

.policy-body { max-width: 760px; min-width: 0; }
.policy-body section { padding: 0 0 3.5rem; margin: 0 0 3.5rem; border-bottom: 1px solid var(--line); }
.policy-body h2 { display: flex; gap: 1rem; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.policy-body h2 span { padding-top: 0.35em; color: var(--accent); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.08em; }
.policy-body p { margin: 1.1rem 0; }
.policy-body ul { padding-left: 1.25rem; }
.policy-body li { margin-bottom: 0.45rem; }
.scope-uri { padding: 1rem 1.2rem; background: var(--surface); border-left: 3px solid var(--accent); overflow-x: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.82em; }
.back-home { margin-top: 1rem; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header, main, footer { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { min-height: 76px; }
  .hero { min-height: auto; padding: 5rem 0; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .lede { margin-left: 0; }
  .product, .policy-layout { grid-template-columns: 1fr; }
  .product { gap: 1rem; padding: 5rem 0; }
  .section-number { font-size: 1rem; }
  .facts div { grid-template-columns: 1fr; gap: 0.35rem; }
  .policy-layout { gap: 4rem; padding: 4rem 0 6rem; }
  .policy-intro { position: static; }
  .policy-body section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.2rem; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
