.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-weight: 900; letter-spacing: -.05em; font-size: 19px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 32px; height: 32px; flex: none; border-radius: 4px; }
#site-nav > a:not(.button) { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
#site-nav a[aria-current="location"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle, .fixed-cta { display: none; }
.button { min-height: 52px; display: inline-flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 19px; background: var(--accent); border: 1px solid var(--accent); border-radius: 5px; color: white; font-size: 15px; font-weight: 800; line-height: 1.4; text-align: left; text-decoration: none; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-arrow { flex: none; }
#site-nav .button { padding-inline: 14px; gap: 10px; font-size: 14px; white-space: nowrap; }
.button.outline { color: var(--accent); background: white; border-color: var(--border); }
.button.outline:hover { border-color: var(--accent); background: var(--accent-soft); }
.hero-actions .button.outline { background: transparent; border-color: #b3bfe4; color: #fff; }
.hero-actions .button.outline:hover { background: #27365c; border-color: #fff; }
.hero-actions .button:focus-visible { outline-color: var(--accent-on-dark); }
.label { display: flex; gap: 10px; align-items: center; color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.label::before { content: ""; width: 19px; height: 1px; background: currentColor; flex: none; }
.dark .label, .contact .label { color: var(--accent-on-dark); }
.stage { position: relative; isolation: isolate; display: grid; justify-items: center; padding-bottom: 16px; }
.phone { position: absolute; aspect-ratio: 9 / 17.4; padding: 6px; border: 1px solid #203a44; border-radius: 23px; background: #23383f; box-shadow: 0 10px 22px #19364226; }
.phone-screen { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: #cedee3; border-radius: 17px; color: #24434f; }
.phone-camera { position: absolute; z-index: 1; top: 6px; left: 50%; translate: -50% 0; width: 25%; height: 8px; border-radius: 10px; background: #23383f; }
.phone-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 9px; padding: 10px; text-align: center; font-size: 12px; font-weight: 700; }
.phone-placeholder::before { content: ""; position: absolute; inset: 13% 12%; border: 1px solid currentColor; opacity: .2; pointer-events: none; }
.frame-mark { width: 30px; height: 30px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.frame-mark::before { content: ""; width: 0; height: 0; border-block: 4px solid transparent; border-left: 7px solid currentColor; margin-left: 2px; }
.phone-number { font-size: 29px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.phone-back { width: 23%; left: 53%; top: 9%; rotate: 11deg; }
.phone-back .phone-screen { background: #c4d8de; }
.phone-left { width: 24%; left: 9%; top: 27%; rotate: -11deg; }
.phone-left .phone-screen { background: #d9e5e7; }
.phone-right { width: 23%; right: 8%; top: 36%; rotate: 12deg; }
.phone-main { position: relative; width: min(43%, 270px); }
.phone-main .phone-screen { background: #225468; color: white; }
.stage[data-slide="1"] .phone-main .phone-screen { background: #356675; }
.stage[data-slide="2"] .phone-main .phone-screen { background: #2b5060; }
.stage[data-slide="3"] .phone-main .phone-screen { background: #315c66; }
.phone-main .phone-number { font-size: 46px; }
.phone video, .case-phone img { width: 100%; height: 100%; display: block; }
.phone video { position: absolute; inset: 0; background: #17252b; object-fit: contain; }
.slide-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2px; padding-inline: 2px; color: var(--muted); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.slide-dots { display: flex; }
.slide-controls button { min-height: 44px; min-width: 44px; color: var(--accent); border: 0; background: transparent; font-size: 13px; font-weight: 700; }
.slide-dots button::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; border: 1px solid var(--accent); }
.slide-dots button[aria-pressed="true"]::before { width: 17px; border-radius: 6px; background: var(--accent); }
#pause { justify-self: end; padding: 0 3px; white-space: nowrap; }
.index { color: var(--accent); font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--surface); }
.plus { justify-self: end; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; position: relative; color: var(--accent); }
.plus::before, .plus::after { content: ""; position: absolute; width: 12px; height: 1px; background: currentColor; top: 50%; left: 50%; translate: -50% -50%; }
.plus::after { rotate: 90deg; }
details[open] .plus::after { display: none; }
.case-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 38px); list-style: none; margin: 0; padding: clamp(12px, 3vw, 44px) 0 0; }
.case-card { width: min(100%, 224px); margin-inline: auto; text-align: center; }
.case-phone { position: relative; width: 100%; }
.case-phone .phone-screen { background: var(--dark); }
.case-phone img { object-fit: contain; }
.case-card figcaption { margin-top: 16px; font-weight: 800; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-top: 3px solid var(--accent); background: white; }
.plan { display: flex; flex-direction: column; padding: 26px clamp(18px, 2.1vw, 30px) 30px; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--border); }
.plan-type { min-height: 26px; display: flex; align-items: center; font-size: 14px; font-weight: 800; color: var(--accent); }
.plan-recommended { background: var(--accent-soft); }
.plan-recommended .plan-type { justify-content: space-between; gap: 8px; }
.plan-badge { display: inline-block; background: var(--accent); color: white; border-radius: 4px; padding: 3px 9px; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.plan h3 { margin-top: 8px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; margin: 17px 0 12px; font-size: 14px; }
.plan-price strong { font-size: clamp(34px, 3.4vw, 51px); line-height: 1.16; letter-spacing: -.04em; }
.plan-price small { margin-left: 3px; font-size: 17px; }
.plan-count { font-weight: 800; }
.plan-support { margin: 7px 0 24px; color: var(--muted); }
.plan dl { margin-top: auto; font-size: 14px; }
.plan dl div { display: grid; grid-template-columns: max-content 1fr; gap: 12px; border-top: 1px solid var(--border); padding-block: 10px; }
.plan dt { color: var(--muted); }
.plan dd { font-weight: 700; }
.plan .button { margin-top: 12px; padding-inline: 12px; gap: 8px; font-size: 14px; }
.plan .button .plan-action-label { flex: 0 1 auto; font: inherit; word-break: keep-all; }
.plan-inclusions { margin-top: 18px; border: 1px solid var(--border); background: white; }
.plan-inclusions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 10px clamp(16px, 2.2vw, 28px);
  color: var(--accent);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.plan-inclusions summary::-webkit-details-marker { display: none; }
.plan-inclusions summary:hover { background: var(--accent-soft); }
.plan-inclusions .plus { flex: none; }
.plan-inclusions-content { padding: 16px clamp(16px, 2.2vw, 28px) 20px; border-top: 1px solid var(--border); }
.plan-inclusions-content ul { margin: 9px 0; padding-inline-start: 1.25em; }
.plan-inclusions-content p { color: var(--muted); }
.plan-note {
  margin-top: 18px;
  padding: clamp(16px, 2.2vw, 28px);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--accent);
  background: white;
}
.plan-note p + p { margin-top: 4px; color: var(--muted); }
.faq-list summary { min-height: 65px; display: grid; grid-template-columns: 1fr 38px; align-items: center; gap: 12px; padding-block: 12px; font-weight: 800; }
.faq-list details p { color: var(--muted); padding: 0 42px 20px 0; }
#contact-form { min-width: 0; background: white; color: var(--ink); border-radius: 6px; padding: clamp(22px, 3vw, 40px); display: grid; gap: 17px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 800; font-size: 15px; }
.field-hint { color: var(--muted); font-size: 14px; }
.field-status { display: inline-block; margin-left: 8px; padding-inline: 5px; border-radius: 3px; background: var(--surface); color: #4e5d63; font-size: 12px; }
.field-status.required { background: var(--accent-soft); color: var(--accent); }
.field :is(input, select, textarea) { color: var(--ink); background: #fbfcfc; border: 1px solid #a9b7be; border-radius: 4px; min-height: 46px; width: 100%; padding: 8px 11px; }
textarea { resize: vertical; }
.consent { display: grid; gap: 3px; font-size: 14px; }
.consent label, .consent a { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.consent input { width: 19px; height: 19px; margin: 0; accent-color: var(--accent); }
.consent a { color: var(--accent); width: fit-content; }
.plan-status:empty, #send-status:empty { display: none; }
.plan-status { color: var(--accent); font-size: 14px; }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 24px); border: 1px solid var(--border); border-radius: 6px; color: var(--ink); padding: 0; }
dialog::backdrop { background: #0c1c25ad; }
.dialog-inner { padding: clamp(19px, 4vw, 32px); }
.dialog-inner h2 { font-size: 25px; margin-bottom: 8px; }
#confirmation { margin-block: 15px; }
#confirmation div { border-top: 1px solid var(--border); padding: 5px 0; }
#confirmation dt { font-weight: 800; font-size: 14px; }
#confirmation dd { white-space: pre-wrap; overflow-wrap: anywhere; }
#send-status { color: #97332b; margin-bottom: 12px; }
.dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.reveal { animation: emerge .48s ease-out both; }
@keyframes emerge { from { opacity: .55; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.phone-placeholder { background-size: cover; background-position: center; }
.has-poster .phone-placeholder { background-color: #17252b; background-size: contain; background-repeat: no-repeat; }
.has-poster .phone-placeholder > *, .has-poster .phone-placeholder::before { visibility: hidden; }
html:not(.js) .slide-dots, html:not(.js) #pause { display: none; }
