/* Daiklos Capital & Wellness — shared visual system */
:root {
  --ink: #16232c;
  --ink-soft: #52616b;
  --ink-faint: #78868f;
  --navy: #102837;
  --navy-light: #1b3b4f;
  --accent: #245570;
  --mint: #82a9ad;
  --paper: #fff;
  --mist: #f4f6f6;
  --sand: #eeede7;
  --line: #dce3e5;
  --line-dark: #2c4352;
  --wrap: 1200px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--ink); font-weight: 600; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 5vw, 4.3rem); line-height: 1.09; }
h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.2; }
h3 { font-size: 1.13rem; line-height: 1.45; letter-spacing: -.015em; }
h4 { font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; }
strong { color: var(--ink); font-weight: 650; }
::selection { background: #d7e5e8; color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 40px; }
.narrow { max-width: 810px; }
.readable { max-width: 68ch; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 18px; color: var(--navy); background: var(--paper); border: 1px solid var(--line);
}
.skip:focus { top: 12px; left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(15px);
}
.header-inner { position: relative; display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-symbol { width: 35px; height: 35px; flex: 0 0 35px; color: var(--accent); }
.brand-type { display: grid; gap: 2px; }
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.brand-sub { color: var(--ink-faint); font-size: .59rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; padding: 8px 0; color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: transparent; }
.site-nav a:hover { color: var(--navy); text-decoration: none; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { background: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--navy); }
.nav-toggle {
  display: none; align-items: center; justify-content: center; gap: 8px;
  min-width: 82px; min-height: 42px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); background: transparent; cursor: pointer; font-size: .8rem;
}
.nav-toggle svg { width: 15px; height: 15px; }
.nav-toggle .close-icon { display: none; }
.nav-toggle[aria-expanded="true"] .menu-icon { display: none; }
.nav-toggle[aria-expanded="true"] .close-icon { display: block; }

/* Shared typography and section structure */
.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-sm { padding: 64px 0; border-top: 1px solid var(--line); }
.section-mist { background: var(--mist); }
.section-sand { background: var(--sand); }
.section-navy { color: #cfdae0; background: var(--navy); border-top-color: var(--navy); }
.section-navy h2, .section-navy h3, .section-navy h4, .section-navy strong { color: #f7f9f9; }
.section-navy .kicker, .section-navy .muted { color: #91a6b3; }
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 23px;
  color: var(--ink-faint); font-size: .68rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
}
.kicker .index { color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.kicker .rule { display: block; width: 28px; height: 1px; background: currentcolor; opacity: .7; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 56px; }
.section-heading > :last-child { align-self: end; }
.section-heading p { max-width: 58ch; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.xsmall { font-size: .77rem; }
.mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 18px; padding-bottom: 5px;
  color: var(--navy); border-bottom: 1px solid #9db0ba; font-size: .88rem; font-weight: 600;
}
.link-arrow::after { content: "↗"; color: var(--accent); font-size: 1.05rem; }
.link-arrow:hover { border-color: var(--accent); text-decoration: none; }

/* Hero — homepage */
.hero { overflow: hidden; color: #cfdae0; background: var(--navy); }
.hero-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; padding-top: 88px; padding-bottom: 88px; align-items: center; }
.hero h1 { max-width: 13ch; color: #f8fafb; font-size: clamp(3rem, 5vw, 4.55rem); }
.hero-text .kicker { color: #95aab6; }
.hero-text .lede { max-width: 32ch; color: #bfcdd4; font-size: 1.15rem; line-height: 1.75; }
.hero-text .principle { max-width: 35ch; margin-top: 30px; padding-top: 20px; color: #e7eef0; border-top: 1px solid var(--line-dark); font-size: .92rem; }
.hero-board { position: relative; padding: 26px; border: 1px solid #3d5260; background: var(--navy-light); }
.hero-board::before { content: ""; position: absolute; top: -1px; left: -1px; width: 65px; height: 1px; background: var(--mint); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; color: #91a6b3; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.board-status { display: inline-flex; align-items: center; gap: 7px; color: #b7cbcc; }
.board-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.pipeline { display: grid; gap: 12px; }
.pipeline-block { position: relative; padding: 18px 21px; border: 1px solid #3d5260; background: #143044; }
.pipeline-block::after { content: "↓"; position: absolute; left: 50%; bottom: -21px; color: var(--mint); font-size: 1rem; }
.pipeline-block:last-child::after { content: ""; }
.pipeline-label { margin-bottom: 9px; color: #90a6b3; font-size: .65rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.pipeline-content { display: flex; flex-wrap: wrap; gap: 7px; }
.pill { padding: 4px 9px; color: #d3e0e4; border: 1px solid #3b5260; font-size: .75rem; line-height: 1.5; }
.pipeline-center { background: #e8efec; color: var(--ink); border-color: #e8efec; }
.pipeline-center .pipeline-label { color: #527177; }
.pipeline-center h3 { margin-bottom: 2px; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.pipeline-center p { color: #56666b; font-size: .78rem; }
.pipeline-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 16px; color: #a9bbc4; border-top: 1px solid #3d5260; font-size: .76rem; }

/* Interior hero */
.page-hero { background: var(--mist); }
.page-hero .hero-layout { min-height: 450px; padding-top: 80px; padding-bottom: 80px; }
.page-hero h1 { max-width: 16ch; font-size: clamp(2.65rem, 4.4vw, 4rem); }
.page-hero .lede { max-width: 45ch; color: var(--ink-soft); font-size: 1.11rem; line-height: 1.75; }
.hero-note { max-width: 330px; padding: 28px 26px; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--line); }
.hero-note .quote { font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; line-height: 1.4; letter-spacing: -.025em; }
.hero-note .note-meta { margin-top: 20px; color: var(--ink-faint); font-size: .76rem; line-height: 1.7; }

/* Grids, cards, lists */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.card-mist { background: var(--mist); border: 0; }
.card-number { display: block; margin-bottom: 30px; color: var(--accent); font-size: .69rem; font-weight: 600; letter-spacing: .1em; }
.card h3 { margin-bottom: .65em; }
.card p { color: var(--ink-soft); font-size: .93rem; }
.rule-card { padding-top: 23px; border-top: 1px solid var(--ink); }
.rule-card .small { color: var(--ink-soft); }
.domain-card { position: relative; padding: 36px; border: 1px solid var(--line); background: var(--paper); transition: border-color .15s; }
.domain-card:hover { border-color: #96aebb; }
.domain-card .domain-visual { height: 82px; margin-bottom: 26px; }
.domain-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; font-weight: 400; }
.domain-card p { color: var(--ink-soft); font-size: .95rem; }
.domain-card .link-arrow { margin-top: 18px; }
.mini-cap { color: var(--ink-faint); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; }
.bullets { margin: 20px 0 0; padding: 0; list-style: none; }
.bullets li { position: relative; margin-top: 12px; padding-left: 19px; color: var(--ink-soft); font-size: .94rem; }
.bullets li::before { content: ""; position: absolute; top: .63em; left: 0; width: 6px; height: 1px; background: var(--accent); }
.text-list { padding: 0; margin: 0; list-style: none; }
.text-list li { padding: 25px 0; border-top: 1px solid var(--line); }
.text-list li:last-child { border-bottom: 1px solid var(--line); }
.text-list h3 { margin-bottom: .35em; font-size: 1.02rem; }
.text-list p { color: var(--ink-soft); }
.stack { display: grid; gap: 18px; }

/* Workflow / AI split */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.role { padding: 34px; }
.role + .role { border-left: 1px solid var(--line); }
.role-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.role h3 { margin: 0; }
.role-tag { color: var(--ink-faint); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.role-list { margin: 0; padding: 0; list-style: none; }
.role-list li { padding: 14px 0 14px 31px; color: var(--ink-soft); font-size: .92rem; border-bottom: 1px solid var(--line-soft); }
.role-list li:last-child { border-bottom: 0; }
.role-list strong { display: block; margin-bottom: 4px; }
.role-human { background: var(--mist); }
.flow { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; gap: 10px; align-items: center; }
.flow-step { min-height: 160px; padding: 22px; border: 1px solid var(--line); background: var(--paper); }
.flow-arrow { color: var(--accent); text-align: center; }
.flow-step .mini-cap { display: block; margin-bottom: 12px; }
.flow-step p { color: var(--ink-soft); font-size: .84rem; }
.method-steps { counter-reset: steps; padding: 0; margin: 0; list-style: none; }
.method-steps li { counter-increment: steps; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 27px 0; border-top: 1px solid var(--line); }
.method-steps li:last-child { border-bottom: 1px solid var(--line); }
.method-steps li::before { content: "0" counter(steps); color: var(--accent); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.method-steps h3 { font-size: 1.05rem; margin-bottom: .35em; }
.method-steps p { color: var(--ink-soft); font-size: .94rem; }
.section-navy .role { border-color: var(--line-dark); }
.section-navy .rule-card { border-top-color: #b1c9d1; }
.section-navy .text-list li { border-color: var(--line-dark); }
.section-navy .text-list p { color: #b5c6ce; }

/* Figures */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; }
.figure figcaption { margin-top: 18px; color: var(--ink-faint); font-size: .78rem; line-height: 1.7; }
.figure-bordered { padding: 25px 25px 22px; border: 1px solid var(--line); background: var(--paper); }
.figure-caption-top { margin-bottom: 22px !important; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.visual-caption { margin-top: 18px; color: var(--ink-faint); font-size: .72rem; font-style: italic; }

/* Callouts and limits */
.note { padding: 24px 28px; border-left: 2px solid var(--accent); background: var(--mist); }
.note h3 { font-size: .98rem; }
.note p { color: var(--ink-soft); font-size: .89rem; }
.note-unguaranteed { display: grid; grid-template-columns: 140px 1fr; gap: 28px; }
.note-unguaranteed .note-label { color: var(--accent); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.paper-inset { padding: 24px; background: var(--sand); }

/* Closing */
.closing { padding: 94px 0; border-top: 1px solid var(--line); }
.closing h2 { max-width: 17ch; }
.closing p { max-width: 58ch; color: var(--ink-soft); }
.domains-next { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.domains-next a { display: flex; justify-content: space-between; gap: 16px; padding: 21px 0; color: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.domains-next a::after { content: "↗"; color: var(--accent); }

/* Footer */
.site-footer { padding: 65px 0 30px; background: var(--mist); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.footer-tagline { max-width: 31ch; margin-top: 19px; color: var(--ink-soft); font-size: .87rem; }
.footer-heading { margin-bottom: 17px; color: var(--ink-faint); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: .73rem; line-height: 1.8; }
.footer-bottom .copyright { margin-bottom: 7px; }

/* Focus, reduced motion, printing */
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Wide desktop */
@media (min-width: 1440px) {
  .hero-layout { gap: 100px; }
  .section { padding-block: 116px; }
}

/* Laptop and tablet */
@media (max-width: 1050px) {
  .wrap { padding-inline: 32px; }
  .hero-layout { gap: 45px; }
  .hero h1 { font-size: clamp(2.8rem, 4.5vw, 3.8rem); }
  .hero-board { padding: 20px; }
  .grid-3 { gap: 24px; }
  .section { padding-block: 84px; }
  .section-heading { gap: 40px; }
  .footer-grid { gap: 35px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 78px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: flex; gap: 28px; }
  .js .site-nav {
    display: none; position: absolute; top: 100%; right: -32px; left: -32px; flex-direction: column; align-items: stretch; gap: 0;
    padding: 14px 32px 24px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 22px rgb(15 35 47 / 5%);
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav a { display: block; padding: 16px 0; font-size: .98rem; border-top: 1px solid var(--line-soft); }
  .site-nav a::after { right: auto; width: 26px; }
  .hero-layout { grid-template-columns: 1fr; padding-top: 66px; padding-bottom: 66px; }
  .hero-text .lede { max-width: 50ch; }
  .hero h1 { max-width: 14ch; }
  .hero-board { max-width: 660px; }
  .page-hero .hero-layout { min-height: 0; }
  .hero-note { max-width: 540px; }
  .hero-note .quote { max-width: 27ch; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .rule-card { max-width: 580px; }
  .role-grid { grid-template-columns: 1fr; }
  .role + .role { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-block: 70px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr; gap: 35px; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 22px; }
  .header-inner { min-height: 74px; }
  .brand-symbol { width: 30px; height: 30px; flex-basis: 30px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .53rem; letter-spacing: .15em; }
  .brand { gap: 9px; }
  .nav-toggle { min-width: 70px; padding-inline: 9px; font-size: .75rem; }
  .js .site-nav { right: -22px; left: -22px; padding-inline: 22px; }
  h1 { font-size: 2.55rem; }
  .hero-layout { padding-top: 48px; padding-bottom: 52px; gap: 40px; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.7rem, 10vw, 3.4rem); }
  .hero-text .lede { font-size: 1rem; }
  .hero-text .principle { font-size: .86rem; }
  .hero-board { padding: 18px; }
  .board-top { gap: 10px; font-size: .56rem; }
  .pipeline-block { padding: 15px; }
  .pipeline-content { gap: 6px; }
  .pill { font-size: .68rem; padding: 3px 7px; }
  .pipeline-center h3 { font-size: 1.3rem; }
  .pipeline-footer { flex-direction: column; gap: 4px; font-size: .72rem; }
  .page-hero h1 { max-width: 14ch; font-size: 2.55rem; }
  .page-hero .hero-layout { padding-top: 48px; padding-bottom: 48px; }
  .hero-note { padding: 24px 0; }
  .hero-note .quote { font-size: 1.55rem; }
  .section { padding-block: 60px; }
  .section-sm { padding-block: 44px; }
  .section-heading { margin-bottom: 36px; }
  .kicker { font-size: .62rem; gap: 10px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card-number { margin-bottom: 24px; }
  .domain-card { padding: 26px; }
  .role { padding: 25px; }
  .method-steps li { grid-template-columns: 32px 1fr; gap: 12px; padding: 23px 0; }
  .note { padding: 22px; }
  .note-unguaranteed { grid-template-columns: 1fr; gap: 10px; }
  .domains-next { grid-template-columns: 1fr; gap: 16px; }
  .closing { padding: 66px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media print {
  .site-header, .skip, .site-nav, .nav-toggle { display: none !important; }
  .hero, .section-navy { color: #16232c; background: #fff; }
  .hero h1, .section-navy h2, .section-navy h3, .section-navy h4, .section-navy strong { color: #16232c; }
  .hero-text .lede, .hero-text .principle, .section-navy .muted { color: #52616b; }
  .hero-layout, .page-hero .hero-layout { padding-block: 24px; }
  .section { padding-block: 28px; break-inside: auto; }
  .card, .note, .method-steps li, .role, figure { break-inside: avoid; }
  a { color: #16232c; text-decoration: none; }
}
