/* Nokuma Studio. No external fonts, scripts or trackers, on purpose. */
:root {
  --bg: #fffdf8;
  --band: #f6f0e2;
  --text: #122b2c;
  --muted: #566b6a;
  --line: #e0d8c5;
  --accent: #0a5f63;
  --btn: #e2a03a;
  --btn-hover: #cf8e28;
  --on-btn: #122b2c;
  --card: #ffffff;
  --nav-bg: rgba(255, 253, 248, 0.82);
  --dark-bg: #063a3d;
  --dark-text: #f6f0e2;
  --dark-muted: #a9c4c0;
  --amber: #e2a03a;
  --shadow: 0 30px 60px -24px rgba(6, 58, 61, 0.35), 0 12px 24px -14px rgba(6, 58, 61, 0.25);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071d1f;
    --band: #0b2a2c;
    --text: #f6f0e2;
    --muted: #9db8b4;
    --line: #1b3d3f;
    --accent: #5fcfc9;
    --btn: #eeb04a;
    --btn-hover: #f6bf63;
    --on-btn: #0b2a2c;
    --card: #0f3335;
    --nav-bg: rgba(7, 29, 31, 0.78);
    --dark-bg: #04282a;
    --shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(246, 240, 226, 0.07);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 720px; }

/* Wordmark */
.mark { font-weight: 700; letter-spacing: -0.035em; color: var(--text); }
.mark b { color: var(--accent); font-weight: 700; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.nav .brand { font-size: 21px; line-height: 1; }
.nav .brand:hover { text-decoration: none; }
.nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--text); opacity: 0.8; font-size: 14px; letter-spacing: -0.005em; }
.nav ul a:hover, .nav ul a[aria-current] { opacity: 1; text-decoration: none; }
.nav ul a.nav-cta { opacity: 1; background: var(--btn); color: var(--on-btn); padding: 6px 14px; border-radius: 980px; font-weight: 600; }
.nav ul a.nav-cta:hover { background: var(--btn-hover); }
@media (max-width: 720px) {
  .nav ul { gap: 16px; }
  .nav .hide-sm { display: none; }
}

/* Buttons */
.pill {
  display: inline-block; padding: 11px 24px; border-radius: 980px;
  background: var(--btn); color: var(--on-btn); font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  transition: background 0.15s ease;
}
.pill:hover { background: var(--btn-hover); text-decoration: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: center; margin-top: 30px; }
.more { font-size: 19px; letter-spacing: -0.012em; }
.more::after { content: " \203A"; }

/* Hero */
.hero { text-align: center; padding: 88px 0 72px; overflow: hidden; background: linear-gradient(180deg, var(--band) 0%, var(--bg) 100%); }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent); letter-spacing: -0.005em; margin: 0 0 10px; }
h1.display { font-size: clamp(40px, 8vw, 78px); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; margin: 0 auto 18px; max-width: 13em; }
.hero .lede { font-size: clamp(19px, 2.6vw, 25px); line-height: 1.28; color: var(--muted); font-weight: 400; letter-spacing: -0.012em; max-width: 31em; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 980px; background: var(--card); border: 1px solid var(--line); color: var(--text); }

/* Bands */
.band { padding: 96px 0; }
.band.alt { background: var(--band); }
.center { text-align: center; }
.band h2, .head h2 { font-size: clamp(32px, 5vw, 50px); line-height: 1.08; font-weight: 700; letter-spacing: -0.026em; margin: 0 0 18px; }
.band .sub { font-size: clamp(18px, 2vw, 21px); line-height: 1.38; color: var(--muted); letter-spacing: -0.01em; margin: 0 0 14px; }
.band .intro { max-width: 36em; margin-left: auto; margin-right: auto; }
.head { text-align: center; margin: 0 auto 48px; max-width: 640px; }
.head h2 { margin: 0 0 12px; }
.head .sub { margin: 0; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.tiles.four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (min-width: 900px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 30px; display: flex; flex-direction: column; }
.band:not(.alt) .tile { background: var(--band); border-color: transparent; }
.tile h3 { font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.42; }
.tile .ico { display: block; width: 52px; height: 52px; padding: 12px; border-radius: 15px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 18px; }
.tile .more { display: inline-block; margin-top: auto; padding-top: 16px; font-size: 16px; }
.tile .num { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 10px; letter-spacing: 0.02em; }

/* Dark band with portrait */
.dark { background: var(--dark-bg); color: var(--dark-text); padding: 96px 0; overflow: hidden; }
.dark .split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.dark h2 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.07; font-weight: 700; letter-spacing: -0.028em; margin: 0 0 20px; }
.dark p { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.4; color: var(--dark-muted); letter-spacing: -0.01em; margin: 0 0 14px; max-width: 28em; }
.dark .portrait { width: min(380px, 100%); margin: 0 auto; }
.dark .portrait img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 0 0 8px rgba(226, 160, 58, 0.25); }
.dark .eyebrow, .dark a { color: #f2c06a; }
.dark .pill { background: var(--amber); color: #122b2c; }
.dark .pill:hover { background: #f0b556; text-decoration: none; }
@media (min-width: 820px) {
  .dark .split { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .dark .portrait { width: 100%; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 720px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 40em; }
.faq .answer p { margin: 0 0 10px; }

/* Closing call to action */
.closing { text-align: center; padding: 110px 0 100px; }
.closing h2 { font-size: clamp(34px, 6vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; margin: 0 auto 16px; max-width: 14em; }
.closing p { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.35; color: var(--muted); max-width: 30em; margin: 0 auto; letter-spacing: -0.01em; }

/* Inner pages */
.page-head { text-align: center; padding: 80px 0 56px; background: linear-gradient(180deg, var(--band) 0%, var(--bg) 100%); }
.page-head h1 { font-size: clamp(36px, 6.5vw, 62px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0 auto 14px; max-width: 14em; }
.page-head .lede { font-size: clamp(18px, 2.3vw, 22px); line-height: 1.3; color: var(--muted); letter-spacing: -0.01em; max-width: 30em; margin: 0 auto; }
.page-head .cta-row { margin-top: 26px; }
.doc { padding: 24px 0 40px; }
.doc h2 { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 48px 0 12px; }
.doc p, .doc li { font-size: 18px; line-height: 1.5; letter-spacing: -0.008em; }
.doc p { color: var(--muted); margin: 0 0 14px; }
.doc p strong, .doc li strong { color: var(--text); font-weight: 600; }
.doc ul { padding-left: 22px; margin: 0; }
.doc li { margin: 10px 0; color: var(--muted); }
.card { background: var(--band); border-radius: 22px; padding: 26px 28px; margin: 28px 0; }
.card h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.015em; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { position: relative; padding-left: 28px; margin: 12px 0; color: var(--muted); }
.card li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 15px; height: 15px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.2 7.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='7' r='7' fill-opacity='.25'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.2 7.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='7' cy='7' r='7' fill-opacity='.25'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ghost { display: inline-block; padding: 10px 22px; border-radius: 980px; border: 1px solid var(--accent); color: var(--accent); font-size: 17px; font-weight: 600; }
.ghost:hover { background: var(--accent); color: var(--bg); text-decoration: none; }
.fine { font-size: 14px; color: var(--muted); margin: 22px 0 0; }
.fine.center { text-align: center; }

/* Footer */
footer { background: var(--band); border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 13px; line-height: 1.5; }
footer p { margin: 0 0 10px; max-width: 70em; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .links { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Two-column tiles */
.tiles.two { grid-template-columns: 1fr; }
@media (min-width: 700px) { .tiles.two { grid-template-columns: repeat(2, 1fr); } }
