/* HONA Daylight Executive — design tokens (light) */

:root {
  --bg-page:        #FAFAF7;
  --bg-surface:     #FFFFFF;
  --bg-input:       #F2F1ED;
  --border-sub:     #E8E6DF;
  --border:         #D5D2C8;
  --text-heading:   #0B0C0F;
  --text-primary:   #1A1C22;
  --text-secondary: #5A5E68;
  --text-dim:       #8A8E98;
  --text-label:     #A0A4AE;
  --accent:         #00A0CA;
  --amber:          #C28A00;
  --green:          #3A8F44;
  --red:            #D9484C;

  --container: 1200px;
  --container-narrow: 760px;

  --radius-card: 12px;
  --radius-btn: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg-page); }
body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* Labels — the most-used repeating pattern */
.h-label {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.h-label-dim { color: var(--text-dim); }

/* Headings */
.h-display {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.025em;
  line-height: 1.03;
  margin: 0;
}
.h-h1 { font-size: clamp(44px, 6.2vw, 72px); }
.h-h2 { font-size: 2em; line-height: 1.08; }
.h-h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.h-h4 { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; color: var(--text-heading); margin: 0; }

.h-lead { font-size: 18px; color: var(--text-secondary); max-width: 60ch; line-height: 1.55; margin: 0; }
.h-body { font-size: 16px; color: var(--text-primary); line-height: 1.6; }
.h-small { font-size: 13px; color: var(--text-secondary); }

/* Buttons */
.h-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.h-btn-primary { background: var(--accent); color: #000; }
.h-btn-primary:hover { background: #1ab5df; }
.h-btn-ghost { background: transparent; border-color: var(--accent); color: var(--accent); }
.h-btn-ghost:hover { background: rgba(0,160,202,0.06); }
.h-btn-dim { background: transparent; border-color: var(--border); color: var(--text-primary); }
.h-btn-dim:hover { border-color: var(--accent); color: var(--accent); }
.h-btn-arrow { transition: transform 150ms ease; display: inline-block; }
.h-btn:hover .h-btn-arrow { transform: translateX(3px); }

/* Cards */
.h-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-sub);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: border-color 150ms ease, background 150ms ease;
}
.h-card-hover { cursor: pointer; transition: border-color 200ms ease, transform 200ms ease, background 200ms ease; }
.h-card-hover:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: color-mix(in oklch, var(--bg-surface) 92%, var(--accent));
}
.h-card-lg { padding: 32px; }

/* Accent callout */
.h-callout {
  border-left: 3px solid var(--accent);
  background: rgba(0, 160, 202, 0.04);
  padding: 20px 24px;
  font-style: italic;
  color: var(--text-secondary);
  border-radius: 0 8px 8px 0;
}
.h-callout-lg {
  padding: 28px 32px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-primary);
}

/* Selected/active state */
.h-active {
  border-left: 3px solid var(--accent);
  background: rgba(0, 160, 202, 0.06);
  padding-left: 21px;
}

/* Layout */
.h-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.h-container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}
.h-section { padding: 112px 0; border-top: 1px solid var(--border-sub); }
.h-section-sm { padding: 72px 0; }

/* Section head pattern */
.h-sec-head { margin-bottom: 48px; }
.h-sec-head .h-label { display: block; margin-bottom: 20px; }

/* Grid helpers */
.h-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.h-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.h-grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) {
  .h-grid-2, .h-grid-3, .h-grid-4, .h-grid-6 { grid-template-columns: 1fr; }
}

/* Header */
.h-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-sub);
  padding: 16px 32px;
  background: color-mix(in oklch, var(--bg-page) 86%, transparent);
  backdrop-filter: blur(14px);
}
.h-header-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text-heading); }
.h-header-logo { width: 24px; height: 32px; }
.h-header-wordmark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--text-heading);
}
.h-header-nav { display: flex; gap: 28px; }
.h-header-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 150ms ease;
}
.h-header-nav a:hover, .h-header-nav a[aria-current] { color: var(--accent); }
@media (max-width: 900px) {
  .h-header-nav { display: none; }
}

/* Footer */
.h-footer {
  border-top: 1px solid var(--border-sub);
  background: var(--bg-page);
  padding: 48px 32px 32px;
}
.h-footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.h-footer-col { display: flex; flex-direction: column; gap: 10px; }
.h-footer-col .h-label { margin-bottom: 8px; }
.h-footer-col a, .h-footer-col p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; margin: 0; }
.h-footer-col a { transition: color 150ms ease; }
.h-footer-col a:hover { color: var(--accent); }
.h-footer-meta {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-sub);
  display: flex;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .h-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Reveal */
.h-reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
.h-reveal.in { opacity: 1; transform: translateY(0); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
