/* Jottr site. SF Pro and SF Pro Rounded come from the visitor's system on Apple devices;
   other platforms fall back to their own system font. */

:root {
    --ink: rgba(0, 0, 0, 0.92);
    --ink-soft: rgba(0, 0, 0, 0.62);
    --ink-faint: rgba(0, 0, 0, 0.42);
    --line: rgba(0, 0, 0, 0.08);
    --page: #ffffff;
    --panel: #f6f6f7;
    --graphite: #17181b;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
    --width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--width); margin: 0 auto; padding: 0 24px; }

/* Navigation */

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-rounded); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }

.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }

.nav-links a:not(.button) { color: var(--ink-soft); transition: color 0.15s; }

.nav-links a:not(.button):hover { color: var(--ink); }

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 22px;
    transition: transform 0.15s, background 0.15s, opacity 0.15s;
}

.button-primary { background: var(--graphite); color: #fff; }

.button-primary:hover { background: #000; transform: translateY(-1px); }

.button-quiet { color: var(--ink); background: var(--panel); }

.button-quiet:hover { background: #ececee; }

.button-small { font-size: 14px; padding: 8px 16px; border-radius: 8px; }

/* Type */

h1, h2, h3 { font-family: var(--font-rounded); font-weight: 700; color: var(--ink); text-wrap: balance; }

h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1.02; letter-spacing: -0.035em; }

h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }

h3 { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }

.lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--ink-soft); letter-spacing: -0.005em; }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--ink-faint); letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 16px; }

/* Hero */

.hero { text-align: center; padding: 96px 0 0; overflow: hidden; }

.hero h1 { max-width: 880px; margin: 0 auto; }

.hero .lead { max-width: 620px; margin: 24px auto 0; }

.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero-note { margin-top: 16px; font-size: 14px; color: var(--ink-faint); }

/* Phones peek up from the bottom of the hero; the rest is cropped */
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-start; margin-top: 64px; height: 520px; }

.hero-phones img { width: 300px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.14)); }

.hero-phones .side { width: 260px; margin-top: 70px; }

.hero-phones .left { margin-right: -40px; transform: rotate(-5deg); }

.hero-phones .right { margin-left: -40px; transform: rotate(5deg); }

.hero-phones .center { position: relative; z-index: 2; }

.hero-phones::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 3; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }

/* Value strip */

.values { border-top: 1px solid var(--line); padding: 72px 0; background: var(--page); position: relative; z-index: 3; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.value h3 { margin: 14px 0 6px; }

.value p { color: var(--ink-soft); font-size: 16px; }

.icon { width: 40px; height: 40px; border-radius: 11px; background: var(--panel); display: flex; align-items: center; justify-content: center; }

.icon svg { width: 22px; height: 22px; stroke: var(--graphite); }

/* Feature sections */

.feature { padding: 64px 0; }

.feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.feature.flip .feature-copy { order: 2; }

.feature-copy h2 { margin-bottom: 20px; }

.feature-copy .lead { max-width: 460px; }

.quote { margin-top: 24px; display: inline-block; font-size: 15px; color: var(--ink); background: var(--panel); border-radius: 12px; padding: 10px 16px; }

.feature-visual { background: var(--panel); border-radius: 28px; display: flex; justify-content: center; padding: 56px 24px 0; overflow: hidden; height: 600px; }

.feature-visual img { width: 300px; align-self: flex-start; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.12)); }

/* Detail grid */

.details { padding: 96px 0; }

.details h2 { text-align: center; margin-bottom: 48px; }

.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card { background: var(--panel); border-radius: 20px; padding: 28px 24px; }

.card .icon { background: #fff; }

.card h3 { margin: 18px 0 8px; font-size: 18px; }

.card p { font-size: 15px; color: var(--ink-soft); }

/* Closing call to action */

.cta { text-align: center; padding: 120px 0 128px; border-top: 1px solid var(--line); }

.cta h2 { margin-bottom: 36px; }

.cta .brand-mark { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 28px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

/* Footer */

.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--ink-faint); }

.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

.footer-links { display: flex; gap: 24px; }

.footer-links a:hover { color: var(--ink); }

/* Legal and contact pages */

.doc { max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; }

.doc h1 { font-size: clamp(38px, 6vw, 56px); margin-bottom: 12px; }

.doc .last-updated { color: var(--ink-faint); font-size: 15px; margin-bottom: 40px; }

.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 14px; }

.doc p, .doc li { color: var(--ink-soft); font-size: 16.5px; }

.doc p { margin-bottom: 14px; }

.doc ul { padding-left: 22px; margin-bottom: 14px; }

.doc li { margin-bottom: 8px; }

.doc strong { color: var(--ink); font-weight: 600; }

.doc a { color: var(--ink) !important; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 0, 0.25); }

.contact-card { background: var(--panel); border-radius: 20px; padding: 32px; margin-top: 32px; }

.contact-card .button { margin-top: 20px; text-decoration: none !important; color: #fff !important; }

/* Small screens */

@media (max-width: 900px) {
    .values-grid { grid-template-columns: 1fr; gap: 32px; }
    .feature-inner { grid-template-columns: 1fr; gap: 36px; }
    .feature.flip .feature-copy { order: 0; }
    .feature-visual { height: 520px; }
    .details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .nav-links a:not(.button) { display: none; }
    .hero { padding-top: 64px; }
    .hero-phones { height: 400px; margin-top: 48px; }
    .hero-phones .side { display: none; }
    .hero-phones .center { width: 250px; }
    .feature { padding: 40px 0; }
    .feature-visual { height: 460px; padding-top: 40px; }
    .feature-visual img { width: 250px; }
    .details { padding: 64px 0; }
    .details-grid { grid-template-columns: 1fr; }
    .cta { padding: 88px 0 96px; }
}
