@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --ink: #202823;
  --muted: #626b63;
  --line: #dddfd7;
  --yellow: #e9ef87;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #2769c4; outline-offset: 6px; border-radius: 3px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
.container { width: min(1232px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 14px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 750; letter-spacing: -1.3px; }
.brand-dot { color: #6e7b39; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 550; }
.main-nav a { padding-block: 12px; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.github-link span { margin-left: 7px; }
.hero { padding-top: 88px; padding-bottom: 48px; display: grid; grid-template-columns: 1.65fr 1fr; column-gap: 64px; }
.eyebrow { font: 600 10px/1.7 "SFMono-Regular", Consolas, monospace; letter-spacing: 1.35px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.little-star { font-size: 20px; line-height: 1; }
h1 { position: relative; margin-top: 24px; font-size: clamp(48px, 5.9vw, 81px); font-weight: 650; line-height: 1.09; letter-spacing: -4.6px; }
.highlight { position: relative; z-index: 0; white-space: nowrap; }
.highlight::after { content: ""; position: absolute; z-index: -1; background: var(--yellow); height: 22%; left: -1%; right: -1%; bottom: 6%; transform: rotate(-1.6deg); }
.hero-intro { align-self: end; padding-bottom: 6px; max-width: 350px; }
.hero-intro p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.hero-intro p + p { margin-top: 13px; }
.hero-intro strong { color: var(--ink); font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 20px; margin-top: 22px; font-size: 13px; font-weight: 650; }
.text-link:hover span { transform: translateY(3px); }
.text-link span { transition: transform 160ms ease; }
.hero-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-top: 38px; color: var(--muted); font-size: 11px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #677e42; }
.projects { padding-top: 20px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 21px; border-top: 1px solid var(--line); }
.section-heading h2 { font-size: 15px; font-weight: 650; }
.section-number { font: 11px/1.5 Consolas, monospace; margin-right: 16px; color: #737c72; }
.section-heading p { color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.project-card { --accent: #2469bb; --tint: #e8effb; --accent-light: #c8d9f3; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color 180ms ease, box-shadow 180ms ease; }
.project-card:hover { border-color: var(--accent-light); box-shadow: 0 12px 30px #20282307; }
.project-garapp { --accent: #176747; --tint: #e5eee5; --accent-light: #bdd3c1; }
.project-branchlab { --accent: #7050a0; --tint: #eee8f5; --accent-light: #d5c5e8; }
.project-visual { position: relative; background: var(--tint); padding: 25px 30px 36px; min-height: 307px; overflow: hidden; }
.visual-topline { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 21px; color: var(--accent); }
.category { font: 600 9px/1.5 Consolas, monospace; letter-spacing: 1.2px; }
.visual-index { font: 10px/1.5 Consolas, monospace; opacity: .65; }
.finance-preview, .garage-preview, .connection-preview { position: relative; padding: 18px 20px 14px; border: 1px solid #fff; border-radius: 10px; background: #fffffff2; box-shadow: 0 7px 20px #23394808; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 650; }
.preview-menu { color: #78827a; font-size: 16px; letter-spacing: 1px; }
.chart-legend { display: flex; gap: 20px; margin-top: 16px; font-size: 8px; color: #667487; }
.chart-legend > span { display: flex; align-items: center; gap: 5px; }
.legend-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; }
.legend-buy { background: #91a2bc; }
.legend-invest { background: #2a78d6; }
.finance-chart { width: 100%; height: 119px; margin-top: 8px; overflow: visible; }
.chart-grid { stroke: #e9edf3; stroke-width: 1; }
.chart-area { fill: #2a78d6; fill-opacity: .055; }
.chart-primary { stroke: #2a78d6; stroke-width: 3; stroke-linecap: round; }
.chart-secondary { stroke: #9caec6; stroke-width: 2; stroke-dasharray: 5 5; }
.chart-end { fill: #2a78d6; stroke: white; stroke-width: 2; }
.chart-axis { display: flex; justify-content: space-between; color: #76818e; font-size: 8px; }
.preview-footer { margin-top: 13px; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf0f3; font-size: 9px; color: #6b7786; }
.mini-tag { padding: 4px 6px; border-radius: 3px; background: #edf3fc; color: #346494; font-size: 8px; }
.illustration-label { position: absolute; bottom: 12px; right: 20px; color: var(--accent); font-size: 8px; opacity: .8; }
.garage-overview { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: center; min-height: 153px; }
.car-illustration svg { width: 100%; }
.car-shadow { fill: #dce9dd; }
.car-body { fill: #ebf3e9; stroke: #5b8768; stroke-width: 1.8; stroke-linejoin: round; }
.car-window { fill: #a8c3af; }
.car-detail { stroke: #6e967b; stroke-width: 1.5; stroke-linecap: round; }
.car-wheel { fill: #354e3d; stroke: #fff; stroke-width: 3; }
.car-hub { fill: #d1dfd0; }
.component-node { fill: #176747; stroke: #fff; stroke-width: 2; }
.component-line { stroke: #8eb09b; stroke-width: 1.5; stroke-dasharray: 3 3; }
.garage-summary { display: flex; flex-direction: column; align-items: start; gap: 11px; font-size: 9px; color: #506458; }
.summary-label { font: 600 6px/1.6 Consolas, monospace; letter-spacing: .6px; color: #6b7e6e; }
.check-mark { font-style: normal; color: #2a7650; margin-right: 6px; }
.maintenance-row { display: flex; align-items: center; gap: 9px; padding-top: 13px; border-top: 1px solid #e6ece6; font-size: 9px; color: #405c47; }
.maintenance-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: #edf4eb; font-size: 17px; }
.maintenance-row small { display: block; margin-top: 3px; color: #7a887c; font-size: 8px; }
.maintenance-check { margin-left: auto; font-size: 12px; color: #34704b; }
.connection-map { width: 100%; height: 153px; margin-block: 8px; }
.connection-cable { stroke: #9d82bc; stroke-width: 3; stroke-linecap: round; }
.connection-device { fill: #f7f3fb; stroke: #bba6d1; stroke-width: 1.5; }
.connection-detail { stroke: #82649f; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.connection-port { fill: var(--accent); stroke: white; stroke-width: 2; }
.connection-tag { fill: #eee6f6; stroke: #d7c7e7; }
.connection-label { fill: #67488e; font: 600 11px "Segoe UI", Arial, sans-serif; }
.connection-caption { fill: #796787; font: 10px "Segoe UI", Arial, sans-serif; }
.connection-summary { display: flex; align-items: center; gap: 9px; padding-top: 13px; border-top: 1px solid #ebe4f1; color: #674f7e; font-size: 9px; }
.connection-summary-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: #f2edf8; font-size: 19px; }
.connection-summary small { display: block; margin-top: 3px; color: #83758e; font-size: 8px; }
.project-content { padding: 28px 30px 24px; }
.project-name { display: flex; gap: 12px; align-items: center; }
.project-name img { border-radius: 12px; flex-shrink: 0; }
.project-kind { font-size: 10px; color: var(--muted); margin-bottom: 2px; }
.project-name h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.6px; font-weight: 650; }
.available { margin-left: auto; color: #4b6c50; font-size: 9px; background: #f0f5ec; border-radius: 50px; padding: 5px 9px; }
.project-pitch { margin-top: 23px; font-size: 19px; font-weight: 600; letter-spacing: -.4px; }
.project-description { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.feature-tags { display: flex; flex-wrap: wrap; list-style: none; gap: 7px; padding: 0; margin: 19px 0 24px; }
.feature-tags li { border: 1px solid #e6e9e3; border-radius: 4px; padding: 4px 8px; color: #65705f; font-size: 10px; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; border-top: 1px solid #eef0eb; }
.app-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 33px; padding: 12px 16px; background: var(--accent); color: white; border-radius: 7px; font-size: 12px; font-weight: 600; transition: filter 150ms ease; }
.app-link:hover { filter: brightness(.9); }
.app-link span { font-size: 17px; line-height: 1; }
.source-link { color: #6e766c; font-size: 10px; }
.source-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.source-link span { margin-left: 3px; }
.approach { margin-top: 73px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .87fr 2fr; gap: 55px; }
.approach-intro .eyebrow { max-width: 240px; color: #71796b; font-size: 8px; line-height: 1.8; letter-spacing: 1px; }
.approach h2 { margin-top: 12px; font-size: 24px; font-weight: 600; letter-spacing: -.7px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.principle-icon { display: inline-grid; place-items: center; border: 1px solid #dde2d4; border-radius: 8px; width: 31px; height: 31px; margin-bottom: 13px; color: #606c41; font-size: 19px; }
.principle h3 { font-size: 12px; font-weight: 650; }
.principle p { margin-top: 7px; font-size: 11px; line-height: 1.85; color: var(--muted); }
.next-chapter { margin-top: 66px; background: #222d27; color: #f7f7ed; border-radius: 14px; padding: 36px 37px; display: grid; grid-template-columns: 63px 1fr auto; gap: 24px; align-items: center; }
.next-mark { font-size: 61px; line-height: 1; color: var(--yellow); }
.next-chapter .eyebrow { color: #b1bba1; font-size: 8px; letter-spacing: 1.3px; }
.next-chapter h2 { font-size: 26px; font-weight: 500; letter-spacing: -.7px; margin-top: 4px; }
.next-chapter p:last-child { margin-top: 8px; max-width: 440px; font-size: 11px; line-height: 1.8; color: #b9c2b7; }
.next-link { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #747e64; padding-block: 9px; color: #e6ebd3; font-size: 10px; }
.next-link:hover { color: var(--yellow); border-color: var(--yellow); }
.next-link span { font-size: 16px; }
.site-footer { padding-block: 34px 31px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { font-size: 19px; font-weight: 700; letter-spacing: -.6px; }
.site-footer p, .site-footer > a:last-child { font-size: 10px; color: #747c70; }
.site-footer .footer-privacy { font-size: 11px; color: #3f4d3b; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-privacy:hover { color: #176747; }
.site-footer > a:last-child span { color: #3f4d3b; }
.site-footer > a:last-child:hover { text-decoration: underline; text-underline-offset: 4px; }
.not-found { min-height: 65vh; padding-block: 100px; }
.not-found h1 { font-size: 64px; margin-block: 12px 24px; }
.not-found > p { color: var(--muted); line-height: 1.8; margin-bottom: 25px; }
.privacy-page { max-width: 790px; padding-block: 64px 90px; }
.privacy-page h1 { margin-top: 12px; margin-bottom: 22px; font-size: clamp(42px, 5.2vw, 62px); letter-spacing: -2.5px; }
.privacy-page h2 { margin-top: 37px; margin-bottom: 12px; font-size: clamp(20px, 2.5vw, 25px); letter-spacing: -.5px; }
.privacy-page p { margin-top: 13px; color: var(--muted); font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.privacy-page .eyebrow { margin-top: 0; color: #657049; font-size: 10px; }
.privacy-page .privacy-intro { font-size: 17px; color: var(--ink); }
.privacy-page .privacy-updated { margin-top: 14px; font-size: 12px; }
.privacy-page a { color: #176747; text-decoration: underline; text-underline-offset: 3px; }
.privacy-page code { font-size: .92em; overflow-wrap: anywhere; }

@media (min-width: 1600px) {
  .hero { padding-top: 100px; }
}

@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1.4fr 1fr; column-gap: 34px; }
  h1 { font-size: clamp(48px, 6.2vw, 68px); letter-spacing: -3.6px; }
  .hero-intro p { font-size: 13px; }
  .project-visual { padding-inline: 20px; }
  .project-content { padding-inline: 24px; }
  .approach { grid-template-columns: 1fr; gap: 27px; }
  .approach-intro .eyebrow { max-width: none; }
  .next-chapter { grid-template-columns: 48px 1fr; }
  .next-mark { font-size: 47px; }
  .next-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 85px; gap: 16px; }
  .brand { font-size: 25px; gap: 9px; }
  .brand img { width: 31px; height: 31px; }
  .main-nav { font-size: 11px; gap: 18px; }
  .hero { padding-top: 47px; padding-bottom: 32px; grid-template-columns: 1fr; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1px; }
  h1 { font-size: clamp(44px, 9.5vw, 68px); letter-spacing: -2.9px; margin-top: 22px; }
  .hero-intro { margin-top: 27px; max-width: 500px; }
  .hero-intro p { font-size: 14px; }
  .hero-intro p + p { margin-top: 8px; }
  .text-link { font-size: 12px; margin-top: 17px; }
  .hero-note { margin-top: 25px; font-size: 10px; }
  .projects { padding-top: 9px; }
  .section-heading { padding-block: 19px; }
  .section-heading h2 { font-size: 13px; }
  .section-number { font-size: 10px; margin-right: 8px; }
  .section-heading p { font-size: 10px; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-visual { padding: 23px 27px 34px; min-height: 0; }
  .finance-preview, .garage-preview, .connection-preview { max-width: 490px; margin-inline: auto; }
  .finance-chart { height: 123px; }
  .garage-overview { min-height: 157px; }
  .project-content { padding: 24px; }
  .project-pitch { font-size: 20px; }
  .project-description { font-size: 13px; }
  .approach { margin-top: 45px; padding-top: 28px; }
  .approach h2 { font-size: 27px; }
  .principles { gap: 23px; }
  .principle h3 { font-size: 12px; line-height: 1.5; }
  .principle p { font-size: 11px; }
  .next-chapter { margin-top: 40px; padding: 28px 25px; column-gap: 16px; row-gap: 14px; }
  .next-chapter h2 { font-size: 25px; }
  .next-mark { align-self: start; margin-top: 12px; }
  .site-footer { padding-block: 27px; flex-wrap: wrap; row-gap: 12px; }
  .site-footer p { margin-left: auto; }
  .site-footer .footer-privacy { flex-basis: 100%; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 32px); }
  .main-nav { gap: 13px; font-size: 10px; }
  .brand { font-size: 23px; gap: 7px; }
  .brand img { width: 27px; height: 27px; }
  h1 { font-size: 44px; letter-spacing: -2.7px; }
  .section-heading { gap: 8px; }
  .project-visual { padding-inline: 18px; }
  .finance-preview, .garage-preview, .connection-preview { padding-inline: 15px; }
  .project-content { padding-inline: 21px; }
  .available { font-size: 8px; padding: 5px 7px; }
  .project-kind { font-size: 9px; }
  .project-pitch { font-size: 18px; }
  .principles { grid-template-columns: 1fr; gap: 21px; }
  .principle { display: grid; grid-template-columns: 33px 1fr; column-gap: 12px; }
  .principle-icon { grid-row: span 2; margin-bottom: 0; }
  .principle p { grid-column: 2; margin-top: 3px; font-size: 12px; }
  .next-chapter { grid-template-columns: 31px 1fr; padding-inline: 20px; }
  .next-mark { font-size: 32px; }
  .next-chapter h2 { font-size: 23px; }
  .site-footer p { max-width: 170px; text-align: right; line-height: 1.6; }
  .privacy-page { padding-block: 46px 64px; }
  .privacy-page h1 { font-size: 44px; letter-spacing: -2.5px; }
  .privacy-page p { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
