/* FlatSixDynamics — restrained aviation/watch typography stack.
   No CSS framework. Single file. Renders cleanly with no JS.

   Type system:
     - body: ITC Caslon clones (Libre Caslon Text) → Georgia fallback
     - headings: Akzidenz-Grotesk clones (Inter) → system sans fallback
     - mono: monospace stack for technical numerals and methods notes

   Colour system:
     - paper:   #f7f5f0   bone-white, faintly warm
     - ink:     #14181c   not pure black — keeps the page calm
     - accent:  #a01010   deep oxide red, used sparingly
     - rule:    #c8c2b6   muted hairline
*/

:root {
    --paper:  #f7f5f0;
    --ink:    #14181c;
    --muted:  #5e6168;
    --accent: #a01010;
    --rule:   #c8c2b6;

    --measure: 36rem;   /* readable column width */
    --gap: 1.25rem;

    --serif:  "Libre Caslon Text", "EB Garamond", Georgia, "Times New Roman", serif;
    --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --mono:   ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { font-size: 17px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: var(--rule);
}
a:hover { text-decoration-color: var(--accent); }

/* ---- Layout ---- */

main {
    max-width: var(--measure);
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

main.wide { max-width: 52rem; }

/* ---- Header ---- */

.site-header {
    border-bottom: 1px solid var(--rule);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    max-width: 52rem;
    margin: 0 auto;
}
.brand {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
}
.site-nav { display: flex; gap: 1.5rem; font-family: var(--sans); font-size: 0.85rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }

/* ---- Footer ---- */

.site-footer {
    border-top: 1px solid var(--rule);
    padding: 1.5rem 1.5rem 2.5rem;
    max-width: 52rem;
    margin: 0 auto;
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--muted);
}
.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-note {
    margin: 1.25rem 0 0;
    max-width: 44rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--muted);
}

/* ---- Typography ---- */

h1, h2, h3 {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}
h1 { font-size: 2.1rem; margin-top: 0.5rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

p, li { font-size: 1rem; }
p { margin: 0 0 var(--gap); }

blockquote {
    border-left: 2px solid var(--rule);
    margin: 1.5rem 0;
    padding: 0.25rem 1rem;
    color: var(--muted);
    font-style: italic;
}

hr { border: none; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

code, kbd { font-family: var(--mono); font-size: 0.9em; }
pre  { font-family: var(--mono); font-size: 0.85rem; padding: 1rem; background: rgba(20,24,28,0.04); border-radius: 4px; overflow-x: auto; }

/* ---- Hero (homepage) ---- */

.hero {
    text-align: center;
    padding: 2rem 0 1rem;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 0.5rem; }
.hero .tagline {
    font-family: var(--sans);
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.cta-row {
    display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin: 2rem 0 0;
}

/* App Store handoff: iOS-rounded app icon above the download CTA */
.app-icon-link { flex-basis: 100%; display: flex; justify-content: center; }
.app-icon {
    width: 120px; height: 120px;
    border-radius: 26px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    display: block;
}

/* ---- Imagery: restrained inline shots (screenshots, video) ---- */

/* inline figure for app screenshots and the flow-development clip —
   allowed to spill past the narrow reading column, centred on the viewport */
.shot {
    width: min(44rem, 92vw);
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 2.25rem;
    margin-bottom: 0.5rem;
}
.shot img,
.shot video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 34px rgba(20,24,28,0.16);
}
.shot.screen img,
.shot.screen video { border: 1px solid var(--rule); }
.shot figcaption {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--muted);
    margin-top: 0.6rem;
    text-align: center;
}

/* price line under the hero CTA — premium signal, never hidden */
.price-note {
    text-align: center;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--muted);
    margin: 1rem 0 0;
}

/* emotion-led narrative sections */
.lede {
    text-align: center;
    margin: 3rem 0 4rem;
}
.lede h2 { margin-top: 0; }
.feature {
    margin: 3rem 0;
    border-top: 1px solid var(--rule);
    padding-top: 2rem;
}
.feature .kicker {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    color: var(--accent);
    margin: 0 0 0.4rem;
}
.feature h2 { margin-top: 0; }

/* closing CTA block */
.closing {
    text-align: center;
    margin: 4rem 0 1rem;
    border-top: 1px solid var(--rule);
    padding-top: 3rem;
}
.closing h2 { font-size: 1.9rem; }
.cta {
    display: inline-block;
    font-family: var(--sans); font-size: 0.95rem; font-weight: 500;
    padding: 0.7rem 1.4rem;
    border: 1px solid var(--ink);
    color: var(--ink);
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.15s ease, color 0.15s ease;
}
.cta:hover { background: var(--ink); color: var(--paper); }
.cta.cta-primary { background: var(--ink); color: var(--paper); }
.cta.cta-primary:hover { background: var(--accent); border-color: var(--accent); }

/* ---- Legal pages (privacy, terms, impressum) ---- */

.legal { font-size: 0.96rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal .meta {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: -0.5rem;
}

/* ---- de variant for the Impressum ---- */
html[lang="de"] {
    --serif: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
html[lang="de"] body { font-family: var(--serif); }
