/* Dilono site. Tokens are the extension's (extension/ui.css) so the page and the product look like one thing. */
:root {
  --bg: #f8fafc; --card: #ffffff; --text: #0f172a; --muted: #64748b; --line: #e2e8f0;
  --brand: #0f766e; --brand-ink: #ffffff; --brand-soft: #ccfbf1;
  --warn: #b45309; --warn-soft: #fef3c7; --bad: #b91c1c; --bad-soft: #fee2e2; --good: #15803d; --good-soft: #dcfce7;
  --airbnb: #e11d48; --booking: #1d4ed8;
  --shadow: 0 1px 2px rgba(15,23,42,.05), 0 16px 40px rgba(15,23,42,.08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220; --card: #111a2e; --text: #e2e8f0; --muted: #94a3b8; --line: #1e293b;
    --brand: #14b8a6; --brand-ink: #042f2e; --brand-soft: #134e4a;
    --warn: #fbbf24; --warn-soft: #422006; --bad: #f87171; --bad-soft: #450a0a; --good: #4ade80; --good-soft: #052e16;
    --airbnb: #fb7185; --booking: #60a5fa;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* language switch: content carries both languages, html[lang] picks one */
[data-lang-en] { display: none !important; }
html[lang="en"] [data-lang-en] { display: revert !important; }
html[lang="en"] [data-lang-el] { display: none !important; }

/* buttons & pills — same shapes as the extension, scaled up */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 10px; padding: 11px 18px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--brand); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: none; border-color: transparent; color: var(--brand); padding: 6px 8px; }
.btn small { font-weight: 500; opacity: .75; }
.pill { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--line); white-space: nowrap; }
.pill.ok { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }

/* top nav */
.top { display: flex; align-items: center; gap: 8px; padding: 16px 0; }
.logo { display: flex; gap: 10px; align-items: center; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; margin-right: auto; }
.logo img { width: 28px; height: 28px; }
.top .navlink { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 10px; border-radius: 8px; }
.top .navlink:hover, .top .navlink[aria-current="page"] { color: var(--text); background: var(--card); }
.lang { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 5px 13px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 560px) { .top .hide-sm { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 36px 0 72px; }
.eyebrow { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13.5px; padding: 4px 12px; border-radius: 999px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; margin: 16px 0; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 12px; }
.note { font-size: 14.5px; color: var(--muted); margin: 0; }

/* product mock: browser window, AADE form on the left, Dilono side panel on the right */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; line-height: 1.45; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.mock-url { margin-left: 8px; flex: 1; min-width: 0; background: var(--bg); border-radius: 6px; padding: 3px 10px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; grid-template-columns: 1fr 210px; min-height: 340px; }
.mock-form { padding: 14px; display: grid; gap: 8px; align-content: start; background: var(--bg); }
.mock-form .t { font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
.mrow { display: grid; gap: 2px; }
.mrow span { color: var(--muted); font-size: 11.5px; }
.mrow b { border: 2px solid var(--good); border-radius: 7px; padding: 4px 8px; font-weight: 600; background: var(--good-soft); }
.mock-actions { display: flex; gap: 6px; margin-top: 4px; }
.mock-actions div { flex: 1; text-align: center; padding: 7px; border-radius: 7px; font-weight: 700; font-size: 11.5px; }
.mock-actions .d { background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand); }
.mock-actions .f { border: 2px dashed var(--warn); color: var(--warn); }
.mock-panel { border-left: 1px solid var(--line); display: grid; align-content: start; }
.mp-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); font-weight: 700; }
.mp-bar img { width: 16px; height: 16px; }
.mp-bar .gear { margin-left: auto; color: var(--muted); }
.mp-main { padding: 10px; display: grid; gap: 9px; }
.mp-hint { color: var(--muted); font-size: 11px; }
.steps-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.steps-bar span { display: grid; gap: 3px; justify-items: center; font-size: 9px; color: var(--muted); }
.steps-bar span i { width: 100%; height: 4px; border-radius: 999px; background: var(--line); }
.steps-bar .done i { background: var(--brand); opacity: .45; }
.steps-bar .now { color: var(--text); font-weight: 700; }
.steps-bar .now i { background: var(--brand); }
.mp-main h4 { margin: 0; font-size: 14px; }
.mp-item { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: grid; gap: 4px; background: var(--card); }
.mp-item.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.mp-item .h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.mp-item .h b { font-size: 12.5px; }
.mp-item .m { color: var(--muted); font-size: 11px; }
.plat { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; color: var(--muted); }
.plat.airbnb { color: var(--airbnb); } .plat.booking { color: var(--booking); }
.mp-item .pill { font-size: 10.5px; padding: 0 7px; }
.progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--brand); }
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-form { display: none; }
  .mock-panel { border-left: 0; }
}

