/* THE HONEYAI — Modern Light Futurism (Variation 1: Luminous Architectural Minimalism)
   Palette: #FAFAFC pearl · #EEF0F5 mist · #BBA8F5 lavender · #7252C7 violet · #9BDDE5 ice cyan · #20263A navy
   Rules: lavender & cyan are decorative only (never small text on light backgrounds). */

:root {
  --pearl: #FAFAFC;
  --mist: #EEF0F5;
  --white: #FFFFFF;
  --lavender: #BBA8F5;
  --violet: #7252C7;
  --violet-dark: #5A3CA8;
  --cyan: #9BDDE5;
  --navy: #20263A;
  --ink-2: #4B536B;
  --ink-3: #5E6680;
  --line: #E3E6EE;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(32, 38, 58, 0.04), 0 8px 24px -12px rgba(32, 38, 58, 0.12);
  --shadow-lift: 0 2px 4px rgba(32, 38, 58, 0.05), 0 18px 36px -14px rgba(114, 82, 199, 0.22);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet); text-underline-offset: 3px; }
a:hover { color: var(--violet-dark); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
ul, ol { color: var(--ink-2); padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { color: var(--navy); }
code { font-family: var(--mono); font-size: 0.9em; background: var(--mist); padding: 0.1em 0.35em; border-radius: 5px; color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 252, 0.92);
  border-bottom: 1px solid var(--line);
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header { background: rgba(250, 250, 252, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand-word { font-weight: 800; letter-spacing: 0.08em; font-size: 0.98rem; color: var(--navy); }
.brand-word span { color: var(--violet); }

.nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer;
}
.nav-toggle-bars { display: inline-block; width: 16px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--navy); }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 600; border-radius: 8px;
}
.site-nav a:hover { color: var(--navy); background: var(--mist); }
.site-nav a[aria-current="page"] { color: var(--violet); }
.site-nav .nav-cta {
  background: var(--violet); color: var(--white); margin-left: 6px; padding: 0 16px;
}
.site-nav .nav-cta:hover { background: var(--violet-dark); color: var(--white); }
.site-nav .nav-cta[aria-current="page"] { color: var(--white); }

@media (max-width: 980px) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 12px; }
  .site-nav a { min-height: 44px; padding: 0 12px; }
  .site-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--violet);
}
.lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; text-align: center; }
.hero .lead { max-width: 680px; margin: 0 auto 30px; }
.hero-crystal { width: 220px; height: auto; margin: 0 auto 28px; }
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero .lead { max-width: 720px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--navy);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.pill-lav { background: rgba(187, 168, 245, 0.32); border-color: rgba(114, 82, 199, 0.2); }
.pill-cyan { background: rgba(155, 221, 229, 0.42); border-color: rgba(32, 38, 58, 0.08); }
.pill-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--violet); color: var(--white); border: 1px solid var(--violet); }
.btn-primary:hover { background: var(--violet-dark); border-color: var(--violet-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--navy); transform: translateY(-1px); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(114, 82, 199, 0.35); color: inherit; }
.card-link .more { margin-top: auto; padding-top: 14px; color: var(--violet); font-weight: 700; font-size: 0.92rem; }
.card .pill { margin-bottom: 14px; }
.card-num { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: var(--violet); margin-bottom: 6px; letter-spacing: 0.06em; }

/* Flagship HoneyAI Intelligence band */
.flagship {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid rgba(114, 82, 199, 0.28); border-radius: 24px;
  padding: 44px; box-shadow: var(--shadow-lift);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
}
.flagship::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 92% 8%, rgba(155, 221, 229, 0.30), transparent 42%),
    radial-gradient(circle at 70% 100%, rgba(187, 168, 245, 0.26), transparent 46%);
}
.flagship > * { position: relative; }
.flagship-visual svg { width: 100%; max-width: 300px; margin: 0 auto; }
.flagship-points { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.flagship-points li { display: flex; gap: 10px; margin: 0; }
.flagship-points li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px;
  background: rgba(187, 168, 245, 0.45); border: 1px solid rgba(114, 82, 199, 0.4);
}
@media (max-width: 860px) {
  .flagship { grid-template-columns: 1fr; padding: 28px; }
  .flagship-visual { order: -1; }
}

/* Status & notes */
.note {
  border-left: 4px solid var(--violet); background: var(--white);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0; box-shadow: var(--shadow);
}
.note p { margin: 0; color: var(--navy); }
.status-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.status-table th, .status-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.status-table th { background: var(--mist); color: var(--navy); font-weight: 700; }
.status-table td { color: var(--ink-2); }
.status-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mt-lg { margin-top: 48px; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  border-radius: 24px; padding: 40px;
  background: linear-gradient(135deg, rgba(187, 168, 245, 0.28), rgba(155, 221, 229, 0.30));
  border: 1px solid rgba(114, 82, 199, 0.2);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; }

/* Prose (legal & long-form) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose .meta { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-3); margin-bottom: 28px; }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.legal-side { position: sticky; top: 92px; }
.legal-side h2 { font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.legal-side ul { list-style: none; padding: 0; margin: 0; }
.legal-side li { margin: 0; }
.legal-side a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 0.92rem; font-weight: 600; }
.legal-side a:hover { background: var(--mist); color: var(--navy); }
.legal-side a[aria-current="page"] { background: var(--white); color: var(--violet); border: 1px solid var(--line); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-side { position: static; } }

/* Contact form */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; color: var(--navy); }
.field .hint { display: block; font-size: 0.84rem; color: var(--ink-3); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--navy);
  background: var(--white); border: 1px solid #CDD2DE; border-radius: var(--radius-sm);
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: var(--violet); }
.form-status { min-height: 1.5em; font-weight: 600; color: var(--navy); margin: 0; }
.form-status.is-error { color: #B42318; }
.channel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.channel-list li { margin: 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.channel-list strong { display: block; }
.channel-list a { font-family: var(--mono); font-size: 0.92rem; word-break: break-all; }

/* Breadcrumb */
.breadcrumb { font-size: 0.85rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9AA1B5; }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--violet); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #D7DBE6; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #D7DBE6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr 1.2fr; gap: 32px; }
.footer-grid h2 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; font-family: var(--mono); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 9px; font-size: 0.92rem; color: #D7DBE6; }
.footer-brand .brand-word { color: var(--white); }
.footer-brand .brand-word span { color: var(--lavender); }
.footer-brand p { color: #C3C8D6; font-size: 0.92rem; margin-top: 14px; }
.footer-tag { color: var(--cyan) !important; font-weight: 600; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: #AEB4C5; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.error-page { text-align: center; padding: 110px 0; }
.error-code { font-family: var(--mono); font-weight: 700; color: var(--violet); letter-spacing: 0.1em; }

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

@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link { display: none; }
  body { background: #FFFFFF; }
}
