/* KorkeTrigger: warm cork, quiet surfaces, native system typography. */
:root {
  color-scheme: dark;
  --bg: #211a15;
  --bg-secondary: #2b221b;
  --text: #f6efe5;
  --text-muted: #c6b8a8;
  --cork: #dda66b;
  --cork-light: #f0c693;
  --cork-dark: #48301e;
  --accent: #edb475;
  --border: #554334;
  --radius: 1.5rem;
  --shadow: 0 2rem 5rem #100c0980;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cork-light); text-underline-offset: .25em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--cork-light); outline-offset: 5px; border-radius: .2rem; }
main:focus { outline: none; }
::selection { background: var(--cork-light); color: var(--bg); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.4vw, 5.1rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
p + p { margin-top: 1rem; }
p { color: var(--text-muted); }
.container { width: min(1200px, calc(100% - 6rem)); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: 1rem; padding: .75rem 1rem; background: var(--text); color: var(--bg); z-index: 10; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: var(--bg); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 100px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-size: 1.2rem; font-weight: 650; color: var(--text); text-decoration: none; letter-spacing: -.025em; }
.brand img { border-radius: .6rem; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.8rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); font-size: .9rem; text-decoration: none; }
nav a[aria-current="page"] { color: var(--cork-light); text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 5%; padding-block: 6rem 5rem; }
.eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--cork); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--cork-light); }
.lead { font-size: clamp(1.15rem, 1.65vw, 1.35rem); line-height: 1.6; color: var(--text); }
.hero .lead { margin-top: 1.75rem; max-width: 32rem; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 1.75rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 48px; padding: .85rem 1.3rem; border: 1px solid var(--border); border-radius: .85rem; font-weight: 600; color: var(--text); text-decoration: none; text-align: center; }
.button:hover { background: var(--bg-secondary); }
.button.primary { background: var(--cork-light); color: var(--bg); border-color: var(--cork-light); }
.button.primary:hover { background: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-weight: 550; }
.purchase-price { margin-top: 1.25rem; color: var(--cork-light); font-weight: 600; }
.purchase-price span { color: var(--text); font-size: .9rem; font-weight: 400; }
.purchase-price + .detail { margin-top: .35rem; }
.hero-art { padding: 1.5rem; }
.hero-art > img { border-radius: 23%; box-shadow: var(--shadow); transform: rotate(-5deg); }
.hero-art figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.3rem; font-weight: 600; }
.hero-art figcaption span { color: var(--text-muted); font-size: .85rem; font-weight: 400; }
.platform-strip { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-block: 1px solid var(--border); color: var(--text-muted); font-size: .9rem; }
.section { padding-block: 6rem; }
.intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5rem; }
.intro .eyebrow { grid-column: 1/-1; }
.intro .lead { margin-bottom: 1.25rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature { padding: 2.75rem; border-radius: var(--radius); background: var(--bg-secondary); border: 1px solid var(--border); }
.feature h2 { font-size: clamp(1.85rem, 2.7vw, 2.6rem); margin-bottom: 1.4rem; }
.feature .eyebrow { margin-bottom: 2.1rem; }
.feature-watch { grid-column: 1/-1; display: grid; grid-template-columns: 1fr .7fr; gap: 5rem; align-items: center; background: linear-gradient(115deg, var(--bg-secondary), var(--cork-dark)); }
.feature-watch > div { max-width: 34rem; }
.feature-watch > img { width: min(100%, 235px); justify-self: center; border-radius: 2rem; box-shadow: var(--shadow); }
.detail { font-size: .9rem; }
.live-section, .privacy-content, .compatibility { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.live-section .lead { margin-bottom: 1rem; }
.privacy-band { background: var(--cork-light); color: var(--bg); }
.privacy-content { padding-block: 4.5rem; }
.privacy-content .eyebrow, .privacy-content p, .privacy-content a { color: var(--bg); }
.privacy-content h2 { font-size: clamp(3.5rem, 6vw, 5rem); }
.privacy-content .lead { margin-bottom: 1rem; }
.privacy-content a { margin-top: 1.5rem; }
.privacy-content :focus-visible { outline-color: var(--bg); }
.sharing { max-width: 780px; text-align: center; }
.sharing h2 { margin-bottom: 1.5rem; }
.sharing .lead { margin-bottom: 1rem; }
.screenshots { padding-top: 1rem; }
.screenshots > p:not(.eyebrow) { margin-top: 1.5rem; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.screenshot-grid figure { min-width: 0; }
.capture { height: 350px; display: flex; justify-content: center; align-items: center; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-secondary); }
.capture img { max-height: 100%; width: auto; object-fit: contain; border-radius: .6rem; }
.screenshot-grid figcaption { margin-top: 1rem; font-size: .9rem; color: var(--text-muted); }
.compatibility { border-top: 1px solid var(--border); }
.compatibility h2 { margin-bottom: 1.5rem; }
.capabilities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; align-content: start; }
.capabilities li { border-bottom: 1px solid var(--border); padding-block: .75rem; color: var(--text-muted); font-size: .95rem; }
.closing { border-radius: var(--radius); padding: 3.5rem; text-align: center; background: var(--bg-secondary); margin-bottom: 5rem; }
.closing p { margin-block: 1.25rem; }
.site-footer { display: flex; justify-content: space-between; gap: 3rem; padding-block: 3rem; border-top: 1px solid var(--border); }
.site-footer p { font-size: .85rem; margin-top: .65rem; }
.site-footer small { display: block; color: var(--text-muted); margin-top: 1.2rem; font-size: .8rem; }
.site-footer nav { align-content: start; max-width: 28rem; gap: 0 1.5rem; }
.document { max-width: 850px; padding-block: 5rem; }
.page-heading { margin-bottom: 3.5rem; }
.page-heading h1 { margin-bottom: 1.5rem; }
.page-heading .lead { margin-bottom: 1rem; }
.document h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.25rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { padding: 1.4rem .25rem; cursor: pointer; font-weight: 550; font-size: 1.1rem; }
.faq summary::marker { color: var(--cork); }
.faq details p { padding: 0 .25rem 1.5rem; }
.contact-panel { padding: 2.5rem; border: 1px solid var(--border); background: var(--bg-secondary); border-radius: var(--radius); margin-top: 3rem; }
.contact-panel .button { margin-block: 1.5rem .75rem; }
.notice { padding: 1.3rem 1.5rem; border-left: 3px solid var(--cork); background: var(--bg-secondary); color: var(--text); font-size: .95rem; overflow-wrap: anywhere; }
.notice p { margin-top: .5rem; }
.prose section { margin-top: 2.5rem; }
.prose address { font-style: normal; color: var(--text-muted); }
.prose a, .contact-panel a { overflow-wrap: anywhere; }
@media (min-width: 1600px) { .hero { padding-block: 7rem; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 3rem); }
  .hero { gap: 2rem; padding-block: 4rem; }
  .hero-art { padding: 1rem; }
  .hero-art figcaption { flex-direction: column; gap: .15rem; }
  .intro, .live-section, .privacy-content, .compatibility { gap: 2rem; }
  .feature { padding: 2rem; }
  .feature-watch { gap: 2rem; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .site-footer { flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 2.5rem); }
  .site-header { flex-direction: column; align-items: flex-start; gap: .25rem; padding-block: 1rem .5rem; }
  .site-header nav { width: 100%; justify-content: space-between; gap: .15rem .7rem; }
  .hero { grid-template-columns: 1fr; gap: 2.25rem; padding-block: 3rem 2rem; }
  .hero h1 { font-size: clamp(2.65rem, 10.5vw, 4.1rem); }
  .hero .lead { font-size: 1.1rem; }
  .hero-art { width: min(78%, 300px); justify-self: center; }
  .hero-art figcaption { margin-top: 1.6rem; }
  .eyebrow { font-size: .75rem; }
  .button-row { gap: .8rem 1.5rem; }
  .platform-strip { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1rem; font-size: .85rem; }
  .section { padding-block: 3.5rem; }
  .intro, .live-section, .privacy-content, .compatibility { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro .eyebrow { margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 1.75rem; }
  .feature-watch { grid-template-columns: 1fr; gap: 2rem; }
  .feature-watch > img { width: 190px; }
  .feature .eyebrow { margin-bottom: 1.5rem; }
  .privacy-content { padding-block: 3rem; }
  .sharing { text-align: left; }
  .capture { height: 250px; padding: .75rem; border-radius: 1rem; }
  .screenshot-grid { gap: 1.5rem .75rem; }
  .screenshot-grid figcaption { font-size: .85rem; }
  .capabilities { gap: 0 1rem; }
  .closing { padding: 2.5rem 1.5rem; margin-bottom: 3rem; }
  .document { padding-block: 3rem; }
  .contact-panel { padding: 1.5rem; }
  .page-heading { margin-bottom: 2.5rem; }
}
@media (max-width: 360px) {
  .screenshot-grid, .capabilities { grid-template-columns: 1fr; }
  .capture { height: 300px; }
  .hero-art { width: 85%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Optional profile skill download; no remote services or scripts. */
.skill-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; border-top: 1px solid var(--border); }
.skill-section h2 { margin-bottom: 1.5rem; }
.skill-section .lead { margin-bottom: 1rem; }
.skill-download { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.skill-download h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.skill-download .button { margin-block: 1.5rem .75rem; }
.skill-download ol { padding-left: 1.25rem; color: var(--text-muted); }
.skill-download li + li { margin-top: .75rem; }
@media (max-width: 650px) { .skill-section { grid-template-columns: 1fr; gap: 1.5rem; } .skill-download { padding: 1.5rem; } }
/* Focused use cases and static guides reuse the existing warm surfaces. */
.use-case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.use-case-grid article { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-secondary); }
.use-case-grid h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.use-case-grid p { font-size: .96rem; }
.carplay-section { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; border-top: 1px solid var(--border); }
.carplay-section h2, .ecosystems h2, .alternative h2, .learn-more h2 { margin-bottom: 1.4rem; }
.carplay-section .lead { margin-bottom: 1rem; }
.carplay-section .text-link, .alternative .text-link { margin-top: 1rem; }
.carplay-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-secondary); }
.carplay-panel span { padding: 1rem .5rem; border: 1px solid var(--border); border-radius: .8rem; text-align: center; color: var(--text); font-weight: 600; }
.carplay-panel small { grid-column: 1/-1; color: var(--text-muted); text-align: center; }
.ecosystems, .alternative, .learn-more { border-top: 1px solid var(--border); }
.ecosystems > p:not(.eyebrow), .alternative > p { max-width: 48rem; }
.ecosystem-list { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.ecosystem-list li { padding: .45rem .9rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text); background: var(--bg-secondary); }
.compatibility .detail { grid-column: 1/-1; }
.guide { max-width: 900px; }
.guide .page-heading { max-width: 780px; }
.guide .prose section { margin-top: 3rem; }
.guide .prose p, .guide .prose ul { max-width: 70ch; }
.guide .prose ul { color: var(--text-muted); padding-left: 1.3rem; }
.guide .prose li + li { margin-top: .5rem; }
.guide .prose h2 { margin-bottom: 1rem; }
.guide .related { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 4rem; }
.guide .related ul { list-style: none; padding: 0; }
.guide .related li { padding: .5rem 0; }
@media (max-width: 650px) { .use-case-grid, .carplay-section { grid-template-columns: 1fr; } .carplay-panel { max-width: 430px; } }