/* sections */
section { padding: 64px 0; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.card h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 12px; }
.ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 12px; }
.ic svg { width: 22px; height: 22px; }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.video .poster { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px; text-align: center; border: 0; width: 100%;
  background: radial-gradient(120% 90% at 50% 0%, var(--brand-soft), transparent 70%), var(--card); color: var(--text); font: inherit; }
.video button.poster { cursor: pointer; }
.video .play { width: 76px; height: 76px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.video .play svg { width: 30px; height: 30px; margin-left: 4px; }
.video .soon .play { opacity: .45; }
.video .poster:not(.soon) .soon-txt, .video .poster.soon .ready-txt { display: none; }
.video .poster:not(.soon) { cursor: pointer; }
.video .poster b { font-size: 19px; }
.video .poster span { color: var(--muted); font-size: 14.5px; max-width: 30em; }
.chapters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding: 0; list-style: none; }
.chapters li { font-size: 14px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.chapters b { color: var(--text); font-variant-numeric: tabular-nums; margin-right: 4px; }

/* rates */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
table.rates { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; background: var(--card); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.rates th, .rates td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.rates tr:last-child td { border-bottom: 0; }
.rates th { background: var(--brand-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.rates td:not(:first-child) { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

/* blog teaser + index */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { display: grid; gap: 8px; align-content: start; text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--brand); }
.post-card h3 { color: var(--text); }
.post-meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.post-list { display: grid; gap: 14px; max-width: 760px; }
.more { margin-top: 20px; }

/* closing band */
.band { background: var(--brand); color: var(--brand-ink); border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.band h2 { margin: 0; }
.band .btn { background: var(--brand-ink); color: var(--brand); border: 0; }

footer.site { padding: 36px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 56px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* cookie banner (only rendered when analytics is configured) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 620px; margin: 0 auto; display: flex; gap: 14px; align-items: center;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 14.5px; line-height: 1.5; }
.consent p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent .btn { padding: 8px 14px; font-size: 14.5px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; justify-content: center; } }

/* article (blog post, privacy) */
.article { max-width: 720px; margin: 0 auto; padding: 16px 0 24px; }
.article h1 { font-size: clamp(30px, 4.4vw, 42px); }
.article h2 { font-size: 25px; margin: 40px 0 10px; }
.article h3 { font-size: 19px; margin: 28px 0 8px; }
.article p, .article li { font-size: 17.5px; }
.article li + li { margin-top: 6px; }
.article blockquote { margin: 20px 0; padding: 12px 16px; border-radius: 10px; background: var(--brand-soft); color: var(--text); }
.article blockquote p { margin: 0; }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 16px 0; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article th { background: var(--card); }
.article code { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; font-size: .9em; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.back { display: inline-block; margin-bottom: 8px; text-decoration: none; font-weight: 600; }
.cta-box { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta-box p { margin: 0; color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; gap: 32px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid3, .posts { grid-template-columns: 1fr; }
  .band { padding: 28px; }
  section { padding: 44px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .card { padding: 18px; }
}

/* contact form (coming-soon page) */
.contact { max-width: 560px; margin: 0 auto 64px; padding: 24px; }
.contact h2 { margin: 0 0 4px; font-size: 22px; }
.contact form { display: grid; gap: 14px; margin-top: 16px; }
.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.contact input, .contact textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
.contact textarea { resize: vertical; min-height: 120px; }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.contact button { justify-self: start; }
.contact button[disabled] { opacity: .6; cursor: progress; }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); }
.form-status.bad { background: var(--bad-soft); color: var(--bad); }
