@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; text-underline-offset: .22em; }
}

@layer base {
  :root { color-scheme: light; --navy: #101f2d; --ink: #192c39; --muted: #56636a; --paper: #f8f8f3; --line: #d8ddd7; --blue: #71c4ef; --mono: ui-monospace, "SFMono-Regular", Consolas, monospace; }
  html { scroll-behavior: smooth; scroll-padding-top: 30px; }
  body { background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  ::selection { background: #a4d9ed; color: #101f2d; }
  a { text-decoration-thickness: 1px; }
  a:hover { text-decoration: underline; }
  :focus-visible { outline: 3px solid #187cba; outline-offset: 6px; border-radius: 2px; }
  .hero :focus-visible, .site-header :focus-visible, .availability :focus-visible { outline-color: #89d4fa; }
  h1, h2, h3 { font-weight: 550; }
  h1 { font-size: clamp(3.3rem, 5.25vw, 5rem); line-height: 1.06; letter-spacing: -.055em; }
  h2 { font-size: clamp(2.2rem, 3.5vw, 3.25rem); line-height: 1.12; letter-spacing: -.045em; }
  h3 { font-size: 1.3rem; line-height: 1.35; letter-spacing: -.025em; }
  p { text-wrap: pretty; }
  strong { font-weight: 600; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
}

@layer layout {
  .container { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
  .section-space { padding-block: 100px; }
  .section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 52px; }
  .section-heading > p { color: var(--muted); font-size: 1rem; padding-bottom: 4px; }
  .eyebrow { font: 500 .67rem/1.7 var(--mono); text-transform: uppercase; letter-spacing: .13em; margin-bottom: 21px; }
  .text-link { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 550; text-decoration: none; }
  .text-link span { font-size: 1.2rem; }
  .skip-link { position: absolute; top: 10px; left: 15px; transform: translateY(-200%); z-index: 20; background: white; color: var(--ink); padding: 12px 20px; }
  .skip-link:focus { transform: none; }
}

@layer components {
  .site-header { background: var(--navy); color: #fff; }
  .header-inner { display: flex; align-items: center; gap: 44px; min-height: 100px; border-bottom: 1px solid #ffffff20; }
  .brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.26rem; font-weight: 650; letter-spacing: -.045em; flex-shrink: 0; }
  .brand img { border-radius: 9px; }
  .header-inner nav { display: flex; margin-left: auto; gap: 30px; }
  .header-inner nav a { display: flex; align-items: center; min-height: 44px; font-size: .8rem; text-decoration: none; color: #c1cbd1; }
  .header-inner nav a:hover { color: white; text-decoration: underline; }
  .nav-cta { display: inline-flex; align-items: center; gap: 23px; min-height: 42px; padding: 0 17px; border: 1px solid #72808a; border-radius: 5px; font-size: .8rem; text-decoration: none; }
  .nav-cta:hover { background: #ffffff0d; }
  .nav-cta span { font-size: 1.1rem; }
  .hero { background: var(--navy); color: #f7f8f6; color-scheme: dark; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 18px; align-items: center; padding-block: 70px 56px; }
  .hero-copy { padding-block: 15px 32px; z-index: 1; }
  .hero .eyebrow { color: #c0cdd4; display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .59rem; }
  .signal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #91cdb8; flex-shrink: 0; }
  .hero h1 span { color: var(--blue); }
  .hero-description { max-width: 390px; font-size: 1.06rem; line-height: 1.7; color: #bdc8d0; margin-block: 26px 31px; }
  .hero-actions { display: flex; align-items: center; gap: 26px; }
  .hero-actions .text-link { font-size: .8rem; gap: 12px; }
  .release-badge { display: inline-flex; align-items: center; gap: 12px; padding: 11px 21px 12px 16px; background: #f2f6f4; color: var(--navy); border: 1px solid #e4ebe9; border-radius: 7px; text-align: left; line-height: 1.2; }
  .release-badge > svg { width: 26px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .release-badge small { display: block; font-size: .62rem; margin-bottom: 2px; }
  .release-badge strong { font-size: 1.2rem; letter-spacing: -.03em; }
  .store-link { display: inline-flex; align-items: center; gap: 16px; min-height: 52px; padding: 13px 19px; background: #f2f6f4; border-radius: 6px; color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; }
  .hero-footnote { margin-top: 21px; font-size: .65rem; color: #9aabb7; }
  .hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 23px 25px; border-top: 1px solid #ffffff20; }
  .hero-bottom > span { font: .59rem/1.6 var(--mono); letter-spacing: .12em; color: #9aabb7; }
  .hero-bottom div { display: flex; gap: 23px; align-items: center; font-size: .76rem; color: #c1cbd1; }
  .hero-bottom div span { color: #7691a2; }

  .product-visual { min-width: 0; }
  .device-scene { position: relative; width: 100%; aspect-ratio: 1.02; }
  .scene-heading { position: absolute; top: 0; left: 14%; right: 0; color: #8da4b4; display: flex; justify-content: space-between; align-items: center; font: .54rem var(--mono); letter-spacing: .12em; }
  .crosshair { font-size: 1.55rem; }
  .tablet { position: absolute; top: 12%; right: -1%; width: 84%; height: 71%; padding: 12px; border-radius: 23px; background: #11161b; border: 2px solid #72808a; box-shadow: 0 28px 45px #0005, 0 0 0 3px #080f1580; transform: rotate(-5deg); }
  .tablet-screen { position: relative; height: 100%; border-radius: 12px; overflow: hidden; background: #e5e9dd; color: #263f4c; }
  .map-heading { display: flex; justify-content: space-between; align-items: center; height: 37px; background: #f6f7ef; padding-inline: 16px; font: 500 .52rem var(--mono); letter-spacing: .05em; position: relative; z-index: 1; }
  .map-heading > span:last-child { display: flex; align-items: center; gap: 5px; }
  .map-heading i { width: 5px; height: 5px; background: #477767; border-radius: 50%; }
  .map { width: 100%; height: calc(100% - 37px); object-fit: cover; }
  .map-source { position: absolute; bottom: 14px; right: 13px; display: flex; align-items: center; gap: 9px; background: #f9faf4; border: 1px solid #bbc7bf; border-radius: 5px; padding: 9px 10px; font-size: .54rem; box-shadow: 0 2px 5px #0001; }
  .map-source .signal-dot { background: #48755f; width: 5px; height: 5px; }
  .map-source > span:last-child { padding-left: 7px; }
  .phone { position: absolute; bottom: 8%; left: 2%; width: 32%; height: 67%; padding: 12px; border: 2px solid #83959f; background: #132633; border-radius: 26px; box-shadow: 0 20px 30px #0006, inset 0 0 0 4px #090f15; transform: rotate(3deg); }
  .phone-island { position: absolute; top: 8px; left: 35%; width: 30%; height: 12px; border-radius: 15px; background: #060d12; }
  .phone-top { display: flex; justify-content: space-between; font-size: .46rem; line-height: 1; padding: 1px 5px 0; color: #d5dfe3; }
  .phone-app { display: flex; align-items: center; gap: 7px; margin: 23px 0 10px; font-size: .68rem; }
  .phone-app img { width: 23px; height: 23px; border-radius: 5px; }
  .phone-status { display: flex; align-items: center; gap: 6px; font-size: .46rem; color: #b8d7c9; white-space: nowrap; }
  .phone-status .signal-dot { width: 4px; height: 4px; }
  .position-symbol { position: relative; display: grid; place-items: center; margin: 13px auto 9px; width: 54px; height: 54px; border: 1px solid #425d6c; border-radius: 50%; color: #96d6ef; }
  .position-symbol span { font-size: 2.45rem; font-weight: 300; line-height: 1; }
  .phone-coordinate { text-align: center; font: 400 1.29rem/1.35 var(--mono); letter-spacing: -.07em; }
  .phone-coordinate span { font-size: .65rem; color: #8fa5b3; letter-spacing: 0; }
  .phone-rule { height: 1px; background: #344957; margin: 13px 1px 10px; }
  .phone-info { margin-bottom: 9px; line-height: 1.6; }
  .phone-info > span { display: block; font: .38rem/1.6 var(--mono); letter-spacing: .08em; color: #a1b2bc; }
  .phone-info strong { font-size: .5rem; }
  .phone-home { position: absolute; bottom: 8px; left: 32%; width: 36%; height: 3px; border-radius: 2px; background: #b8c3c9; }
  .connection { position: absolute; display: flex; align-items: center; gap: 8px; z-index: 2; bottom: 32%; left: 32%; width: 20%; transform: rotate(-5deg); }
  .connection > span { height: 1px; border-top: 2px dotted #8ccddd; flex: 1; }
  .connection svg { width: 34px; padding: 6px; border-radius: 50%; background: #173e50; stroke: #b4e6f3; stroke-width: 1.7; fill: none; box-shadow: 0 0 0 4px #112b3780; }
  .device-label { position: absolute; bottom: 0; color: #c1cbd1; font: .55rem var(--mono); letter-spacing: .015em; white-space: nowrap; }
  .device-label span { color: #708d9f; margin-right: 8px; }
  .phone-label { left: 3%; }
  .tablet-label { right: 0; bottom: 7%; }
  .product-visual figcaption { margin-top: 21px; font-size: .58rem; text-align: right; line-height: 1.7; color: #93a7b4; }

  .intro { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
  .intro-copy { padding-top: 3px; max-width: 485px; }
  .intro-copy > p:first-child { font-size: 1.28rem; line-height: 1.55; letter-spacing: -.018em; }
  .intro-copy > p:nth-child(2) { margin-top: 20px; color: var(--muted); font-size: .95rem; }
  .intro-copy .text-link { margin-top: 20px; }
  .how { background: #eef0e9; border-block: 1px solid var(--line); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; margin: 0; padding: 0; }
  .steps li { border-top: 1px solid #b9c5bd; padding-top: 20px; }
  .step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; }
  .step-number { font: .77rem var(--mono); color: #627567; }
  .step-top svg { width: 30px; height: 30px; stroke: #506b62; fill: none; stroke-width: 1.3; }
  .steps h3 { margin-bottom: 13px; }
  .steps p { color: var(--muted); font-size: .89rem; max-width: 310px; }
  .development-note { margin-top: 44px; padding-top: 23px; border-top: 1px solid var(--line); color: #56645c; font-size: .74rem; }
  .development-note span { color: var(--ink); font-weight: 600; margin-right: 12px; }
  .fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
  .fit-primary { background: #e9eee9; border: 1px solid #d5dfd7; padding: 38px; border-radius: 3px; }
  .fit-icon { display: block; color: #4a7063; font-size: 1.9rem; line-height: 1; margin-bottom: 28px; }
  .fit-primary h3 { font-size: 1.72rem; line-height: 1.25; margin-bottom: 19px; }
  .fit-primary p { color: #4d6057; font-size: .9rem; }
  .fit-primary ul { list-style: none; margin: 24px 0 15px; padding: 0; }
  .fit-primary li { display: flex; gap: 12px; font-size: .81rem; margin-bottom: 10px; }
  .fit-primary li::before { content: '✓'; color: #3e705d; }
  .fit-primary .fit-note { font-size: .7rem; margin-top: 23px; }
  .fit-options { padding-top: 12px; }
  .fit-options > p { font-size: .9rem; color: var(--muted); margin-top: 8px; }
  .fit-options dl { margin-top: 23px; }
  .fit-options dl > div { border-top: 1px solid var(--line); padding-block: 19px; }
  .fit-options dt { font-weight: 600; font-size: .91rem; margin-bottom: 5px; }
  .fit-options dd { font-size: .86rem; color: var(--muted); max-width: 390px; }
  .fit-options .text-link { font-size: .8rem; }
  .faq { border-top: 1px solid var(--line); }
  .faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 80px; }
  .faq-heading > p:last-child { margin-top: 23px; color: var(--muted); font-size: .93rem; }
  .questions details { border-bottom: 1px solid var(--line); }
  .questions details:first-child { border-top: 1px solid var(--line); }
  summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; font-size: .94rem; line-height: 1.5; font-weight: 550; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; font-family: var(--mono); font-size: 1.2rem; font-weight: 400; color: #62756b; flex-shrink: 0; }
  details[open] summary::after { content: '−'; }
  summary:hover { color: #14638a; }
  .answer { padding: 0 35px 23px 0; font-size: .86rem; line-height: 1.75; color: var(--muted); }
  .answer p + p { margin-top: 12px; }
  .answer a { color: #205d76; }
  .availability { background: var(--navy); color: #f7f8f6; color-scheme: dark; }
  .availability-inner { text-align: center; }
  .closing-icon { margin: 0 auto 27px; border-radius: 17px; }
  .availability .eyebrow { color: var(--blue); margin-bottom: 16px; }
  .availability h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
  .availability h2 + p { margin-block: 23px 29px; color: #bac8d1; font-size: .99rem; }
  .availability .release-note { max-width: 420px; margin: 20px auto 0; color: #a0b1bd; font-size: .72rem; }
  .site-footer { background: #0c1924; color: #c1cbd1; padding-block: 38px 30px; }
  .footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 28px; }
  .footer-top .brand { font-size: 1.1rem; color: #f4f7f5; }
  .footer-top > a:last-child { min-height: 44px; display: flex; align-items: center; gap: 20px; font-size: .75rem; text-decoration: none; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid #ffffff20; padding-top: 23px; font-size: .65rem; color: #98a9b5; }
  .footer-bottom > p:last-child { text-align: right; }
  .error-page { min-height: 100svh; display: grid; place-items: center; padding: 30px; background: var(--navy); color: white; }
  .error-page main { max-width: 700px; }
  .error-page .eyebrow { margin-top: 70px; color: var(--blue); }
  .error-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
  .error-page h1 + p { margin-block: 25px; color: #bac8d1; }
}

@layer responsive {
  @media (min-width: 1440px) {
    .phone { padding: 17px; }
    .phone-app { margin-top: 26px; font-size: .8rem; }
    .phone-status { font-size: .56rem; }
    .position-symbol { margin-block: 21px 14px; width: 60px; height: 60px; }
    .phone-coordinate { font-size: 1.5rem; }
    .phone-info > span { font-size: .45rem; }
    .phone-info strong { font-size: .59rem; }
  }
  @media (max-width: 1100px) {
    .container { width: calc(100% - 72px); }
    .hero-grid { gap: 10px; padding-top: 60px; }
    h1 { font-size: 3.65rem; }
    .hero .eyebrow { font-size: .51rem; }
    .hero-description { font-size: .97rem; max-width: 330px; }
    .hero-actions { gap: 15px; flex-wrap: wrap; }
    .tablet { border-radius: 20px; padding: 10px; }
    .phone { padding: 11px; border-radius: 22px; }
    .phone-app { margin-top: 19px; margin-bottom: 6px; }
    .phone-app img { width: 20px; height: 20px; }
    .position-symbol { width: 42px; height: 42px; margin-block: 10px 6px; }
    .phone-coordinate { font-size: 1.1rem; }
    .phone-rule { margin-block: 8px 6px; }
    .phone-info { margin-bottom: 5px; }
    .phone-info strong { font-size: .46rem; }
    .section-space { padding-block: 80px; }
    .fit-grid { gap: 40px; }
    .faq-grid { gap: 45px; }
  }
  @media (min-width: 761px) and (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 3.05rem; }
    .hero .eyebrow { max-width: 220px; }
    .header-inner { gap: 20px; }
    .header-inner nav { gap: 19px; }
    .phone-info { display: none; }
    .phone-coordinate { font-size: .98rem; }
    .phone-coordinate span { font-size: .5rem; }
    .phone-status { font-size: .36rem; gap: 4px; }
    .phone-app { font-size: .55rem; gap: 4px; }
    .scene-heading { font-size: .43rem; }
    .device-label { font-size: .45rem; }
    .map-heading { padding-inline: 10px; font-size: .42rem; }
    .map-source { padding: 7px; font-size: .43rem; }
    .hero-bottom div { gap: 14px; font-size: .68rem; }
    .steps { gap: 25px; }
    .fit-primary { padding: 28px; }
  }
  @media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .section-space { padding-block: 64px; }
    .header-inner { min-height: 115px; flex-wrap: wrap; gap: 0; justify-content: space-between; padding-block: 17px 8px; }
    .brand { font-size: 1.15rem; }
    .brand img { width: 33px; height: 33px; }
    .nav-cta { font-size: .72rem; min-height: 40px; padding-inline: 12px; gap: 17px; }
    .header-inner nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 20px; margin-top: 7px; }
    .header-inner nav a { font-size: .75rem; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 38px; padding-bottom: 28px; gap: 18px; }
    .hero-copy { padding-block: 0 10px; }
    .hero .eyebrow { font-size: .52rem; margin-bottom: 21px; }
    h1 { font-size: clamp(3.05rem, 10.2vw, 4.5rem); }
    .hero-description { max-width: 430px; font-size: 1rem; margin-block: 23px 25px; }
    .hero-actions { gap: 24px; }
    .hero-footnote { margin-top: 17px; }
    .product-visual { max-width: 510px; width: 100%; margin: 10px auto 0; }
    .device-scene { aspect-ratio: 1.08; }
    .scene-heading { top: 0; }
    .tablet { right: 1%; width: 82%; }
    .phone { left: 3%; width: 31%; height: 69%; }
    .phone-info { margin-bottom: 5px; }
    .phone-label { left: 5%; }
    .tablet-label { right: 3%; }
    .product-visual figcaption { font-size: .55rem; margin-top: 17px; text-align: center; }
    .hero-bottom { flex-direction: column; align-items: start; gap: 12px; padding-block: 20px; }
    .hero-bottom div { gap: 16px; font-size: .66rem; }
    .hero-bottom > span { font-size: .52rem; }
    .intro { grid-template-columns: 1fr; gap: 30px; }
    .intro-copy { max-width: none; }
    .intro-copy > p:first-child { font-size: 1.18rem; }
    .intro-copy > p:nth-child(2) { font-size: .92rem; }
    .eyebrow { font-size: .61rem; margin-bottom: 17px; }
    .section-heading { flex-direction: column; align-items: start; gap: 24px; margin-bottom: 35px; }
    .section-heading > p { font-size: .9rem; }
    .section-heading > p br { display: none; }
    .steps { grid-template-columns: 1fr; gap: 30px; }
    .step-top { margin-bottom: 17px; }
    .steps p { max-width: none; }
    .steps h3 { margin-bottom: 9px; }
    .development-note { margin-top: 30px; line-height: 1.8; }
    .development-note span { display: block; margin-bottom: 6px; }
    .fit-grid { grid-template-columns: 1fr; gap: 32px; }
    .fit-primary { padding: 28px; }
    .fit-primary h3 { font-size: 1.65rem; }
    .fit-options { padding: 0; }
    .fit-options dd { max-width: none; }
    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq-heading h2 br { display: none; }
    .faq-heading > p:last-child { margin-top: 18px; }
    .faq-heading > p:last-child br { display: none; }
    summary { font-size: .9rem; padding-block: 20px; }
    .answer { padding-right: 12px; }
    .availability h2 { font-size: clamp(2rem, 7vw, 3rem); }
    .availability h2 + p { font-size: .86rem; }
    .closing-icon { width: 65px; height: 65px; border-radius: 14px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
    .footer-bottom > p:last-child { text-align: left; }
    .site-footer { padding-block: 25px; }
  }
  @media (max-width: 420px) {
    .phone { padding: 9px; border-radius: 20px; }
    .phone-app { margin-top: 19px; font-size: .53rem; gap: 4px; }
    .phone-app img { width: 18px; height: 18px; }
    .phone-status { font-size: .35rem; gap: 4px; }
    .position-symbol { width: 36px; height: 36px; margin-block: 9px 5px; }
    .position-symbol span { font-size: 1.9rem; }
    .phone-coordinate { font-size: .93rem; }
    .phone-coordinate span { font-size: .44rem; }
    .phone-info > span { font-size: .31rem; }
    .phone-info strong { font-size: .39rem; }
    .phone-info { line-height: 1.1; margin-bottom: 6px; }
    .scene-heading { font-size: .45rem; }
    .device-label { font-size: .45rem; }
    .map-heading { font-size: .39rem; padding-inline: 10px; height: 29px; }
    .map { height: calc(100% - 29px); }
    .map-source { font-size: .43rem; gap: 5px; padding: 6px 8px; bottom: 10px; right: 9px; }
  }
  @media (max-width: 360px) {
    .container { width: calc(100% - 32px); }
    .hero .eyebrow { font-size: .46rem; gap: 6px; }
    .hero-actions { gap: 14px; }
    .hero-actions .text-link { font-size: .72rem; }
    .release-badge { padding-inline: 12px; gap: 8px; }
    .hero-bottom div { font-size: .59rem; gap: 12px; }
    .phone-info:last-of-type { display: none; }
    .phone-top { font-size: .35rem; }
    .phone-island { height: 9px; }
    .phone-app { margin-top: 14px; }
    .phone-info { display: none; }
    .device-label { font-size: .4rem; }
  }
}
