/* InnTrak landing page. Brand: navy #3B3E7E, green #03AE87, dark green #017F68 (#016B58 for small green text). */
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ubuntu-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/ubuntu-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #3B3E7E;
  --navy-700: #2F3268;
  --navy-900: #23254F;
  --navy-50: #EEEFF7;
  --green: #03AE87;
  --green-dark: #017F68;
  --green-text: #016B58;
  --green-50: #E6F7F2;
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --ink: #1B1D3A;
  --muted: #555C74;
  --line: #E3E5EF;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(35, 37, 79, .06), 0 8px 24px rgba(35, 37, 79, .08);
  --shadow-lg: 0 2px 6px rgba(35, 37, 79, .08), 0 24px 60px rgba(35, 37, 79, .16);
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--green-dark);
  --font-head: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 18px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
a:hover { color: var(--navy-900); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-family: var(--font-head); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font: 500 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-900); color: #fff; }
.btn-green { background: var(--green-dark); color: #fff; }
.btn-green:hover { background: var(--green-text); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #C9CBE2; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--green-50); color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font: 500 .98rem/1.2 var(--font-head); text-decoration: none; }
.site-nav a:hover { background: var(--navy-50); color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line); border-radius: 12px; color: var(--navy); cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 879px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .brand img { height: 30px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(35, 37, 79, .08); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
}
@media (max-width: 379px) { .header-actions .btn { padding: 8px 16px; } .brand img { height: 26px; } }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 520px at 85% -10%, rgba(3, 174, 135, .14), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(59, 62, 126, .10), transparent 60%), var(--bg); padding: 64px 0 0; overflow: hidden; }
.hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--green-50); color: var(--green-text); font: 500 .85rem/1.3 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { color: var(--navy-900); }
.hero h1 .accent { color: var(--navy); background: linear-gradient(90deg, var(--navy) 0%, var(--green-dark) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin: 18px 0 0; font-size: .95rem; color: var(--muted); }
.hero-visual { position: relative; margin: 56px auto 0; max-width: 1080px; padding: 0 0 0; }
.browser { background: #fff; border-radius: 14px 14px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); border-bottom: 0; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #ECEDF4; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #CBCDDD; display: block; }
.browser-url { flex: 1; max-width: 360px; margin: 0 auto; padding: 4px 12px; border-radius: 8px; background: #fff; color: var(--muted); font: 400 .8rem/1.4 var(--font-body); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-url b { color: var(--ink); font-weight: 600; }
.phone { position: absolute; right: -12px; bottom: -40px; width: 22%; min-width: 150px; max-width: 230px; border-radius: 30px; padding: 8px; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.phone img { border-radius: 23px; }
/* Phones: the hero shows the phone screen instead of the (too small) desktop one */
@media (max-width: 719px) {
  .hero { padding-top: 44px; }
  .hero-visual { margin-top: 40px; }
  .hero-visual .browser { display: none; }
  .phone { position: relative; right: auto; bottom: auto; width: 76%; max-width: 300px; margin: 0 auto; border-radius: 36px 36px 0 0; padding: 10px 10px 0; }
  .phone img { border-radius: 27px 27px 0 0; }
  .phone-solo { display: none; }
}
.hero-fade { height: 1px; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker, .section-head .kicker { margin: 0 0 10px; color: var(--green-text); font: 700 .85rem/1.3 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 639px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.feature + .feature { margin-top: 80px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 56px; }
  .feature.reverse { grid-template-columns: 7fr 5fr; }
  .feature.reverse .feature-text { order: 2; }
}
.feature-text h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; color: var(--navy-900); }
.feature-text p { color: var(--muted); }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23017F68' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot figcaption { padding: 10px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); background: #FBFBFD; }

/* Module grid */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.module { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(35, 37, 79, .04); transition: box-shadow .2s, transform .2s; }
.module:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.module-icon { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: linear-gradient(145deg, var(--navy) 0%, #4A4E9A 100%); color: #fff; }
.module-icon.green { background: linear-gradient(145deg, var(--green-dark) 0%, var(--green) 100%); }
.module h3 { margin: 2px 0 4px; font-size: 1.08rem; color: var(--navy-900); }
.module p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font: 500 .72rem/1.6 var(--font-head); vertical-align: middle; letter-spacing: .02em; }

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why .icon { width: 28px; height: 28px; color: var(--green-dark); margin-bottom: 14px; }
.why h3 { color: var(--navy-900); font-weight: 700; }
.why p { margin: 0; color: var(--muted); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lang-chips span { padding: 3px 12px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font: 500 .85rem/1.6 var(--font-head); }

.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-top: 64px; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 4fr; gap: 56px; } }
.phone-solo { max-width: 300px; margin: 0 auto; border-radius: 36px; padding: 10px; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.phone-solo img { border-radius: 27px; }

/* Security (dark) */
.section-dark { background: radial-gradient(900px 400px at 100% 0%, rgba(3, 174, 135, .18), transparent 60%), var(--navy-900); color: #E7E8F4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .kicker, .section-dark .section-head .kicker { color: #5FE0C0; }
.section-dark .section-head p { color: #C9CBE2; }
.sec-grid { display: grid; grid-template-columns: 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
.sec { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.sec .icon { width: 28px; height: 28px; color: #5FE0C0; margin-top: 2px; }
.sec h3 { margin-bottom: 6px; font-weight: 700; font-size: 1.1rem; }
.sec p { margin: 0; color: #C9CBE2; }
.section-dark a { color: #fff; }
.section-dark :focus-visible { box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px #5FE0C0; }

/* Contact band */
.contact-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 55%, var(--green-dark) 140%); color: #fff; border-radius: 24px; padding: 48px 32px; display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .contact-band { grid-template-columns: 1fr auto; padding: 56px; } }
.contact-band h2 { color: #fff; margin-bottom: .3em; }
.contact-band p { margin: 0; color: #E2E3F1; font-size: 1.1rem; }
.contact-band .cta-row { justify-content: flex-start; }
.contact-band :focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px #fff; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-grid h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--navy); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Sign-in dialog and page */
.login-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); color: var(--ink); background: #fff; }
.login-dialog::backdrop { background: rgba(27, 29, 58, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.login-card { padding: 28px; position: relative; }
.login-card .mark { width: 44px; height: 44px; margin-bottom: 14px; }
.login-card h2, .login-card h1 { font-size: 1.45rem; color: var(--navy-900); margin-bottom: 6px; }
.login-card .sub { color: var(--muted); margin-bottom: 22px; font-size: 1rem; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dialog-close:hover { background: var(--navy-50); color: var(--navy); }
.field-label { display: block; font: 500 .95rem/1.4 var(--font-head); margin-bottom: 8px; color: var(--ink); }
.slug-field { display: flex; align-items: stretch; border: 1.5px solid #C9CBE2; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.slug-field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(59, 62, 126, .18); }
.slug-field input { flex: 1; min-width: 0; border: 0; padding: 12px 6px 12px 14px; font: 400 1.05rem/1.4 var(--font-body); color: var(--ink); background: transparent; text-align: right; }
.slug-field input:focus, .slug-field input:focus-visible { outline: none; box-shadow: none; }
.slug-field input[aria-invalid="true"] { color: #A3122B; }
.slug-field .suffix { display: flex; align-items: center; padding: 0 14px 0 0; color: var(--muted); font-size: 1.05rem; white-space: nowrap; }
.field-hint { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.field-error { margin: 8px 0 0; color: #A3122B; font-size: .92rem; font-weight: 600; }
.login-card .btn { width: 100%; margin-top: 20px; }
.login-foot { margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.login-page { min-height: calc(100vh - 69px); display: flex; align-items: center; justify-content: center; padding: 48px 16px; background: radial-gradient(900px 480px at 85% -10%, rgba(3, 174, 135, .14), transparent 60%), var(--bg); }
.login-page .login-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); }
.nowrap { white-space: nowrap; }
.brand + .header-actions { margin-left: auto; }
