/* GreekSentry website — approved Homepage v3 design (design freeze 2026-10-20).
   No inline styles anywhere: the Content-Security-Policy allows stylesheets from this site only. */

:root {
  --bg: #091321;
  --bg2: #101e31;
  --card: #14243a;
  --card2: #172940;
  --ink: #edf5ff;
  --muted: #a2b4ca;
  --line: #28415b;
  --blue: #63a9ff;
  --primary: #2c72dd;
  --skel: #24384f;
  --skel2: #33506f;
  --sel: #203d60;
  --glow: rgba(40, 89, 145, 0.22);
  --danger: #ff9b9b;
  --shadow: 0 28px 80px rgba(3, 9, 18, 0.45);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

/* Light theme: follows the system unless the visitor chose a theme with the toggle. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f8fd; --bg2: #ebf3fc; --card: #ffffff; --card2: #f1f6fc; --ink: #14263e;
    --muted: #51677e; --line: #c9d8e7; --blue: #145fbf; --primary: #226bd4; --skel: #dbe5f1;
    --skel2: #c2d2e5; --sel: #dbe8f8; --glow: rgba(34, 107, 212, 0.10); --danger: #b42318;
    --shadow: 0 25px 70px rgba(90, 121, 147, 0.23); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f8fd; --bg2: #ebf3fc; --card: #ffffff; --card2: #f1f6fc; --ink: #14263e;
  --muted: #51677e; --line: #c9d8e7; --blue: #145fbf; --primary: #226bd4; --skel: #dbe5f1;
  --skel2: #c2d2e5; --sel: #dbe8f8; --glow: rgba(34, 107, 212, 0.10); --danger: #b42318;
  --shadow: 0 25px 70px rgba(90, 121, 147, 0.23); color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.62;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1170px; margin: 0 auto; padding: 0 28px; }

/* Announcement bar */
.announce { background: #122947; color: #c9defb; text-align: center; font-size: 13px; letter-spacing: 0.02em; padding: 9px 16px; border-bottom: 1px solid #335273; }
.announce strong { color: #fff; }

/* Navigation */
.nav { display: flex; align-items: center; gap: 12px 24px; min-height: 78px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: -0.03em; }
.brand:hover { color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.theme-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform 0.2s, filter 0.2s; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(40, 107, 205, 0.22); }
.btn-primary:hover { color: #fff; filter: brightness(1.08); transform: translateY(-2px); }
.btn-secondary { border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { color: var(--ink); border-color: var(--blue); }
.btn-small { min-height: 44px; padding: 11px 17px; font-size: 14px; }

/* Hero */
.hero { text-align: center; padding: 96px 0 80px; background: radial-gradient(ellipse at 50% 30%, var(--glow), transparent 55%); }
.eyebrow { color: var(--blue); text-transform: uppercase; font-size: 12px; letter-spacing: 0.2em; font-weight: 800; }
.hero h1 { margin: 20px auto 24px; max-width: 940px; font-size: clamp(41px, 5.3vw, 73px); line-height: 1.075; letter-spacing: -0.05em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .sub { margin: 0 auto; max-width: 790px; font-size: 18px; color: var(--muted); }
.ctas { display: flex; justify-content: center; gap: 12px; margin: 30px 0 18px; flex-wrap: wrap; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.trust li:not(:last-child)::after { content: "•"; color: var(--blue); margin: 0 11px; }

/* Product frame */
.product { margin: 60px auto 0; max-width: 1070px; text-align: left; }
.product-frame { border: 1px solid var(--line); border-radius: 18px; padding: 9px; background: var(--card); box-shadow: var(--shadow); }
.product-frame > img { border-radius: 10px; width: 100%; height: auto; }
.app { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg2); }
.app-head { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; }
.app-head i { width: 9px; height: 9px; border-radius: 50%; background: var(--skel2); }
.app-head span { margin-left: 10px; }
.app-body { display: flex; flex-wrap: wrap; min-height: 380px; }
.app-side { flex: 0 0 172px; padding: 17px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--muted); }
.app-side span { padding: 9px 12px; border-radius: 7px; }
.app-side .active { background: var(--sel); color: var(--ink); font-weight: 600; }
.app-main { flex: 999 1 520px; min-width: 0; padding: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel { background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.panel.wide { grid-column: span 2; }
.panel-title { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.panel-title small { font-size: 12px; font-weight: 400; color: var(--muted); }
.moves { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.move { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 12px; color: var(--muted); }
.bar { height: 12px; border-radius: 4px; background: var(--skel); margin-top: 10px; }
.bar.strong { background: var(--skel2); }
.w30 { width: 32%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 62%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; }
.product figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* Sections */
.section { border-top: 1px solid var(--line); padding: 96px 0; }
.section.alt { background: var(--bg2); }
.section h2 { margin-top: 11px; font-size: clamp(30px, 3.5vw, 45px); letter-spacing: -0.04em; line-height: 1.16; }
.label { color: var(--blue); font-size: 12px; letter-spacing: 0.16em; font-weight: 800; text-transform: uppercase; }
.intro { margin-top: 16px; max-width: 720px; color: var(--muted); }

.cards { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 17px; }
.card { border: 1px solid var(--line); background: var(--card); border-radius: 15px; padding: 27px; }
.card .glyph { width: 40px; height: 40px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 10px; font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.card .glyph svg { width: 20px; height: 20px; }
.card h3 { margin-bottom: 9px; font-size: 18px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15px; }

.features { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 64px; padding: 0; list-style: none; }
.features li { border-top: 1px solid var(--line); padding: 23px 0; }
.features h3 { margin-bottom: 5px; font-size: 17px; }
.features .num { color: var(--blue); font-size: 12px; font-weight: 700; margin-right: 9px; }
.features p { color: var(--muted); font-size: 15px; }

.gallery { margin-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; }
.shot { margin: 0; border: 1px solid var(--line); background: var(--card); border-radius: 15px; padding: 10px; }
.shot img { border-radius: 9px; width: 100%; height: auto; }
.shot-placeholder { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--bg2); border-radius: 9px; border: 1px dashed var(--skel2); color: var(--muted); font-size: 14px; }
.shot figcaption { padding: 14px 7px 6px; }
.shot figcaption strong { display: block; }
.shot figcaption span { color: var(--muted); font-size: 14px; }

.brokers { margin: 30px 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.broker { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.broker strong { display: block; font-size: 20px; }
.broker span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.note { font-size: 14px; color: var(--muted); max-width: 820px; }

.security { margin-top: 33px; display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 15px; padding: 0; list-style: none; }
.security li { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.security svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--blue); }
.security h3 { margin-bottom: 6px; font-size: 16px; }
.security p { color: var(--muted); font-size: 14px; }

.beta { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 64px 28px; text-align: center; }
.beta h2 { margin-top: 12px; }
.beta p { margin: 14px auto 0; color: var(--muted); max-width: 620px; }
.beta .btn { margin-top: 28px; }

.disclaimer { padding: 48px 0; border-top: 1px solid var(--line); }
.disclaimer p { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 950px; }

/* Beta request form */
.beta-form { max-width: 640px; margin: 32px auto 0; text-align: left; display: grid; gap: 22px; }
.beta-form p { margin: 0; max-width: none; }
.beta-form .form-warning { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); color: var(--ink); font-size: 14px; }
.beta-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.beta-form .field > label, .beta-form legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 600; font-size: 15px; color: var(--ink); }
.beta-form .hint { margin-left: 6px; font-weight: 400; font-size: 13px; color: var(--muted); }
.beta-form .req { color: var(--blue); }
.beta-form input[type="email"], .beta-form input[type="text"], .beta-form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
.beta-form textarea { resize: vertical; min-height: 96px; }
.beta-form input:focus-visible, .beta-form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.beta-form [aria-invalid="true"], .beta-form fieldset[aria-invalid="true"] .choice { border-color: var(--danger); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); color: var(--ink); font-size: 15px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--blue); }
.choice input, .consent input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--primary); }
.other-broker { margin-top: 12px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 3px; }
.beta-form .form-status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.beta-form .form-status.error { color: var(--danger); }
.beta-form .btn { justify-self: start; margin-top: 0; }
.beta-form button[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.beta-form .form-alt, .beta .form-alt { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { max-width: 640px; margin: 32px auto 0; padding: 24px; border: 1px solid var(--blue); border-radius: 14px; background: var(--bg2); }
.form-done:focus { outline: none; }
.form-done h3 { font-size: 20px; }
.form-done p { margin-top: 8px; color: var(--ink); }
@media (max-width: 520px) { .beta-form .btn { justify-self: stretch; } .choices { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg2); font-size: 14px; }
.footer .wrap { padding-top: 32px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand img { width: 24px; height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.footer-copy { margin-left: auto; color: var(--muted); }

/* Legal and utility pages */
.doc { max-width: 780px; margin: 0 auto; padding: 72px 28px 96px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.04em; line-height: 1.15; }
.doc .meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.doc .review { margin-top: 24px; padding: 14px 18px; border: 1px dashed var(--skel2); border-radius: 10px; color: var(--muted); font-size: 14px; }
.doc h2 { margin-top: 40px; font-size: 22px; letter-spacing: -0.02em; }
.doc h3 { margin-top: 28px; font-size: 17px; letter-spacing: -0.01em; }
.doc p, .doc ul { margin-top: 12px; color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc .caps { font-size: 14px; letter-spacing: 0.01em; }
.center { text-align: center; }
.doc .ctas { justify-content: center; }

/* Small screens */
@media (max-width: 820px) {
  .nav { padding: 12px 0; }
  .nav-links { order: 3; width: 100%; margin: 0; gap: 22px; overflow-x: auto; padding-bottom: 4px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-small { display: none; }
  .hero { padding-top: 64px; }
  .ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .app-side { display: none; }
  .app-main { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .panel.wide { grid-column: auto; }
  .moves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 68px 0; }
  .gallery, .security, .features { grid-template-columns: minmax(0, 1fr); }
  .footer-copy { margin-left: 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero .sub { font-size: 16px; }
  .trust { gap: 6px 16px; }
  .trust li:not(:last-child)::after { content: none; }
  .beta { padding: 44px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn-primary:hover { transform: none; }
}
