/* Londo Technologies — shared site styles
   Palette + components from the homepage redesign. Load with:
   <link rel="stylesheet" href="/assets/site.css">
   plus the Newsreader + Hanken Grotesk Google Fonts link. */

:root {
    --paper: #f7f3ea;
    --paper-2: #efe8da;
    --card: #fffdf8;
    --ink: #211c15;
    --ink-soft: #5c5346;
    --line: #ddd3c0;
    --line-strong: #cdbfa6;
    --blue: #1b467f;
    --blue-deep: #14345f;
    --rust: #9c4a2c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

.serif { font-family: "Newsreader", Georgia, "Times New Roman", serif; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); text-decoration: underline; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: "Newsreader", Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: var(--ink);
}
h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: 0; }
h4 { font-size: 17px; font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
img, svg { max-width: 100%; }

.eyebrow {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blue);
}
.muted { color: var(--ink-soft); }
.section { padding: 60px 0; }
.stack { display: flex; flex-direction: column; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15.5px;
    border: 1.5px solid transparent;
    cursor: pointer;
    line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* Cards */
.card, .panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.card { padding: 26px; }
.panel { padding: 32px; }

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    font-size: 14px;
    font-weight: 500;
}
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* Top utility bar */
.topbar { background: var(--blue); color: #eaf1fa; font-size: 13.5px; }
.topbar .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    padding-bottom: 9px;
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar .sub { color: #c5d6ea; }

/* Sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 243, 234, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.brand { letter-spacing: 0.16em; font-weight: 700; font-size: 16px; color: var(--ink); }
.brand span { color: var(--blue); font-weight: 500; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink-soft); }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav a.current { color: var(--blue); }
/* buttons inside the nav keep their button colors */
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }
.site-nav a.btn-ghost { color: var(--ink); }
.site-nav a.btn-ghost:hover { color: var(--blue); }

/* Page hero for inner pages */
.page-hero { padding: 64px 0 32px; }
.page-hero .lead { font-size: 19px; max-width: 44ch; margin-top: 14px; }

/* Long-form prose (privacy policy, etc.) */
.prose h2 { font-size: 22px; font-weight: 600; letter-spacing: 0; margin: 28px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin: 0 0 6px; }
.prose > *:last-child { margin-bottom: 0; }

/* Numbered steps */
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-family: "Newsreader", Georgia, serif;
    font-size: 16px;
    flex-shrink: 0;
}

/* Résumé timeline */
.timeline-item {
    border-left: 3px solid var(--line-strong);
    padding-left: 18px;
    margin-left: 6px;
    margin-bottom: 24px;
    position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rust);
    box-shadow: 0 0 0 4px rgba(156, 74, 44, 0.14);
}
.timeline-item ul { margin: 8px 0 0; padding-left: 18px; }
.timeline-item li { margin-bottom: 5px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); }
.site-footer .wrap {
    padding-top: 44px;
    padding-bottom: 44px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
}
.site-footer .brand { font-size: 15px; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 8px 0; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* ---- Offer pages: jump nav, plan tabs, comparison table, FAQ ---- */

.jumpnav { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.jumpnav .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 13px 24px; font-size: 13.5px; font-weight: 600; }
.jumpnav a { color: var(--ink-soft); }
.jumpnav a:hover { color: var(--blue); text-decoration: none; }

.plan-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.plan-tab {
    flex: 1 1 210px;
    text-align: left;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    font-family: inherit;
    color: var(--ink);
}
.plan-tab .ribbon { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--rust); margin-bottom: 4px; height: 13px; }
.plan-tab .tab-name { font-family: "Newsreader", Georgia, serif; font-size: 19px; font-weight: 600; }
.plan-tab .tab-price { color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.plan-tab.active { border-color: var(--blue); background: #fff; box-shadow: 0 6px 18px rgba(27, 70, 127, 0.1); }
.plan-tab.active .tab-name { color: var(--blue); }

.plan-panel { display: none; }
.plan-panel.active { display: block; }
.includes-note { font-size: 14.5px; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; }

.price-tag { font-family: "Newsreader", Georgia, serif; font-size: 38px; font-weight: 600; color: var(--blue); line-height: 1; }
.price-tag .unit { font-family: "Hanken Grotesk", sans-serif; font-size: 14px; font-weight: 500; color: var(--ink-soft); }

.feature-grid-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid-icons .fi { display: flex; gap: 13px; align-items: flex-start; }
.feature-grid-icons .fi .ic { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.feature-grid-icons .fi h4 { margin-bottom: 3px; }
.feature-grid-icons .fi p { font-size: 14px; color: var(--ink-soft); }

.cmp-toggle-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 10px 18px; font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--blue); cursor: pointer; }
.cmp-toggle-btn:hover { border-color: var(--blue); }
.cmp-wrap { overflow-x: auto; margin-top: 20px; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.cmp th, table.cmp td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { font-family: "Newsreader", Georgia, serif; font-size: 16px; font-weight: 600; background: var(--paper-2); }
table.cmp thead th.cmp-price { font-family: "Hanken Grotesk", sans-serif; font-weight: 700; font-size: 13px; }
table.cmp td.cmp-yes, table.cmp th.cmp-yes { text-align: center; }
table.cmp td.cmp-yes { color: var(--blue); font-weight: 700; }
table.cmp tr.cmp-group td { background: var(--paper-2); font-weight: 700; color: var(--ink-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; padding-top: 13px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }

.callout { background: linear-gradient(180deg, #fffdf8 0%, #fdf3ec 100%); border: 1.5px solid rgba(156, 74, 44, 0.32); border-radius: 12px; }
.callout .price-tag { color: var(--rust); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 2px; font-family: "Newsreader", Georgia, serif; font-size: 18px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q .chev { flex-shrink: 0; color: var(--blue); transition: transform 0.2s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 26px 18px 2px; color: var(--ink-soft); font-size: 15.5px; max-width: 68ch; }

@media (max-width: 860px) {
    h1 { font-size: 34px; }
    h2 { font-size: 25px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .feature-grid-icons { grid-template-columns: 1fr; }
    .section { padding: 44px 0; }
    .split { grid-template-columns: 1fr !important; }
}
