@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/vendor/plus-jakarta-sans.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #F4FAF8;
  --surface: #FFFFFF;
  --ink: #0F2A24;
  --muted: #4A6660;
  --line: #E1F0EC;
  --line-strong: #D6ECE7;
  --teal: #0B7476;
  --teal-dark: #075456;
  --teal-soft: #E3F4F1;
  --amber: #FFB547;
  --amber-soft: #FFF1D9;
  --amber-ink: #8A5300;
  --danger: #B42318;
  --shadow: 0 40px 80px -46px rgba(15, 42, 36, .5);
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.55 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
}
main { max-width: 1180px; margin: 0 auto; padding: 0 16px 64px; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { letter-spacing: -0.03em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }

.top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 18px 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--ink); letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.top nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-weight: 600; font-size: 0.95rem; }
.top nav a:not(.btn) { text-decoration: none; color: #2E4A43; }
.badge { font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; }
.badge:empty { display: none; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 40px 0 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 0.9rem; font-weight: 600; color: #2E4A43; }
.pill span { background: var(--amber-soft); color: var(--amber-ink); border-radius: 999px; padding: 3px 10px; }
h1 { margin: 0; max-width: 820px; font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -0.045em; font-weight: 800; }
h1 em { font-style: normal; color: var(--teal); }
.lede { margin: 0; max-width: 600px; font-size: 1.15rem; color: var(--muted); }

.app-wrap { position: relative; max-width: 900px; margin: 40px auto 72px; }
.window { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #EAF4F1; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E1EEEA; }
.window-bar span { margin-left: 12px; font-size: 0.78rem; color: var(--muted); background: var(--bg); border-radius: 6px; padding: 2px 10px; }
.window-body { padding: 24px; }
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 36px 16px; border: 2px dashed #B9D9D2; border-radius: 16px;
  background: #F7FCFB; color: var(--teal); cursor: pointer; text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.drop:hover, .drop:focus-visible, .drop.over { border-color: var(--teal); background: var(--teal-soft); outline: none; }
.drop.over { transform: scale(1.01); }
.drop-title { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.drop-sub { color: var(--muted); font-size: 0.9rem; }
.samples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; margin: 14px 0 0; }
.chip { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--teal); background: var(--teal-soft); }
.status { min-height: 1.5em; margin: 10px 0 0; font-weight: 600; }
.status.error { color: var(--danger); }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 14px; padding: 12px 16px; box-shadow: 0 20px 40px -24px rgba(15, 42, 36, .5); font-size: 0.9rem; font-weight: 700; animation: bob 5s ease-in-out infinite; }
.float b { color: var(--amber-ink); }
.float.dark { background: var(--ink); color: #fff; }
.f1 { left: -36px; top: 150px; }
.f2 { right: -32px; top: 70px; animation-delay: 1.2s; }
.f3 { right: 48px; bottom: -22px; animation-delay: 2.4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.btn {
  font: inherit; font-size: 0.95rem; font-weight: 700; padding: 10px 18px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); text-decoration: none; display: inline-block;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--teal); transform: translateY(-2px); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.primary:hover { color: #fff; box-shadow: 0 14px 28px -14px rgba(11, 116, 118, .7); }
.btn.light { background: #fff; border-color: #fff; color: var(--teal-dark); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.small { padding: 9px 16px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.link { font: inherit; background: none; border: 0; padding: 0 4px; color: var(--teal); cursor: pointer; text-decoration: underline; }

.result { margin-top: 18px; padding-top: 18px; border-top: 1px solid #EAF4F1; animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.result-head h2 { margin: 0; font-size: 1.3rem; word-break: break-word; }
.result-head p { margin: 2px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.check { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 0.9rem; margin-right: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.tabs button { font: inherit; font-size: 0.85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.table-wrap { overflow: auto; max-height: 460px; border: 1px solid #EAF4F1; border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 14px; border-bottom: 1px solid #EAF4F1; text-align: left; white-space: nowrap; }
th { position: sticky; top: 0; background: #F7FCFB; font-weight: 700; }
td.num, th.num { text-align: right; }

.audiences { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: #2E4A43; }
.audiences span { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(15, 42, 36, .45); }
.card h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; }
.icon.amber { background: var(--amber-soft); }

.pricing { margin-top: 80px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pricing h2, .faq h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; text-align: center; }
.plans { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(15, 42, 36, .45); }
.plan h3 { margin: 0; font-size: 1rem; color: var(--muted); display: flex; gap: 10px; align-items: center; width: 100%; justify-content: space-between; }
.plan p { margin: 0; color: var(--muted); }
.plan .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan .btn { margin-top: 10px; }
.plan.featured { background: var(--teal); border-color: var(--teal); }
.plan.featured h3, .plan.featured p, .plan.featured .price, .plan.featured .price small { color: #fff; }
.tag { background: var(--amber); color: #3D2600; font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; letter-spacing: 0; }

.faq { max-width: 760px; margin: 80px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq h2 { margin-bottom: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

dialog { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); max-width: 440px; width: calc(100% - 32px); padding: 24px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(15 42 36 / 0.45); }
dialog h2 { margin-top: 0; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 28px 16px 44px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 720px) {
  .float { display: none; }
  .top nav { gap: 14px; }
  .window-body { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
