/* linkeiaemail.com — Linkeia E-mail (palette of linkeia.com) */

:root {
    --ink: #0c1c2b;
    --navy: #17364d;
    --navy-2: #1b4a6e;
    --cyan: #4bccfe;
    --cyan-2: #1fa9e0;
    --coral: #ff554a;
    --coral-2: #ec4337;
    --mist: #f3f5f7;
    --line: #e3e8ee;
    --text: #13212e;
    --muted: #5a6b7b;
    --white: #ffffff;
    --ok: #1d6fa8;   /* Linkeia blue (was green, not part of the brand) */
    /* theme (light): page, cards, accent text and soft tints; the dark values are below */
    --page: #ffffff;
    --surface: #ffffff;
    --accent: var(--navy);
    --line-hi: #cfdbe6;
    --tint-cyan: #e9f7ff;
    --tint-coral: #fff0ee;
    --tint-ok: #e9f7ff;
    --more-bg: #fff6f5;
    --more-line: #ffb8b2;
    --more-ic: #ffe3e0;
    --more-link: #ffc9c4;
    --placeholder: #98a7b5;
    --ease: cubic-bezier(.23, 1, .32, 1);
    --title: 'Bai Jamjuree', 'Segoe UI', system-ui, sans-serif;
    --body: 'Open Sans', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; --top-h: 72px; }
/* Lenis (smooth wheel, site.js) moves the page itself */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
html.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cyan-2); }
h1, h2, h3 { font-family: var(--title); color: var(--text); line-height: 1.15; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
.lucide { width: 20px; height: 20px; stroke-width: 1.9; flex: none; }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------------------------------------------------------------- buttons (round) */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
    font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), filter .2s; }
.btn:active { transform: scale(.98); }
.btn .lucide { width: 18px; height: 18px; }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: var(--coral-2); }
.btn-cyan { background: var(--cyan); color: var(--ink); }
.btn-cyan:hover { filter: brightness(1.06); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); }
.btn-outline-light { border-color: rgba(255, 255, 255, .3); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .75; cursor: progress; }

.eyebrow { display: inline-block; font: 700 12px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan-2); margin-bottom: 14px; }

/* ---------------------------------------------------------------- header */

