/* anumax – site styles.
   Based on the "Anumax Homepage Mockup" (Claude Design, 2026-09-01): calm white surfaces,
   near-black type, one blue accent and product UI cards instead of photos.
   anumax has no delivered CI yet; these tokens are provisional and live in one place. */

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --surface: #f5f5f7;
  --paper: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: #e8f1fc;
  --ok: #1a7f37;
  --ok-soft: #e7f5ec;
  --wait: #9a6700;
  --wait-soft: #fdf3dc;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.5rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.6vw, 3.75rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5rem);

  --wrap: 1120px;
  --gutter: 16px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 8px 28px -12px rgb(0 0 0 / 18%);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 5%), 0 28px 60px -24px rgb(0 0 0 / 28%);
}

@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-0);
  line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 0.5em; line-height: 1.08; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 60; transform: translateY(-200%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { transform: none; color: #fff; text-decoration: none; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 82%); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgb(0 0 0 / 8%); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.wordmark { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.wordmark::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 3px; border-radius: 50%; background: var(--accent); transform: translateY(-0.55em); }
.wordmark:hover { text-decoration: none; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; font-size: var(--step--1); color: var(--muted); border-radius: 8px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s ease, background .2s ease; }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line-soft); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 18px; gap: 0; }
  .site-nav a { padding: 14px 4px; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  html:not(.js) .site-nav { display: block; position: static; box-shadow: none; border: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; }
}
@media (max-width: 380px) { .header-actions .btn--small { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #fff; font-size: var(--step-0); font-weight: 500; border: 0; transition: background .15s; }
.btn:hover { background: var(--accent-hover); text-decoration: none; color: #fff; }
.btn--small { min-height: 34px; padding: 0 15px; font-size: var(--step--1); }
.btn--ghost { background: transparent; color: var(--accent); padding: 0 10px; }
.btn--ghost:hover { background: transparent; color: var(--accent); text-decoration: underline; }
.btn--ghost::after { content: '›'; font-size: 1.25em; line-height: 1; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f0f0f2; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; }
.center .actions, .hero .actions, .page-hero .actions, .closing .actions { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; margin-top: 18px; }
.more::after { content: '›'; font-size: 1.25em; line-height: 1; }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--surface { background: var(--surface); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.eyebrow { font-size: var(--step--1); font-weight: 600; color: var(--accent); letter-spacing: 0; margin: 0 0 12px; }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 40ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; max-width: 52ch; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 0; text-align: center; overflow: hidden; }
.hero h1 { max-width: 14ch; margin-left: auto; margin-right: auto; }
.hero .lead { max-width: 46ch; margin: 0 auto; }
.hero-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); padding: clamp(20px, 4vw, 48px) clamp(12px, 3vw, 40px) 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.stage-grid { display: grid; gap: 18px; text-align: left; align-items: start; }
@media (min-width: 960px) { .stage-grid { grid-template-columns: 1.25fr 1fr; } }
.stage-side { display: grid; gap: 18px; }
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero h1 { font-size: var(--step-3); max-width: 18ch; margin-left: auto; margin-right: auto; }
.page-hero .lead { margin: 0 auto; max-width: 52ch; }

/* Product UI cards */
.ui { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: 0.9rem; }
.ui-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; }
.ui-title { font-weight: 600; color: var(--ink); }
.ui-sub { color: var(--subtle); font-size: 0.8rem; margin-top: 2px; }
.ui-tag { font-size: 0.75rem; color: var(--subtle); white-space: nowrap; }
.ui-list { list-style: none; margin: 0; padding: 0; }
.ui-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.ui-row:last-child { border-bottom: 0; }
.ui-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.ui-row .dot--ok { background: var(--ok); }
.ui-row .dot--accent { background: var(--accent); }
.ui-row .dot--wait { background: #d4a72c; }
.ui-row-main { flex: 1; min-width: 0; }
.ui-row-title { color: var(--ink); font-weight: 500; }
.ui-row-meta { color: var(--subtle); font-size: 0.78rem; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; background: var(--surface); color: var(--muted); }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--accent { background: var(--accent-soft); color: var(--accent); }
.pill--wait { background: var(--wait-soft); color: var(--wait); }
.ui-foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--subtle); font-size: 0.78rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0 0; }
.kv dt { color: var(--subtle); }
.kv dd { margin: 0; color: var(--ink); font-weight: 500; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; background: var(--surface); color: var(--ink); margin: 8px 0; line-height: 1.4; }
.bubble--out { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.bubble--in { border-bottom-left-radius: 6px; }
.bubble-meta { font-size: 0.72rem; color: var(--subtle); text-align: center; margin: 12px 0 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); background: #fff; font-size: 0.8rem; color: var(--muted); }
.chip--active { border-color: transparent; background: var(--ink); color: #fff; }
.code { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 1.6rem; letter-spacing: 0.18em; color: var(--ink); font-weight: 600; }
.locked { display: flex; align-items: center; gap: 10px; color: var(--subtle); }
.locked::before { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 3px; box-shadow: inset 0 0 0 2px #fff; }

/* Phone frame for the guest guide */
.phone { width: min(100%, 300px); margin: 0 auto; border-radius: 40px; padding: 10px; background: #1d1d1f; box-shadow: var(--shadow-lg); }
.phone-screen { border-radius: 31px; background: #fff; padding: 22px 16px 18px; min-height: 460px; }
.phone-title { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.phone-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.phone-tile { background: var(--surface); border-radius: 14px; padding: 12px; font-size: 0.8rem; color: var(--muted); }
.phone-tile strong { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 2px; }

/* Feature rows */
.feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1.1fr; } .feature--flip .feature-text { order: 2; } }
.feature + .feature { margin-top: clamp(80px, 10vw, 144px); }
.feature-text h2 { font-size: var(--step-2); }
.feature-text .lead { max-width: 34ch; }
.feature-text ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.feature-text li { position: relative; padding-left: 24px; }
.feature-text li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.feature-visual { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(18px, 4vw, 44px); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line-soft); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: var(--step-2); font-weight: 700; color: var(--accent); letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1; }
.steps p { color: var(--muted); }

/* Grid of cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; }
.section--surface .card { border-color: transparent; }
.card p, .card li { color: var(--muted); }
.card ul { margin: 12px 0 0; padding-left: 1.1em; display: grid; gap: 6px; }
.card .status { margin-bottom: 14px; }

/* Integrations */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.logo-chip { display: inline-flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line-soft); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.logo-chip small { font-weight: 400; color: var(--subtle); margin-left: 8px; }
.note { max-width: 640px; margin: 22px auto 0; text-align: center; color: var(--subtle); font-size: var(--step--1); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: var(--step-1); font-weight: 600; letter-spacing: -0.012em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; font-weight: 300; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Closing */
.closing { text-align: center; }
.closing h2 { font-size: var(--step-3); }

/* Prose pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: var(--step-3); }
.prose h2 { font-size: var(--step-1); margin-top: 2em; }
.prose p, .prose li { color: #424245; }

/* Contact */
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
.contact-grid address { font-style: normal; line-height: 1.8; }

/* Footer */
.site-footer { background: var(--surface); color: var(--muted); font-size: 0.82rem; padding-top: 48px; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.wordmark--footer { font-size: 1.15rem; }
.footer-claim { margin-top: 10px; max-width: 30ch; }
.footer-title { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin: 0 0 10px; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; }
.footer-base p { margin: 0; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }
.closing .lead, .page-hero .lead { margin-left: auto; margin-right: auto; }

/* Login entry, as on Smoobu: a quiet text link next to the primary button. */
.login-link { font-size: var(--step--1); color: var(--accent); font-weight: 500; padding: 8px 4px; }
.nav-login { display: none; }
@media (max-width: 860px) {
  .login-link { display: none; }
  .nav-login { display: block; }
  .nav-login a { color: var(--accent) !important; font-weight: 600; }
}
