/* aiofficeauto.com: the panel's colours and its banking-app look (navy,
   one sea-teal, amber only in the logo; soft borderless cards; light type). */
:root {
  --brand: #0b7885; --brand-hover: #09656f; --brand-ink: #fff;
  --heading: #0b1a3a; --text: #1d2939; --muted: #5b6b7f;
  --tint: #e3f3f4; --ground: #f4f8f8; --surface: #fff; --line: #e3ebee;
  --shadow: 0 10px 30px -18px rgba(11, 26, 58, .28);
  --r: 20px; --r-sm: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --brand: #2fb3bf; --brand-hover: #49c2cd; --brand-ink: #062a2e; --heading: #eef4f8; --text: #dbe4ec; --muted: #9aaab9;
    --tint: #12343a; --ground: #0b1622; --surface: #12202e; --line: #223344; --shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--text); font: 16px/1.7 Inter, "Noto Sans Thai", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.3; font-weight: 600; margin-bottom: 24px; }
h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 17.5px; color: var(--muted); max-width: 640px; }
.link { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--r-sm); font: inherit; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.is-off { opacity: .45; pointer-events: none; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; text-decoration: none; color: var(--heading); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--heading); }

/* Hero: the panel's gradient "balance" header */
.hero { background: linear-gradient(135deg, #0b1a3a 0%, #0c4f63 55%, #0b7885 100%); color: #e6f2f4; padding: 72px 0 64px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #c9e3e7; margin-top: 18px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 500; color: #0b1a3a; background: #f2b13c; border-radius: 999px; padding: 4px 14px; margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: #fff; color: #0b1a3a; }
.hero .btn-primary:hover { background: #e3f3f4; }
.hero .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 28px 0 0; font-size: 14.5px; color: #a9cfd5; }
.hero-shot img, .shot img { border-radius: var(--r); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }

/* Bands and cards */
.band { padding: 80px 0; }
.band-tint { background: var(--surface); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.band-tint .card { background: var(--ground); box-shadow: none; }
.card p { color: var(--muted); font-size: 15.5px; }
.ico { width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--brand); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint); box-shadow: inset 0 0 0 5px var(--tint), inset 0 0 0 9px var(--brand); }

/* Comparison */
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 620px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-weight: 500; color: var(--muted); font-size: 14px; }
.compare thead th:nth-child(2) { color: var(--brand); }
.compare tbody th { font-weight: 500; color: var(--heading); width: 32%; }
.compare td:nth-child(2) { color: var(--heading); font-weight: 500; }
.compare td:nth-child(3) { color: var(--muted); }

/* Downloads */
.dl { margin-top: 28px; }
.dl-card .btn { width: 100%; }
.dl-card .muted { font-size: 14.5px; margin-bottom: 6px; }
.dl-card.is-mine { outline: 2px solid var(--brand); outline-offset: -2px; }
.dl-card .link { align-self: center; font-size: 14.5px; }
#dl-note { margin-top: 18px; }

/* Steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font-weight: 600; margin-bottom: 8px; }
.steps b { font-weight: 500; color: var(--heading); font-size: 17px; }
.steps span { color: var(--muted); font-size: 15.5px; }

/* Price, FAQ, footer */
.price { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.price h2 { margin-bottom: 10px; }
.faq { max-width: 820px; }
.faq details { background: var(--surface); border-radius: var(--r-sm); padding: 4px 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 500; color: var(--heading); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; }
.foot { border-top: 1px solid var(--line); padding: 28px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-in, .split { grid-template-columns: 1fr; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 48px 0; }
  .band { padding: 56px 0; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
}