/* fixed over the hero, transparent until the page scrolls (site.js adds .solid) */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.top.solid { background: rgba(12, 28, 43, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: rgba(255, 255, 255, .07); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 112px; height: auto; }
.brand span { font: 600 17px/1 var(--title); color: var(--cyan); padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .22); }
.nav { display: flex; gap: 2px; margin-left: 10px; }
.nav a { color: #b9c9d7; text-decoration: none; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; padding: 10px 12px; white-space: nowrap; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.top-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.top-cta .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- hero (clean) */

.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; min-height: 80vh; background: radial-gradient(120% 120% at 85% 20%, #113049 0%, #0c2135 45%, #050d16 100%); color: #b9c9d7; padding: calc(var(--top-h) + 32px) 0 32px; }
.hero-rays { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-rays canvas { display: block; width: 100%; height: 100%; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: var(--white); font-size: clamp(38px, 4.8vw, 64px); font-weight: 700; line-height: 1em; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.lead { font-size: 16px; max-width: 580px; margin-top: 22px; color: #b9c9d7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 28px; }
.hero-meta li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #9fb2c4; }
.hero-meta .lucide { color: var(--cyan); }
.hero-meta b { color: var(--white); font-family: var(--title); font-size: 18px; }

.login-card { background: var(--surface); border-radius: 16px; padding: 30px 32px; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7); color: var(--text); }
.login-card h2 { font-size: 26px; font-weight: 700; }
.login-sub { font-size: 14px; color: var(--muted); margin: 6px 0 20px; }
.field { display: block; margin-bottom: 16px; }
.field > span:first-child { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.input { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 6px 0 18px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--mist); transition: border-color .2s, background .2s, box-shadow .2s; }
.input:focus-within { border-color: var(--cyan-2); background: var(--surface); box-shadow: 0 0 0 4px rgba(75, 204, 254, .2); }
.input .lucide { color: var(--muted); width: 18px; height: 18px; }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 16px var(--body); color: var(--text); outline: none; }
.input input::placeholder { color: var(--placeholder); }
.reveal { width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.reveal:hover { background: var(--line); color: var(--text); }
.remember { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); margin: 2px 0 20px; cursor: pointer; }
.remember input { width: 17px; height: 17px; accent-color: var(--coral); }
.login-msg { font-size: 14px; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; line-height: 1.5; }
.login-msg.error { background: var(--tint-coral); color: #a12a20; }
.login-msg.info { background: var(--tint-cyan); color: #0b4a6e; }
.login-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 16px; }
.login-note .lucide { width: 16px; height: 16px; color: var(--ok); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- logos marquee */

.logos { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* the logo files carry their own margin (400x250) */
.logo-item img { height: 96px; width: auto; filter: grayscale(1) contrast(1.15); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-item img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- dark mode
   html[data-theme="dark"], set before paint by the inline script in <head> and switched
   with the moon/sun button in the header (site.js). Hero, dark sections and footer stay as they are. */

html[data-theme="dark"] {
    color-scheme: dark;
    --page: #0a1724;
    --surface: #10243a;
    --mist: #0d1e2f;
    --line: #1f3549;
    --line-hi: #2c4a64;
    --text: #e4edf5;
    --muted: #94a8ba;
    --accent: var(--cyan);
    --tint-cyan: rgba(75, 204, 254, .12);
    --tint-coral: rgba(255, 85, 74, .14);
    --tint-ok: rgba(75, 204, 254, .16);
    --ok: #4bccfe;
    --more-bg: rgba(255, 85, 74, .06);
    --more-line: rgba(255, 85, 74, .45);
    --more-ic: rgba(255, 85, 74, .16);
    --more-link: rgba(255, 85, 74, .45);
    --placeholder: #6f8598;
}
html[data-theme="dark"] .login-card { box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }
html[data-theme="dark"] .login-msg.error { color: #ff9d95; }
html[data-theme="dark"] .login-msg.info { color: #9fdcff; }
html[data-theme="dark"] .adv-hl, html[data-theme="dark"] .bubble.me, html[data-theme="dark"] .mock-typing { background: var(--navy-2); border-color: var(--navy-2); }
html[data-theme="dark"] .support-list li > span { background: var(--navy-2); }
html[data-theme="dark"] .port em { color: #4bccfe; }
html[data-theme="dark"] .adv:hover, html[data-theme="dark"] .plan:hover { box-shadow: 0 22px 48px -28px rgba(0, 0, 0, .8); }
/* the client logos are dark artwork: shown light on the dark page */
html[data-theme="dark"] .logo-item img { filter: grayscale(1) invert(1) brightness(1.6); opacity: .55; }
html[data-theme="dark"] .logo-item img:hover { filter: grayscale(1) invert(1) brightness(2); opacity: .9; }
html[data-theme="dark"] .btn-navy { background: #20455f; }
html[data-theme="dark"] .cta-band { box-shadow: 0 34px 80px -34px rgba(0, 0, 0, .9); }

/* theme switch in the header */
.theme-btn { width: 42px; height: 42px; flex: none; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white); cursor: pointer; display: inline-grid; place-items: center; transition: border-color .2s, background .2s; }
.theme-btn:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.theme-btn .lucide { width: 18px; height: 18px; }
.theme-btn .ic-sun, html[data-theme="dark"] .theme-btn .ic-moon { display: none; }
html[data-theme="dark"] .theme-btn .ic-sun { display: block; }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: 0 0 clamp(64px, 8vw, 104px); }
.section-mist { background: var(--mist); }
.section-dark { background: radial-gradient(120% 140% at 50% 0%, var(--navy-2) 0%, var(--navy) 45%, var(--ink) 100%); color: #b9c9d7; }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.sec-head.left { text-align: left; margin: 0; }
.sec-head h2, .section h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; }
.sec-head p { margin-top: 16px; font-size: 16px; color: var(--muted); }
.sec-head.light h2 { color: var(--white); }
.sec-head.light p { color: #b9c9d7; }
.sec-head.light .eyebrow { color: var(--cyan); }

/* advantages */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.adv { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.adv:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(8, 18, 30, .35); border-color: var(--line-hi); }
.adv-ic { width: 50px; height: 50px; border-radius: 999px; display: grid; place-items: center; background: var(--tint-cyan); color: var(--cyan-2); margin-bottom: 20px; }
.adv-ic .lucide { width: 23px; height: 23px; }
.adv h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.adv p { font-size: 16px; color: var(--muted); }
.adv-hl { background: var(--navy); border-color: var(--navy); }
.adv-hl h3 { color: var(--white); }
.adv-hl p { color: #b9c9d7; }
.adv-hl .adv-ic { background: var(--coral); color: var(--white); }

/* modern style: light / dark screenshots under a drag-to-compare divider (site.js) */
.section-style { background: radial-gradient(70% 55% at 50% 62%, var(--tint-cyan) 0%, transparent 70%); }
.shot { max-width: 1120px; margin: 0 auto; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 50px 90px -48px rgba(12, 28, 43, .55); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.shot-bar > span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-hi); }
.shot-bar em { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; padding: 4px 16px; border-radius: 999px; background: var(--mist); font: 500 12px/1.4 var(--body); font-style: normal; color: var(--muted); transform: translateX(-20px); }
.shot-bar em .lucide { width: 12px; height: 12px; color: var(--ok); }
.shot-view { position: relative; aspect-ratio: 1666 / 940; user-select: none; }
.shot-view img { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot-dark { clip-path: inset(0 0 0 var(--pos)); }
.shot-tag { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(12, 28, 43, .78); color: var(--white); font: 600 12px/1 var(--body); backdrop-filter: blur(6px); pointer-events: none; }
.shot-tag .lucide { width: 14px; height: 14px; color: var(--cyan); }
.shot-tag-l { left: 14px; }
.shot-tag-r { right: 14px; }
.shot-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--cyan); box-shadow: 0 0 0 1px rgba(12, 28, 43, .25); pointer-events: none; }
.shot-handle > span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: var(--ink); box-shadow: 0 8px 22px -6px rgba(12, 28, 43, .6); transition: transform .2s var(--ease); }
.shot-handle .lucide { width: 20px; height: 20px; }
.shot-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.shot-view:hover .shot-handle > span, .shot-range:focus-visible ~ .shot-handle > span { transform: scale(1.1); }
.shot-view:has(.shot-range:focus-visible) { outline: 3px solid var(--cyan); outline-offset: -3px; }
.style-points { max-width: 1100px; margin: clamp(40px, 5vw, 56px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.style-points .lucide { width: 42px; height: 42px; padding: 10px; border-radius: 999px; background: var(--tint-cyan); color: var(--cyan-2); margin-bottom: 14px; }
.style-points h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.style-points p { font-size: 16px; color: var(--muted); }

/* free / compare */
.free { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.free-copy p { font-size: 16px; color: var(--muted); margin: 18px 0 30px; }
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.cmp-row > span { padding: 18px 22px; font-size: 15px; }
.cmp-row > span:first-child { font-weight: 600; }
.cmp-head { border-top: 0; background: var(--mist); }
.cmp-head span { font: 700 13px/1.3 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cmp-row > span:nth-child(2) { color: var(--muted); }
.cmp-us { background: rgba(75, 204, 254, .1); color: var(--accent) !important; font-weight: 600; }
.cmp-head .cmp-us { color: var(--accent) !important; }
.cmp-us b { font: 700 20px var(--title); color: var(--coral); }

/* productivity */
.prod { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.prod-copy { align-self: center; }
.prod-copy > p { font-size: 16px; color: var(--muted); margin-top: 16px; }
.tool-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.tool-list li { display: flex; gap: 14px; align-items: flex-start; }
.tool-list .lucide { width: 42px; height: 42px; padding: 10px; border-radius: 999px; background: var(--tint-cyan); color: var(--cyan-2); }
.tool-list b { display: block; font-family: var(--title); font-size: 17px; }
.tool-list span { font-size: 16px; color: var(--muted); }

.mock { display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(12, 28, 43, .45); overflow: hidden; font-size: 13px; }
.mock-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--ink); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b4157; }
.mock-body { flex: 1; display: grid; grid-template-columns: 170px 1fr 220px; min-height: 360px; }
.mock-side { background: var(--navy); color: #c7d6e3; padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; }
.mock-folder { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; }
.mock-folder .lucide { width: 16px; height: 16px; }
.mock-folder.on { background: rgba(75, 204, 254, .16); color: var(--white); }
.mock-folder b { margin-left: auto; background: var(--cyan); color: var(--ink); border-radius: 999px; padding: 0 7px; font-size: 11px; }
.mock-tags { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.mock-tags span { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.mock-tags span::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.mock-list { border-right: 1px solid var(--line); }
.mock-mail { display: grid; grid-template-columns: 1fr auto; padding: 14px 16px; border-bottom: 1px solid var(--line); gap: 2px 10px; }
.mock-mail b { font-size: 13.5px; }
.mock-mail span { grid-column: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-mail em { grid-row: 1; grid-column: 2; font-style: normal; color: var(--muted); font-size: 12px; }
.mock-mail.on { background: var(--tint-cyan); box-shadow: inset 3px 0 0 var(--cyan); }
.mock-chat { padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.mock-chat-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.mock-chat-head .lucide { width: 16px; height: 16px; }
.bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 9px 12px; max-width: 90%; }
.bubble.me { align-self: flex-end; background: var(--navy); color: var(--white); border-color: var(--navy); border-radius: 14px 14px 4px 14px; }
.mock-file { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.mock-file .lucide { width: 18px; height: 18px; color: var(--ok); }
.mock-typing { margin-top: auto; display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--white); border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.mock-typing .lucide { width: 16px; height: 16px; color: var(--cyan); }
.mock-file span { margin-left: auto; color: var(--coral); font-weight: 700; font-size: 12px; }

/* security */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-item { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 28px; }
.sec-item > .lucide { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 16px; }
.sec-item h3 { color: var(--white); font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.sec-item p { font-size: 16px; }

/* apps and ports */
.apps { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.apps-copy p { font-size: 16px; color: var(--muted); margin-top: 16px; }
.app-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.app-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; }
.app-chips .lucide { width: 17px; height: 17px; color: var(--cyan-2); }
.ports { background: var(--mist); border-radius: 22px; padding: 30px; }
.ports h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.ports h3 .lucide { color: var(--coral); }
.port { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; background: var(--surface); border-radius: 999px; padding: 12px 22px; margin-bottom: 10px; }
.port span { font-weight: 700; }
.port b { font: 700 18px var(--title); color: var(--accent); }
.port em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--tint-ok); padding: 4px 10px; border-radius: 999px; }
.ports p { font-size: 16px; color: var(--muted); margin-top: 14px; }

/* use cases */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use { background: var(--surface); border-radius: 18px; padding: 28px; border: 1px solid var(--line); }
.use > .lucide { width: 44px; height: 44px; padding: 10px; border-radius: 999px; background: var(--tint-coral); color: var(--coral); margin-bottom: 16px; }
.use h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.use p { font-size: 16px; color: var(--muted); }

/* ---------------------------------------------------------------- plans (as linkeia.com) */

.plans-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.plans-tab { height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--mist); font: 600 14.5px var(--body); color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.plans-tab:hover { border-color: var(--accent); }
.plans-tab.active { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plans-desc { text-align: center; max-width: 660px; min-height: 3.3em; margin: 0 auto 30px; color: var(--muted); }
.plans-panel[hidden] { display: none; }
.plans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px rgba(8, 18, 30, .4); border-color: var(--line-hi); }
.plan-name { text-align: center; color: var(--cyan-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.plan-price { text-align: center; font: 700 34px/1 var(--title); letter-spacing: -.02em; }
.plan-price span { font: 600 13px var(--body); color: var(--muted); margin-left: 4px; }
.plan-cycle { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.plan-buy { display: block; text-align: center; background: var(--coral); color: var(--white); font-weight: 600; font-size: 15px; padding: 14px; border-radius: 999px; text-decoration: none; transition: background .2s; }
.plan-buy:hover { background: var(--coral-2); }
.plan-specs { list-style: none; padding: 0; margin: 18px 0 0; }
.plan-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.plan-specs span { color: var(--muted); }
.plan-specs b { text-align: right; }
.plan-mail b { color: var(--ok); }
.plan-more { background: var(--more-bg); border: 1.5px dashed var(--more-line); align-items: center; justify-content: center; text-align: center; }
.pm-ic { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: var(--more-ic); color: var(--coral); margin-bottom: 16px; }
.plan-more h3 { font-size: 20px; margin-bottom: 8px; }
.plan-more p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.pm-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--more-link); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; }
.pm-link .lucide { width: 16px; height: 16px; }
.pm-link:hover { border-color: var(--coral); }
.plans-note { text-align: center; margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- numbers */

.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 34px 16px; text-align: center; }
.stat b { display: block; font: 700 clamp(34px, 3vw, 44px)/1 var(--title); color: var(--navy-2); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- testimonials, support, migration */

.tst-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tst { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.tst-stars { color: #f5b301; letter-spacing: 2px; }
.tst blockquote { margin: 0; flex: 1; font-size: 16px; }
.tst figcaption { display: flex; align-items: center; gap: 12px; }
.tst-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--white); font-weight: 700; font-size: 13px; flex: none; }
.tst figcaption b { display: block; font-size: 14px; }
.tst figcaption div span { display: block; font-size: 13px; color: var(--muted); }

.support { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.support-copy > p { font-size: 16px; color: var(--muted); margin-top: 16px; }
.support-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.support-list li { display: flex; gap: 14px; }
.support-list li > span { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--navy); color: var(--cyan); flex: none; }
.support-list b { font-family: var(--title); font-size: 17px; }
.support-list p { font-size: 16px; color: var(--muted); }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.support-visual img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.migrate { text-align: center; border-radius: 28px; color: #b9c9d7; padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px); background: radial-gradient(130% 150% at 50% 0%, var(--navy-2) 0%, var(--navy) 46%, var(--ink) 100%); }
.migrate .eyebrow { color: var(--cyan); }
.migrate h2 { color: var(--white); }
.migrate p { max-width: 640px; margin: 16px auto 32px; font-size: 16px; }
.migrate-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* faq */
.faq-wrap { max-width: 960px; }
.faq-wrap .sec-head p { font-size: 16px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/1.35 var(--title); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .lucide { transition: transform .25s var(--ease); color: var(--coral); }
.faq details[open] summary .lucide { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; font-size: 16px; color: var(--muted); }

/* cta and footer */
/* final band and footer: same as new.linkeia.com (the band sits over the top of the footer) */
.cta-final { padding: clamp(50px, 7vw, 90px) 0 0; }
.cta-band { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; border-radius: 24px; padding: clamp(32px, 4vw, 52px) clamp(28px, 4vw, 56px); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 34px 80px -34px rgba(8, 18, 30, .45); margin-bottom: -140px; }
.cta-left { flex: 1 1 440px; }
.cta-band h2 { font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.14; letter-spacing: -.02em; margin: 0 0 12px; max-width: 22ch; }
.cta-band p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; max-width: 52ch; }
.cta-band .cta-actions { flex: 0 0 auto; }
.cta-band .btn-coral { box-shadow: 0 14px 30px -12px rgba(255, 85, 74, .6); }

.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: calc(140px + clamp(56px, 6vw, 80px)) 0 28px;   /* 140px under the CTA band, then the gap */ position: relative; z-index: 1; }
.footer a { text-decoration: none; }
.footer-top { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; align-items: start; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.fb-head { color: #fff; font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.fb-list { list-style: none; margin: 0 0 20px; padding: 0; }
.fb-list li { font-size: 13.5px; color: rgba(255, 255, 255, .6); padding: 2px 0; }
.fb-label { color: #fff; font-weight: 700; font-size: 13.5px; margin: 16px 0 4px; }
.fb-sub { font-size: 13px; color: rgba(255, 255, 255, .55); margin: 0 0 8px; line-height: 1.5; }
.fb-wa, .fb-tel { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 14px; margin: 3px 0; transition: color .2s; }
.fb-wa { font-weight: 600; color: #fff; }
.fb-tel { display: flex; }
.fb-wa:hover, .fb-tel:hover { color: var(--cyan); }
.fb-wa svg { width: 16px; height: 16px; color: #25d366; flex: none; }
.fb-tel svg { width: 14px; height: 14px; color: rgba(255, 255, 255, .5); flex: none; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, color .2s; }
.footer-social a:hover { background: var(--cyan); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: var(--title); color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 16px; }
.footer-col a { display: block; color: rgba(255, 255, 255, .64); font-size: 14px; padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.fb-right { display: flex; align-items: center; gap: 18px; }
.fb-pay { display: flex; align-items: center; gap: 9px; }
.fb-pay img { height: 38px; width: auto; display: block; }
.fb-top { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; flex: none; transition: background .2s; }
.fb-top:hover { background: var(--cyan); color: var(--ink); }
.fb-top svg { width: 17px; height: 17px; }

/* new features: zigzag rows (text | picture, then picture | text) */
.zz-wrap { max-width: 1200px; }
.zz { display: grid; gap: clamp(56px, 7vw, 96px); }
.zz-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.zz-rev { grid-template-columns: 1.1fr 1fr; }
.zz-rev .zz-visual { order: -1; }
.zz-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.new-ic { width: 50px; height: 50px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--tint-cyan); color: var(--cyan-2); }
.new-ic .lucide { width: 23px; height: 23px; }
.new-badge { font: 700 11px/1 var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--coral); background: var(--tint-coral); padding: 7px 10px; border-radius: 999px; }
.zz-copy h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; margin-bottom: 12px; }
.zz-copy p { font-size: 16px; color: var(--muted); }
.new-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; font-size: 16px; }
.new-points li { display: flex; gap: 10px; align-items: flex-start; }
.new-points .lucide { width: 18px; height: 18px; margin-top: 3px; color: var(--cyan-2); }

/* the picture: a small app window */
.zz-visual { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 34px 70px -40px rgba(8, 18, 30, .45); min-width: 0; }
.vis-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 3px solid #275a7f; background: linear-gradient(180deg, #f6f6f8, #ebebee); }
.vis-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4d7dc; }
.vis-bar em { margin-left: 10px; font: 600 12px/1 var(--body); font-style: normal; color: var(--muted); }
.zz-visual > :last-child { padding: 22px; }

/* kanban */
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: var(--mist); }
.kb-col { display: grid; gap: 9px; align-content: start; min-width: 0; }
.kb-col > b { font: 600 13px/1 var(--title); padding: 4px 2px; display: flex; justify-content: space-between; }
.kb-col > b em { font-style: normal; color: var(--muted); font-weight: 500; }
.kb-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: 600 13px/1.3 var(--body); box-shadow: 0 6px 14px -12px rgba(8, 18, 30, .5); }
.kb-card i { display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--c); margin-bottom: 7px; }
.kb-card small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.kb-move { transform: rotate(-3deg); box-shadow: 0 16px 26px -14px rgba(8, 18, 30, .6); border-color: var(--cyan); }

/* transfer */
.tf { display: grid; gap: 12px; font-size: 13px; background: var(--mist); }
.tf-file { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.tf-file .lucide { width: 38px; height: 38px; padding: 9px; border-radius: 9px; background: var(--tint-coral); color: var(--coral); }
.tf-file div { min-width: 0; }
.tf-file b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tf-file span { color: var(--muted); font-size: 12px; }
.tf-bar { height: 8px; border-radius: 8px; background: var(--line); overflow: hidden; }
.tf-bar span { display: block; width: 72%; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--cyan-2), var(--cyan)); }
.tf-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.tf-to { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-to span { background: var(--tint-cyan); color: var(--accent); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; }
.tf-exp { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 12px; }
.tf-toggle { width: 34px; height: 20px; border-radius: 20px; background: var(--cyan-2); position: relative; flex: none; }
.tf-toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }

/* drive */
.dv { background: var(--mist); }
.dv-tools { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 14px; }
.dv-tools span { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.dv-tools span.on { color: var(--white); background: #275a7f; border-color: #275a7f; }
.dv-tools .lucide { width: 16px; height: 16px; }
.dv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dv-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; font: 600 12px/1.3 var(--body); text-align: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-th { display: grid; place-items: center; height: 78px; border-radius: 8px; margin-bottom: 8px; }
.dv-th .lucide { width: 30px; height: 30px; }
.dv-img { background: linear-gradient(135deg, var(--g1), var(--g2)); position: relative; overflow: hidden; }
.dv-img::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 60%; background: rgba(255, 255, 255, .25); border-radius: 50% 50% 0 0; }
.dv-folder { background: var(--tint-cyan); color: var(--cyan-2); }
.dv-pdf { background: var(--tint-coral); color: var(--coral); }
.dv-xls { background: var(--tint-cyan); color: #275a7f; }

/* scheduled sending */
.sc { display: grid; gap: 10px; background: var(--mist); position: relative; }
.sc-field { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.sc-field span { color: var(--muted); width: 54px; flex: none; }
.sc-pop { justify-self: end; width: min(290px, 100%); background: var(--surface); border: 1px solid var(--line-hi); border-radius: 12px; padding: 12px; display: grid; gap: 4px; font-size: 13px; box-shadow: 0 22px 40px -22px rgba(8, 18, 30, .55); }
.sc-pop b { font-family: var(--title); font-size: 14px; margin-bottom: 4px; }
.sc-pop span { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; }
.sc-pop span em { font-style: normal; color: var(--muted); }
.sc-pop span.on { background: var(--tint-cyan); color: var(--accent); font-weight: 600; }
.sc-btns { display: flex; justify-content: flex-end; gap: 8px; }
.sc-btns span { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; padding: 9px 14px; font-size: 13px; font-weight: 600; }
.sc-btns .lucide { width: 16px; height: 16px; }
.sc-prog { background: var(--surface); border: 1px solid var(--line-hi); }
.sc-send { background: var(--cyan); color: var(--ink); }

/* tasks */
.tk { display: grid; gap: 10px; background: var(--mist); }
.tk-item { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: 13px; }
.tk-item > div { flex: 1; min-width: 0; }
.tk-item b { display: block; }
.tk-item small { color: var(--muted); font-size: 12px; }
.tk-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-hi); flex: none; display: grid; place-items: center; }
.tk-box .lucide { width: 14px; height: 14px; stroke-width: 3; }
.tk-done .tk-box { background: var(--ok); border-color: var(--ok); color: #fff; }
.tk-done b { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.tk-star { width: 18px; height: 18px; color: var(--cyan-2); fill: var(--cyan-2); }
.tk-toast { display: flex; gap: 12px; align-items: center; justify-self: end; width: min(320px, 100%); margin-top: 6px; background: var(--navy); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 13px; box-shadow: 0 22px 40px -22px rgba(8, 18, 30, .7); }
.tk-toast .lucide { width: 22px; height: 22px; color: var(--cyan); }
.tk-toast small { display: block; color: #b9c9d7; font-size: 12px; }

html[data-theme="dark"] .zz-visual { box-shadow: 0 34px 70px -40px rgba(0, 0, 0, .9); }
html[data-theme="dark"] .vis-bar { background: linear-gradient(180deg, #444448, #38383b); }
html[data-theme="dark"] .vis-bar span { background: #5c5c62; }
html[data-theme="dark"] .vis-bar em { color: #c7c7cc; }
html[data-theme="dark"] .kb, html[data-theme="dark"] .tf, html[data-theme="dark"] .dv, html[data-theme="dark"] .sc, html[data-theme="dark"] .tk { background: rgba(255, 255, 255, .03); }
html[data-theme="dark"] .tk-toast { background: var(--navy-2); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1240px) {
    .plans-grid { grid-template-columns: repeat(3, 1fr); }
    .adv-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .mock-body { grid-template-columns: 150px 1fr; }
    .mock-chat { display: none; }
}
@media (max-width: 1100px) {
    .nav { display: none; }
    .menu-btn { display: inline-flex; }
    .nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--ink); padding: 12px 20px 20px; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 980px) {
    .hero-in, .free, .prod, .apps, .support { grid-template-columns: 1fr; }
    .hero-in { gap: 44px; }
    .sec-grid, .use-grid { grid-template-columns: repeat(2, 1fr); }
    .zz-row, .zz-rev { grid-template-columns: 1fr; gap: 28px; }
    .zz-rev .zz-visual { order: 0; }
    .prod .mock { order: 2; min-height: 420px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .style-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    html { --top-h: 64px; }
    .top-in { height: 64px; gap: 12px; }
    .brand img { width: 92px; }
    .brand span { display: none; }
    .top-cta .btn-outline-light { display: none; }
    .top-cta .btn-cyan { padding: 0 16px; }
    .nav.open { top: 64px; }
    /* on a phone people mostly come to sign in: the form first */
    .login { order: -1; }
    .login-card { padding: 26px 20px; border-radius: 16px; }
    .hero-actions .btn { flex: 1; }
    .adv-grid, .tst-grid, .sec-grid, .use-grid, .plans-grid { grid-template-columns: 1fr; }
    .zz-visual > :last-child { padding: 14px; }
    .kb { gap: 8px; }
    .kb-card { padding: 8px; font-size: 12px; }
    .dv-grid { gap: 8px; }
    .dv-th { height: 60px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cmp-row { grid-template-columns: 1fr 1fr; }
    .cmp-row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; }
    .cmp-head > span:first-child { display: none; }
    .mock { display: none; }
    .shot { border-radius: 14px; }
    .shot-bar em { display: none; }
    .shot-handle > span { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
    .shot-tag { bottom: 8px; padding: 5px 9px; font-size: 11px; }
    .shot-tag-l { left: 8px; }
    .shot-tag-r { right: 8px; }
    .style-points { grid-template-columns: 1fr; gap: 22px; }
    .port { padding: 10px 16px; gap: 10px; }
    .cta-band { margin-bottom: -70px; }
    .footer { padding-top: 126px; }   /* 70px under the CTA band, then 56px */
    .footer-top { grid-template-columns: 1fr; }
    .cta-band .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .cta-band .cta-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee-track { animation: none; }
    .adv, .plan, .btn { transition: none; }
}

/* no orphan words: headings in even lines, paragraphs without a lone last word (site.js also
   keeps the last two words together, for browsers without text-wrap: pretty) */
h1, h2, h3, .faq summary { text-wrap: balance; }
p, li, blockquote, .tool-list span { text-wrap: pretty; }

/* top bar: the theme switch and "Ver planes" without a border (the hero's outline button keeps it) */
.top-cta .theme-btn,
.top-cta .btn-outline-light { border-color: transparent; }
.top-cta .theme-btn:hover,
.top-cta .btn-outline-light:hover { border-color: transparent; background: rgba(255, 255, 255, .1); }

/* ---------------------------------------------------------------- access / sign-up tabs */

.login-tabs { display: flex; gap: 6px; }
.login-tabs button { min-width: 112px; height: 44px; padding: 0 20px; border: 0; border-radius: 12px 12px 0 0; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .78); font: 600 15px/1 var(--title); cursor: pointer; transition: background .2s, color .2s; }
.login-tabs button:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.login-tabs button.active { background: var(--surface); color: var(--text); }
.login-tabs + .login-card,
.login-tabs ~ .login-card { border-top-left-radius: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { min-width: 0; }
.field > span:first-child em { font-style: normal; font-weight: 400; color: var(--muted); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- service request (modal) */

.lead-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 40px 90px -30px rgba(8, 18, 30, .6); overflow: auto; }
.lead-dialog::backdrop { background: rgba(8, 18, 30, .62); backdrop-filter: blur(3px); }
.lead-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 30px 18px; border-bottom: 3px solid #275a7f; }
.lead-head h2 { font-size: 24px; font-weight: 700; }
.lead-head p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.lead-close { flex: none; }
.lead-head .lead-close { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--mist); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.lead-head .lead-close:hover { background: var(--line); }
.lead-body { padding: 22px 30px 28px; }
.input-select select { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 500 15px var(--body); color: var(--text); outline: none; cursor: pointer; }
.input-select select option { color: #13212e; }
.lead-dialog textarea { display: block; width: 100%; min-height: 92px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--mist); font: 500 15px/1.5 var(--body); color: var(--text); resize: vertical; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.lead-dialog textarea:focus { border-color: var(--cyan-2); background: var(--surface); box-shadow: 0 0 0 4px rgba(75, 204, 254, .2); }
.lead-boxes > span:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lead-boxes output { font: 700 15px var(--title); color: #275a7f; }
.lead-boxes input[type=range] { width: 100%; margin: 8px 0 2px; accent-color: #275a7f; cursor: pointer; }
.lead-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.lead-done { padding: 44px 34px 36px; text-align: center; }
.lead-done-ic { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; display: grid; place-items: center; background: var(--tint-cyan); color: #275a7f; }
.lead-done-ic .lucide { width: 30px; height: 30px; }
.lead-done h2 { font-size: 26px; font-weight: 700; }
.lead-done p { margin: 12px auto 26px; max-width: 440px; color: var(--muted); }
.field.invalid .input, .field.invalid textarea { border-color: var(--coral); }

html[data-theme="dark"] .login-tabs button.active { background: var(--surface); color: var(--text); }
html[data-theme="dark"] .lead-boxes output, html[data-theme="dark"] .lead-done-ic { color: var(--cyan); }
html[data-theme="dark"] .lead-dialog { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); }

@media (max-width: 640px) {
    .login-tabs { padding-left: 0; }
    .login-tabs button { flex: 1; min-width: 0; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .lead-head { padding: 22px 20px 16px; }
    .lead-body { padding: 18px 20px 22px; }
}

/* [hidden] wins over display: flex/grid of components (.input, .lead-done...) */
[hidden] { display: none !important; }

/* Acceso / Registro: both cards share one grid cell, so switching tabs never changes the size
   (the card on the other tab stays in the layout, invisible and out of the tab order) */
.login { display: grid; grid-template-columns: 1fr; }
.login > .login-card { grid-row: 2; grid-column: 1; }
.login > .login-card[hidden] { display: block !important; visibility: hidden; }

/* a note under a field (the contact e-mail is not the mailbox being ordered) */
.field-hint { display: block; margin-top: 7px; padding-left: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* phone with country picker (intl-tel-input): the flag and code sit inside the round field */
.input-phone { padding-left: 4px; }
.input-phone .iti { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; }
.input-phone .iti input { height: 100%; }
.input-phone .iti__selected-country { border-radius: 10px 0 0 10px; padding-left: 12px; }
.input-phone .iti__selected-dial-code { color: var(--text); font-weight: 600; }
.iti__dropdown-content { border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: 0 24px 50px -24px rgba(8, 18, 30, .55); overflow: hidden; }
.iti__search-input { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--text); font: 500 15px var(--body); outline: none; }
.iti__country.iti__highlight { background: var(--tint-cyan); }
.iti__dial-code { color: var(--muted); }
html[data-theme="dark"] .iti__arrow { border-top-color: var(--muted); }

/* /login: the hero alone, filling the screen */
.login-only .hero { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--top-h) + 24px); padding-bottom: 40px; }
