/* ingiro.co: editorial layout after salgamosapp.com, in InGiro navy + cream (Inter only, per the café handoff). */
:root {
  --navy: #101722;
  --panel-dark: #18212e;
  --cream: #f6f3eb;
  --paper: #fbf9f4;
  --sand: #ebe6d9;
  --ink: #101722;
  --muted: #535e6b;
  --muted-dark: #b9c2cb;
  --line: #d8d2c4;
  --line-dark: rgba(246, 243, 235, 0.16);
  --citron: #d7f35a;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.035em; }
p { line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
.container { width: min(1200px, calc(100% - 96px)); margin: 0 auto; }
.skip { position: absolute; top: -100px; left: 20px; background: var(--navy); color: var(--cream); padding: 14px; z-index: 100; }
.skip:focus { top: 10px; }
main:focus { outline: none; }

/* Header */
.site-header { position: relative; z-index: 10; }
.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { height: 44px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; right: 0; top: 54px; width: min(320px, calc(100vw - 40px)); background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 8px 20px; box-shadow: 0 18px 45px rgba(16, 23, 34, 0.18); }
.mobile-panel a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; text-decoration: none; }
.mobile-panel a:last-child { border-bottom: 0; }

/* Buttons + links */
.btn { border: 1px solid var(--navy); border-radius: 8px; min-height: 52px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 650; text-decoration: none; background: transparent; color: var(--navy); line-height: 1.35; }
.btn.dark { background: var(--navy); color: var(--cream); }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.coming-soon { cursor: default; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }

/* Home: photo hero with the header on top of it */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; color: var(--cream); }
.home .nav-links a, .home .menu summary { color: var(--cream); }
.home .menu summary { border-color: rgba(246, 243, 235, 0.5); }
.home .get-app { border-color: var(--cream); color: var(--cream); }
.home .site-header a:focus-visible, .home .site-header summary:focus-visible, .cinematic-content a:focus-visible { outline-color: var(--cream); }
.cinematic-hero { position: relative; min-height: 760px; height: 100svh; max-height: 1000px; background: var(--navy); color: var(--cream); overflow: hidden; display: grid; grid-template-columns: 1.05fr 0.95fr; }
.cinematic-photo { grid-column: 2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cinematic-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--navy) 0, var(--navy) 50%, rgba(16, 23, 34, 0.55) 60%, rgba(16, 23, 34, 0) 75%), linear-gradient(180deg, rgba(16, 23, 34, 0.7) 0, rgba(16, 23, 34, 0) 22%); }
.cinematic-content { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 1; }
.cinematic-content .eyebrow { color: var(--citron); margin-bottom: 22px; }
.cinematic-content h1 { font-size: 86px; line-height: 1.02; font-weight: 750; max-width: 640px; }
.cinematic-intro { font-size: 17px; line-height: 1.65; margin-top: 24px; max-width: 470px; color: var(--muted-dark); }
.hero-actions { margin-top: 32px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.cinematic-content .text-link { color: var(--cream); }
.hero-note { font-size: 12px; color: var(--muted-dark); margin-top: 18px; }

.section { padding-top: 64px; padding-bottom: 108px; }
.approach { text-align: center; padding-top: 110px; }
.approach h2 { font-size: 64px; font-weight: 750; line-height: 1.06; max-width: 900px; margin: 0 auto 26px; }
.approach p:not(.eyebrow) { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.principle { border-top: 1px solid var(--line); padding-top: 28px; }
.principle .num { font-size: 12px; font-weight: 650; letter-spacing: 0.08em; margin-bottom: 22px; }
.principle h3 { font-size: 27px; font-weight: 700; margin-bottom: 12px; }
.principle p { font-size: 15px; color: var(--muted); }

.dark-band { background: var(--navy); color: var(--cream); padding: 104px 0; }
.dark-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; align-items: center; }
.dark-text .eyebrow { color: var(--citron); }
.dark-text h2 { font-size: 56px; line-height: 1.06; font-weight: 750; margin-bottom: 24px; max-width: 560px; }
.dark-text p:not(.eyebrow) { color: var(--muted-dark); font-size: 16px; max-width: 520px; }
.dark-links { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.dark-band a:focus-visible { outline-color: var(--cream); }
.dark-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dark-points li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-dark); align-items: baseline; }
.dark-points li:last-child { border-bottom: 1px solid var(--line-dark); }
.dark-points .num { color: var(--citron); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.dark-points span:last-child { color: var(--muted-dark); font-size: 15px; line-height: 1.6; }

.download-section { text-align: center; padding: 96px 24px; background: var(--sand); }
.download-section .eyebrow { margin-bottom: 20px; }
.download-section h2 { font-size: 62px; line-height: 1.04; font-weight: 750; max-width: 720px; margin: 0 auto 24px; }
.download-section p:not(.eyebrow):not(.hero-note) { font-size: 16px; color: var(--muted); margin-bottom: 28px; }
.download-note { color: var(--muted); }

/* Inner pages */
.page-top { padding: 64px 0 52px; }
.page-top h1 { font-size: 68px; line-height: 1.04; font-weight: 750; max-width: 860px; }
.page-top .intro { font-size: 16px; color: var(--muted); margin-top: 20px; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 80px; padding-bottom: 100px; align-items: start; }
.legal-layout.no-nav { grid-template-columns: 1fr; }
.legal-nav { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; display: grid; gap: 14px; padding: 24px; background: var(--sand); border-radius: 10px; }
.legal-nav-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.legal-nav a { font-size: 13px; line-height: 1.45; text-decoration: none; }
.legal-nav a:hover { text-decoration: underline; }
.legal-copy { max-width: 720px; font-size: 16px; }
.legal-copy h2 { font-size: 30px; font-weight: 700; line-height: 1.2; margin: 52px 0 16px; scroll-margin-top: 24px; }
.legal-copy > h2:first-child, .legal-copy > .summary:first-child h2 { margin-top: 0; }
.legal-copy h3 { font-size: 19px; font-weight: 700; margin: 30px 0 8px; letter-spacing: -0.02em; }
.legal-copy p, .legal-copy li { color: var(--muted); line-height: 1.75; }
.legal-copy p + p { margin-top: 14px; }
.legal-copy strong { color: var(--ink); }
.legal-copy ul, .legal-copy ol { padding-left: 22px; margin: 12px 0; }
.legal-copy li { margin: 6px 0; }
.legal-copy a { color: var(--ink); font-weight: 600; }
.legal-copy .summary { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 28px 30px; margin: 28px 0 12px; }
.legal-copy .summary h2 { font-size: 24px; margin-top: 0; }
.legal-copy table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal-copy th, .legal-copy td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-copy th { color: var(--ink); font-weight: 650; }
.legal-copy .table-wrap { overflow-x: auto; }
.legal-copy .muted, .legal-copy .updated { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding: 64px 0 52px; }
.footer-brand .logo { height: 38px; }
.footer-brand p { max-width: 320px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.footer-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 12px 0 20px; }
.footer-links { display: grid; gap: 14px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0 34px; display: flex; justify-content: space-between; gap: 30px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.footer-bottom p { max-width: 640px; }
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; align-content: flex-start; }
.legal-links a, .footer-bottom a { color: var(--muted); }

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .nav-links { gap: 20px; }
  .cinematic-content h1 { font-size: 72px; }
  .approach h2 { font-size: 54px; }
  .dark-inner { gap: 50px; }
  .legal-layout { gap: 50px; grid-template-columns: 220px 1fr; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .nav { height: 76px; gap: 14px; }
  .logo { height: 36px; }
  .nav-links, .get-app { display: none; }
  .menu { display: block; }
  .cinematic-hero { display: block; height: 100svh; min-height: 720px; max-height: 920px; }
  .cinematic-photo { position: absolute; inset: 0; height: 100%; object-position: 60% 30%; }
  .cinematic-hero::after { background: linear-gradient(180deg, rgba(16, 23, 34, 0.78) 0, rgba(16, 23, 34, 0.1) 22%, rgba(16, 23, 34, 0.1) 38%, rgba(16, 23, 34, 0.92) 70%, var(--navy) 100%); }
  .cinematic-content { bottom: 40px; }
  .cinematic-content h1 { font-size: 54px; }
  .cinematic-intro { font-size: 15px; margin-top: 18px; color: #d6dbe0; }
  .hero-actions { gap: 20px; margin-top: 24px; }
  .approach { padding-top: 70px; }
  .approach h2 { font-size: 42px; }
  .approach p:not(.eyebrow) { font-size: 15px; }
  .section { padding-top: 44px; padding-bottom: 70px; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
  .principle h3 { font-size: 24px; }
  .dark-band { padding: 64px 0; }
  .dark-inner { grid-template-columns: 1fr; gap: 36px; }
  .dark-text h2 { font-size: 40px; }
  .dark-points li { grid-template-columns: 84px 1fr; gap: 14px; }
  .download-section { padding: 64px 20px; }
  .download-section h2 { font-size: 42px; }
  .page-top { padding: 40px 0 34px; }
  .page-top h1 { font-size: 46px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 64px; }
  .legal-nav { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 20px; }
  .legal-nav-title { width: 100%; }
  .legal-copy { font-size: 15px; }
  .legal-copy h2 { font-size: 25px; margin-top: 40px; }
  .legal-copy .summary { padding: 22px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 0 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .legal-links { margin-top: 14px; gap: 16px; }
}
@media (max-width: 400px) {
  .cinematic-content h1 { font-size: 46px; }
  .approach h2 { font-size: 36px; }
  .dark-text h2, .download-section h2 { font-size: 34px; }
  .page-top h1 { font-size: 38px; }
  .btn { padding: 14px 16px; font-size: 13px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
