:root {
  --ink: var(--brand-ink);
  --deep: var(--brand-deep);
  --aqua: var(--brand-aqua);
  --paper: var(--brand-mist);
  --muted: color-mix(in oklch, var(--ink) 76%, var(--paper));
  --line: color-mix(in oklch, var(--ink) 20%, var(--paper));
  --mint: color-mix(in oklch, var(--aqua) 30%, var(--paper));
  --on-dark: var(--brand-mist);
  --muted-dark: var(--brand-muted);
  --scroll-thumb: color-mix(in oklch, var(--ink) 60%, var(--paper));
  --z-header: 10;
  --z-skip: 20;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; scrollbar-color: var(--scroll-thumb) var(--paper); scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
::selection { color: var(--deep); background: var(--aqua); }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .23em; }
a, button, summary { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
p, h1, h2, h3, figure { margin: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 650; letter-spacing: -.04em; line-height: 1.06; }
h2 { font-size: clamp(2.3rem, 4.5vw, 3.65rem); }
h3 { font-size: 1.12rem; font-weight: 650; line-height: 1.4; letter-spacing: -.015em; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: clamp(76px, 9vw, 128px); }
.skip-link { position: fixed; left: 16px; top: 16px; padding: 12px 20px; background: var(--deep); color: var(--paper); z-index: var(--z-skip); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 112px; 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: 11px; text-decoration: none; font-size: 23px; font-weight: 650; letter-spacing: -.04em; flex: 0 0 auto; min-height: 48px; }
.brand img { border-radius: 10px; width: 40px; height: 40px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; font-size: 15px; }
nav .nav-section:hover, .site-footer nav a:hover { text-decoration: underline; }
.button { min-height: 52px; padding: 13px 22px; display: inline-flex; justify-content: center; align-items: center; gap: 24px; border-radius: 12px; font-size: 15px; font-weight: 650; line-height: 1.4; text-decoration: none; transition: background-color 180ms ease-out, transform 180ms ease-out; }
.button span { font-size: 21px; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-solid { background: var(--deep); color: var(--paper); border: 1px solid var(--deep); }
.button-solid:hover { background: var(--brand-panel); }
.button-outline { border: 1px solid var(--ink); }
.button-outline:hover { background: var(--mint); }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 15px; font-size: 15px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 21px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; padding-block: 64px 55px; }
.hero-copy { position: relative; z-index: 1; }
.status-label { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.status-label > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
h1 { font-size: clamp(3.6rem, 6.5vw, 5.8rem); margin-top: 29px; }
h1 span { color: var(--brand-teal); }
.hero-intro { font-size: clamp(1.3rem, 2vw, 1.5rem); letter-spacing: -.02em; line-height: 1.5; max-width: 27ch; margin-top: 29px; }
.hero-description { max-width: 41ch; margin-top: 16px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; margin-top: 30px; }
.platform-note { color: var(--muted); font-size: 13px; margin-top: 19px; }
.independent-note { color: var(--muted); font-size: 12px; margin-top: 8px; max-width: 44ch; }
.hero-visual { min-width: 0; }
.preview-stage { position: relative; height: 660px; isolation: isolate; }
.preview-stage::before { content: ""; position: absolute; inset: 62px -22px 38px 8px; background: var(--mint); border-radius: 50% 50% 8% 8%; transform: rotate(-7deg); z-index: -1; }
.phone { background: var(--deep); padding: 7px; border-radius: 30px; overflow: hidden; }
.phone img { width: 100%; border-radius: 23px; }
.phone-main { position: absolute; width: 274px; left: 10%; top: 0; transform: rotate(-5deg); }
.phone-secondary { position: absolute; width: 213px; right: -4%; top: 163px; transform: rotate(8deg); }
.visual-caption { position: absolute; left: 12%; bottom: 3px; font-size: 14px; font-weight: 600; }
.hero-visual > figcaption { margin-top: 14px; text-align: center; font-size: 11px; color: var(--muted); }
.features { display: grid; grid-template-columns: .95fr 1.25fr; gap: 90px; }
.section-intro > p { margin-block: 23px 15px; max-width: 33ch; color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 28px; }
.feature-list article { padding-top: 20px; border-top: 1px solid var(--line); }
.feature-list article p { margin-top: 9px; color: var(--muted); font-size: 15px; }
.feature-note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); max-width: 75ch; }
.screens-section { background: var(--deep); color: var(--on-dark); }
.screens-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.screens-heading p { color: var(--muted-dark); margin-top: 20px; font-size: 15px; }
.screens-heading .screen-note { font-size: 12px; text-align: right; }
.screens-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 53px; }
.screens-grid figure { min-width: 0; }
.screen-button { display: block; padding: 5px; width: 100%; border: 1px solid var(--brand-panel); background: var(--brand-panel); border-radius: 18px; overflow: hidden; position: relative; transition: transform 220ms cubic-bezier(.22, 1, .36, 1); }
.screen-button:hover { transform: translateY(-6px); }
.screen-button img { width: 100%; border-radius: 12px; }
.screen-button:focus-visible { outline-color: var(--aqua); }
.zoom-hint { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--deep); color: var(--aqua); padding: 8px 15px; border-radius: 8px; font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity 180ms ease-out; }
.screen-button:is(:hover, :focus-visible) .zoom-hint { opacity: 1; }
.screens-grid figcaption { margin-top: 23px; }
.screens-grid figcaption h3 { font-size: 17px; }
.screens-grid figcaption p { color: var(--muted-dark); margin-top: 7px; font-size: 14px; }
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; }
.project-signature { font-size: 14px; color: var(--brand-teal); font-weight: 600; margin-bottom: 22px; }
.project-story > p { margin-bottom: 21px; color: var(--muted); }
.project-story .lead { font-size: 23px; line-height: 1.5; letter-spacing: -.02em; color: var(--ink); }
.project-story strong { color: var(--ink); font-weight: 600; }
.connection-section { background: white; border-block: 1px solid var(--line); }
.connection-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 110px; }
.connection-layout > div:first-child > p { max-width: 32ch; margin-top: 23px; color: var(--muted); }
.connection-steps { margin: 0; padding-left: 28px; }
.connection-steps li { padding-left: 13px; padding-bottom: 28px; }
.connection-steps li::marker { font-size: 16px; font-weight: 650; color: var(--brand-teal); }
.connection-steps p { margin-top: 7px; font-size: 15px; color: var(--muted); }
.privacy-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: .85fr 1.2fr; gap: 14px 60px; }
.privacy-note p { font-size: 14px; color: var(--muted); max-width: 73ch; }
.privacy-note a { grid-column: 2; }
.contact-section { background: var(--mint); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 90px; }
.contact-copy h2 { margin-bottom: 26px; }
.contact-copy > p:not(.project-signature) { max-width: 43ch; color: var(--muted); }
.contact-copy .contact-byline { font-size: 14px; margin-top: 28px; }
.contact-copy .text-link { margin-top: 12px; }
.project-form { min-width: 0; }
.project-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-legend { font-size: 19px; font-weight: 650; margin-bottom: 24px; padding: 0; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.form-field :is(input, select, textarea) { width: 100%; min-height: 52px; border: 1px solid var(--muted); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; padding: 12px 14px; }
.form-field textarea { display: block; resize: none; min-height: 120px; max-height: 360px; }
.form-field textarea::placeholder { color: var(--muted); opacity: 1; }
.form-field :is(input, select, textarea):focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 3px; }
.form-field [aria-invalid="true"] { border-width: 2px; }
.field-error { min-height: 21px; font-size: 13px; font-weight: 600; margin-top: 3px; }
.field-hint, .form-note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.form-note { max-width: 58ch; margin-top: 14px; }
.form-status { min-height: 24px; font-size: 13px; margin-top: 8px; }
.project-form .button { width: 100%; }
.site-footer { padding-block: 36px 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-bottom: 24px; }
.site-footer > p { max-width: 85ch; color: var(--muted); font-size: 12px; }
.site-footer .footer-meta { max-width: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.footer-meta a { min-height: 48px; display: inline-flex; align-items: center; }
.screen-dialog { color: var(--paper); background: var(--deep); border: 1px solid var(--brand-panel); border-radius: 16px; padding: 20px; width: min(510px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; scrollbar-color: var(--muted-dark) var(--deep); }
.screen-dialog::backdrop { background: color-mix(in oklch, var(--deep) 88%, transparent); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.dialog-header h2 { font-size: 18px; letter-spacing: -.02em; line-height: 1.4; }
.dialog-close { min-height: 48px; padding: 8px 14px; border: 1px solid var(--muted-dark); border-radius: 8px; color: var(--paper); background: var(--deep); font-size: 14px; display: inline-flex; gap: 15px; align-items: center; flex-shrink: 0; }
.dialog-close:hover { background: var(--brand-panel); }
.dialog-close span { font-size: 24px; line-height: 1; }
.dialog-image { margin-inline: auto; max-width: 360px; }
.dialog-image img { width: 100%; border-radius: 9px; }
.screen-dialog > p { font-size: 12px; text-align: center; color: var(--muted-dark); margin-top: 14px; }
@media (min-width: 1500px) { .hero { padding-block: 76px 65px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1fr 1fr; }
  .preview-stage { height: 590px; }
  .phone-main { width: 240px; left: 3%; top: 7px; }
  .phone-secondary { width: 180px; top: 150px; right: -3%; }
  .visual-caption { left: 6%; bottom: 15px; font-size: 12px; }
  .features, .project, .connection-layout, .contact-layout { gap: 50px; }
  .screens-grid { gap: 18px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 88px; }
  nav { gap: 20px; }
  .nav-section { display: none; }
  .hero { padding-top: 42px; grid-template-columns: 1fr; gap: 35px; }
  h1 { font-size: clamp(3.7rem, 12vw, 5.5rem); }
  .hero-intro { max-width: 32ch; }
  .hero-description { max-width: 49ch; }
  .hero-visual { width: min(520px, 100%); justify-self: center; }
  .preview-stage { height: 615px; }
  .phone-main { width: 255px; left: 9%; }
  .phone-secondary { width: 195px; right: 6%; }
  .preview-stage::before { inset-inline: 0; transform: none; }
  .visual-caption { bottom: 8px; left: 12%; }
  .features, .project, .connection-layout, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .section-intro > p { max-width: 48ch; }
  .screens-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
  .screen-note { display: none; }
  .project-story { max-width: 60ch; }
  .privacy-note { grid-template-columns: 1fr; gap: 14px; }
  .privacy-note a { grid-column: 1; }
  .connection-steps { padding-left: 24px; }
  .connection-steps li:last-child { padding-bottom: 0; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 16px; }
  .site-footer nav { flex-wrap: wrap; gap: 0 23px; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .nav-app { padding: 11px 14px; gap: 14px; }
  .status-label { font-size: 11px; }
  .hero-actions { gap: 8px 18px; }
  .hero-actions .button { padding-inline: 17px; gap: 16px; }
  .hero-actions .text-link { font-size: 13px; }
  .preview-stage { height: 525px; }
  .phone-main { width: 219px; left: 4%; }
  .phone-secondary { width: 160px; top: 140px; right: 6%; }
  .visual-caption { left: 7%; font-size: 11px; }
  .feature-list { grid-template-columns: 1fr; gap: 25px; }
  .screens-grid { gap: 32px 16px; }
  .screens-grid figcaption h3 { font-size: 15px; }
  .screens-grid figcaption p { font-size: 12px; }
  .screen-button { padding: 3px; border-radius: 12px; }
  .screen-button img { border-radius: 9px; }
  .dialog-header h2 { font-size: 16px; }
  .screen-dialog { padding: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 650ms cubic-bezier(.22, 1, .36, 1) both; }
  .hero-visual { animation: arrive 850ms cubic-bezier(.22, 1, .36, 1) both; }
  @keyframes arrive { from { transform: translateY(15px); opacity: .4; } to { transform: translateY(0); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  html { scrollbar-color: auto; }
  .screen-button, .button, .phone { border: 1px solid CanvasText; }
  h1 span, .project-signature { color: CanvasText; }
}
