@font-face {
  font-family: 'Montserrat Local';
  src: url('/assets/fonts/montserrat-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --ink: #173b42;
  --deep: #12373d;
  --forest: #2d5357;
  --cream: #faf8f3;
  --paper: #fffefa;
  --champagne: #c6b48e;
  --line: #dadcd4;
  --sans: 'Montserrat Local', Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
.frame { width: min(1120px, calc(100% - clamp(32px, 8vw, 112px))); margin-inline: auto; }
a, button { color: inherit; }
a { text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid #9a702d; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -6rem; padding: .5rem 1rem; background: white; z-index: 3; }
.skip:focus { top: .5rem; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 72px; border-bottom: 1px solid var(--champagne); }
.guide-mark { display: inline-flex; gap: .6rem; align-items: center; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .79rem; font-weight: 600; }
.guide-mark img { width: 32px; height: 32px; border-radius: 5px; }
.share-action { position: relative; text-align: right; }
#share { font: inherit; font-size: .9rem; font-weight: 600; background: none; border: 0; padding: .75rem .15rem; text-decoration: underline; text-underline-offset: .28em; cursor: pointer; }
#share-status:not(:empty) { display: block; position: absolute; top: 100%; right: 0; width: max-content; max-width: 16rem; background: var(--paper); border: 1px solid var(--line); padding: .4rem .7rem; font-size: .85rem; z-index: 2; }
.cover { margin-top: 1.25rem; padding: clamp(1.3rem, 4vw, 3.4rem); background-color: var(--cream); background-image: linear-gradient(90deg, rgba(250,248,243,.96) 0%, rgba(250,248,243,.89) 34%, rgba(250,248,243,.45) 100%), url('flight-line.jpg'); background-size: cover; background-position: center, center 66%; }
.eyebrow { font-size: .84rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; line-height: 1.5; margin: 0 0 .9rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--deep); margin: 0; }
h1 { font-size: clamp(3.2rem, 7.9vw, 6.1rem); line-height: .99; letter-spacing: -.055em; }
h1 em { font-size: .83em; font-weight: 400; color: var(--forest); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.3rem; margin-top: 1.6rem; }
.download-control { position: relative; max-width: 100%; }
.download-control summary {
  display: flex; align-items: center; gap: .7rem; max-width: 100%;
  min-height: 54px; padding: .52rem .95rem;
  border: 1px solid var(--champagne); border-radius: 4px;
  background: var(--deep); color: var(--cream); cursor: pointer; list-style: none;
}
.download-control summary::-webkit-details-marker { display: none; }
.download-control summary:hover, .download-control[open] summary { background: #204a50; }
.download-control summary:focus-visible { outline: 3px solid #9a702d; outline-offset: 4px; }
.download-control summary img { display: block; width: clamp(4.2rem, 10vw, 6rem); height: auto; flex-shrink: 0; }
.download-label { padding-left: .7rem; border-left: 1px solid var(--champagne); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.download-indicator { position: relative; width: 12px; height: 12px; flex: 0 0 12px; color: var(--champagne); }
.download-indicator::before, .download-indicator::after { content: ''; position: absolute; inset: 5px 0 auto; border-top: 2px solid; }
.download-indicator::after { transform: rotate(90deg); }
.download-control[open] .download-indicator::after { display: none; }
.download-options {
  position: absolute; top: calc(100% + .3rem); left: 0; z-index: 2; width: 100%;
  border: 1px solid var(--champagne); border-radius: 4px; overflow: hidden;
  background: var(--paper); box-shadow: 0 .45rem 1.25rem #12373d20;
}
.download-options a { display: block; padding: .68rem 1rem; text-decoration: none; }
.download-options a + a { border-top: 1px solid var(--line); }
.download-options a:hover, .download-options a:focus-visible { background: #e8eeea; }
.download-options a:focus-visible { outline-offset: -3px; }
.download-options strong, .download-options span { display: block; }
.download-options strong { font-size: 1rem; }
.download-options span { font-size: .83rem; color: var(--forest); }
.pdf-previews { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; }
.pdf-previews a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 600; }
.questions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: .85rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f4f6f2; }
.questions a { padding: 1.25rem clamp(1rem, 2.3vw, 1.6rem); display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; justify-content: space-between; text-decoration: none; }
.questions a + a { border-left: 1px solid var(--line); }
.questions a:hover, .guide-links a:hover { background-color: #e8eeea; }
.questions span { font: 400 clamp(1.25rem, 2.35vw, 1.65rem)/1.2 var(--serif); }
.questions strong { font-size: .92rem; text-decoration: underline; text-underline-offset: .25rem; }
.body-grid { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(1.5rem,4vw,3.5rem); margin: clamp(2rem,5vw,4.5rem) 0 2.1rem; align-items: start; }
h2 { font-size: clamp(2rem,3.8vw,3.2rem); line-height: 1.08; letter-spacing: -.025em; }
.resources > p, .note > p { margin: 1rem 0; }
.resources > p, .note > p:not(.eyebrow,.byline,.close) { font-size: 1rem; }
.guide-links { border-top: 1px solid var(--champagne); }
.guide-links a { display: block; text-decoration: none; padding: .85rem .35rem; border-bottom: 1px solid var(--line); }
.guide-links strong { display: block; font: 400 1.45rem/1.3 var(--serif); text-decoration: underline; text-underline-offset: .2em; }
.guide-links span { display: block; margin-top: .2rem; font-size: .9rem; }
.center-contact { color: var(--forest); }
.center-contact a { font-weight: 600; }
.note { background-color: var(--cream); padding: clamp(1.15rem,3vw,2.4rem); position: relative; isolation: isolate; border-top: 2px solid var(--champagne); overflow: hidden; }
.note::before { content: ''; position: absolute; inset: .6rem 0 2rem; background: url('/assets/kinna-clark-cutout-final-20261021.png') no-repeat right top / auto min(34rem,100%); opacity: .052; z-index: -1; pointer-events: none; }
.note p.eyebrow { margin: 0 0 1rem; }
.note p.byline { font-size: .88rem; color: var(--forest); line-height: 1.5; margin: .7rem 0 1.25rem; }
.note p.thanks { margin-bottom: .25rem; }
.note p.close { font: italic clamp(1.65rem,2.8vw,2.1rem)/1.2 var(--serif); margin: .25rem 0 1.2rem; }
.signature { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; background: var(--deep); color: #faf6e7; padding: .45rem .85rem; }
.signature img { width: 155px; height: auto; display: block; }
.text-link { font-size: .92rem; }
footer { border-top: 1px solid var(--champagne); padding: 1.3rem 0 2.25rem; }
.professional { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; font-size: .92rem; }
.broker { display: flex; align-items: center; gap: .85rem; margin-top: 1.2rem; }
.broker p, .credit { font-size: .81rem; line-height: 1.55; color: #485b5c; }
.broker p { margin: 0; }
.credit { margin: 1rem 0 0; }
.mast { padding-top: env(safe-area-inset-top); }
.app-actions { display: flex; align-items: center; gap: clamp(.5rem, 2.5vw, 1.25rem); }
.install-button {
  min-height: 44px; padding: .55rem .9rem;
  background: var(--deep); color: var(--cream); border: 1px solid var(--deep); border-radius: 4px;
  font: 600 .9rem/1.35 var(--sans); cursor: pointer;
}
.install-button:hover { background: var(--forest); }
.install-help {
  width: min(29rem, calc(100% - 2rem)); max-height: 86vh; max-height: 86dvh; overflow: auto;
  padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid var(--champagne); border-radius: 8px;
  background: var(--paper); color: var(--ink); overscroll-behavior: contain;
}
.install-help::backdrop { background: rgba(17, 41, 45, .55); }
.install-help img { display: block; border-radius: 12px; margin-bottom: 1rem; }
.install-help h2 { font-size: clamp(2rem, 5vw, 2.6rem); }
.install-help h3 { font-size: 1rem; margin: 1.2rem 0 .3rem; }
.install-help p { margin: 0; }
.install-help form { margin-top: 1.4rem; }
.phone-qr { display: flex; align-items: center; gap: 1rem; margin: 1.3rem 0; }
.phone-qr img { width: min(37%, 138px); height: auto; border-radius: 0; margin: 0; flex-shrink: 0; }
.phone-qr h3 { margin-top: 0; }
.phone-qr a { display: inline-block; padding-top: .4rem; font-size: .9rem; }
.offline-status { color: var(--ink); font-size: .86rem; margin: .85rem 0 0; }
.checklist { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--champagne); }
.checklist, #kinna, #guide { scroll-margin-top: 1rem; }
.checklist h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
.checklist p { margin: .6rem 0; font-size: .9rem; }
.checklist ul { list-style: none; margin: .85rem 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { border-bottom: 1px solid var(--line); }
.checklist label { display: flex; gap: .7rem; align-items: center; min-height: 48px; padding: .5rem .15rem; cursor: pointer; }
.checklist input { width: 1.15rem; height: 1.15rem; flex-shrink: 0; accent-color: var(--deep); margin: 0; }
.checklist input:focus-visible { outline: 3px solid #9a702d; outline-offset: 3px; }
.checklist-count { font-weight: 600; color: var(--forest); }
.app-nav { display: none; }
@media (max-width: 740px) {
  .body-grid { grid-template-columns: 1fr; margin-top: 1.8rem; }
  .cover { background-image: linear-gradient(90deg,rgba(250,248,243,.9),rgba(250,248,243,.62)),url('flight-line.jpg'); }
  body { padding: 0 env(safe-area-inset-right) calc(4.25rem + env(safe-area-inset-bottom)) env(safe-area-inset-left); }
  .app-nav {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 3; bottom: 0; left: 0; right: 0;
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background: var(--deep); color: var(--cream); border-top: 1px solid var(--champagne);
  }
  .app-nav a {
    display: grid; place-items: center; min-height: 52px; padding: .45rem .2rem;
    border-top: 3px solid transparent; text-decoration: none; font-size: .92rem;
  }
  .app-nav a[aria-current="location"] { border-color: var(--champagne); background: #20464b; font-weight: 600; }
  .app-nav a:focus-visible { outline-offset: -4px; }
}
@media (max-width: 560px) {
  .mast { min-height: 61px; }
  .guide-mark span { display: none; }
  .questions { grid-template-columns: 1fr; }
  .questions a { gap: .2rem; padding: .8rem 1rem; }
  .questions a + a { border-left: 0; border-top: 1px solid var(--line); }
  .signature img { width: 135px; }
}
@media (max-width: 380px) {
  .guide-mark { gap: .35rem; font-size: .7rem; letter-spacing: .045em; }
  .guide-mark img { width: 27px; height: 27px; }
  .install-button { padding-inline: .65rem; }
}
@media print {
  .mast, .actions, .share-action, .skip, .app-nav, .offline-status, .install-help { display: none; }
  body { padding: 0; }
  .frame { width: auto; }
  .body-grid { display: block; }
  .note { break-inside: avoid; }
  footer { margin-top: 1rem; }
}
