:root {
  --ink: #20151e;
  --paper: #fff;
  --accent: #ec2435;
  --plum: #26031f;
  --blush: #e7c4ce;
  --soft-line: #eee4e7;
  --menu-font-size: 10px;
  --body-copy-size: 14px;
}

/* Keep the shared header and menu available as the page scrolls. */
.top {
  position: sticky;
  top: 0;
  z-index: 110;
  background: var(--paper, #fff);
}

.menu-open .top {
  pointer-events: none;
  background: transparent;
  border-bottom-color: transparent;
}

.menu-open .top .brand { visibility: hidden; }
.menu-open .top .site-menu-toggle { pointer-events: auto; }

/* Standardise page copy while preserving each page's heading hierarchy. */
.intro > p,
.intro-copy,
.solutions-hero .intro-copy,
.devices-hero .intro-copy,
.tab-content p,
.copy-block p,
.benefit-list li,
.copy-description {
  font-size: var(--body-copy-size);
}

.site-menu-toggle {
  position: relative;
  z-index: 130;
  width: 42px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.site-menu-toggle::after {
  content: "Menu";
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--plum);
  font: 600 9px/1 Inter, Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .58;
  transition: opacity .25s ease;
}

.site-menu-toggle:hover::after,
.site-menu-toggle:focus-visible::after { opacity: 1; }
.site-menu-toggle:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 8px; box-shadow: none; }
.site-menu-toggle svg { width: 30px; height: 48px; overflow: visible; transition: transform .3s ease; }
.site-menu-toggle:hover svg { transform: translateY(2px) rotate(-2deg); }
.phone-shell,
.phone-speaker,
.phone-menu-line { fill: none; stroke: currentColor; stroke-linecap: round; transition: transform .35s ease, opacity .25s ease, stroke .25s ease; }
.phone-shell { stroke-width: 1.6; transform-origin: center; }
.phone-speaker,
.phone-menu-line { stroke-width: 1.4; }
.phone-menu-line { transform-origin: center; }
.menu-open .site-menu-toggle { position: fixed; top: 18px; right: max(5vw, 25px); color: var(--accent); }
.menu-open .site-menu-toggle::after { content: "Close"; right: 43px; }
.menu-open .site-menu-toggle:hover svg { transform: none; }
.menu-open .phone-shell { opacity: 0; }
.menu-open .phone-speaker { opacity: 0; }
.menu-open .phone-menu-line:nth-child(3) { transform: translateY(6px) rotate(45deg); }
.menu-open .phone-menu-line:nth-child(4) { opacity: 0; }
.menu-open .phone-menu-line:nth-child(5) { transform: translateY(-6px) rotate(-45deg); }

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.site-menu-shade {
  position: absolute;
  inset: 0;
  background: rgba(38, 3, 31, .16);
  opacity: 0;
  transition: opacity .7s ease;
}

.site-menu-phone {
  position: absolute;
  top: 12px;
  right: max(5vw, 25px);
  width: min(310px, calc(100vw - 24px));
  aspect-ratio: 9 / 18.5;
  max-height: calc(100vh - 24px);
  display: flex;
  flex-direction: column;
  padding: 17px 13px 15px;
  background: #fbfafb;
  border: 1.6px solid var(--ink);
  border-radius: 38px;
  box-shadow: 0 28px 75px rgba(38, 3, 31, .22);
  transform: scale(.12) translate(0, 0);
  transform-origin: top right;
  opacity: 0;
  overflow: hidden;
  transition: transform .7s cubic-bezier(.18, .86, .2, 1), opacity .16s ease, box-shadow .7s ease;
}

.site-menu-phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 52px;
  height: 4px;
  border-radius: 3px;
  background: var(--ink);
  transform: translateX(-50%);
  opacity: .8;
}

.phone-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 10px;
  padding: 42px 18px 24px;
  overflow-y: auto;
  background: linear-gradient(155deg, #fff 0%, #fff 62%, #fbf5f7 100%);
  border: 1px solid var(--soft-line);
  border-radius: 27px;
  opacity: 0;
  transition: opacity .25s ease .34s;
}

.phone-status {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #80757b;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.phone-status-mark { width: 7px; height: 7px; border: 1px solid var(--accent); border-radius: 50%; }
.phone-title { margin: 13px 0 28px; color: var(--plum); font-size: 23px; font-weight: 400; letter-spacing: -.04em; }
.phone-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px 12px; }
.phone-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--plum);
  font: 500 var(--menu-font-size)/1.2 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.phone-app-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--blush);
  border-radius: 16px;
  box-shadow: 0 5px 13px rgba(38, 3, 31, .045);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.phone-app svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.phone-app:hover .phone-app-icon,
.phone-app:focus-visible .phone-app-icon { transform: translateY(-3px); border-color: var(--accent); background: #fffafb; }
.phone-app:focus-visible { outline: none; }
.phone-app[aria-current="page"] .phone-app-icon { border-color: var(--accent); }
.phone-app[aria-current="page"] { color: var(--accent); }
.phone-app.is-pending { color: #8c8187; }
.phone-app.is-pending .phone-app-icon { background: #faf8f9; border-color: var(--soft-line); }
.phone-app small { min-height: 9px; color: var(--accent); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.phone-home-indicator { width: 86px; height: 3px; margin: 11px auto 0; border-radius: 4px; background: var(--ink); opacity: .72; }
.phone-coming-message { margin: 30px 0 0; min-height: 18px; color: var(--accent); font-size: 9px; letter-spacing: .11em; text-align: center; text-transform: uppercase; opacity: 0; transition: opacity .2s ease; }
.phone-coming-message.is-visible { opacity: 1; }
.phone-menu-view,
.phone-contact-view { animation: phone-view-in .38s ease both; }
.phone-contact-view { display: none; min-height: 100%; }
.phone-screen.is-contact { padding: 38px 13px 17px; }
.phone-screen.is-contact .phone-menu-view { display: none; }
.phone-screen.is-contact .phone-contact-view { display: block; }
.phone-view-back {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin: 0 0 11px;
  padding: 0;
  border: 1px solid var(--soft-line);
  border-radius: 50%;
  background: #fff;
  color: var(--plum);
  cursor: pointer;
}
.phone-view-back svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.phone-view-back:hover,
.phone-view-back:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; }
.phone-view-kicker { margin: 0 0 5px; color: var(--accent); font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.contact-form-screen h2,
.contact-confirmation h2 { margin: 0 0 17px; color: var(--plum); font-size: 24px; font-weight: 400; letter-spacing: -.045em; }
.phone-contact-form { display: grid; gap: 10px; }
.phone-field { display: grid; gap: 4px; }
.phone-field label { color: var(--plum); font-size: 9px; font-weight: 600; letter-spacing: .045em; }
.phone-field label > span { color: var(--accent); }
.phone-field label small { float: right; color: #9b9095; font-size: 7px; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.phone-field input,
.phone-field select,
.phone-field textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 9px;
  border: 1px solid #d9cfd3;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 400 11px/1.35 Inter, Arial, sans-serif;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.phone-field textarea { min-height: 76px; resize: vertical; }
.phone-field input:focus,
.phone-field select:focus,
.phone-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(236,36,53,.08); }
.phone-field [aria-invalid="true"] { border-color: var(--accent); }
.phone-field-error { min-height: 10px; color: var(--accent); font-size: 7.5px; line-height: 1.2; }
.phone-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.phone-form-status { min-height: 0; margin: 0; color: var(--accent); font-size: 8px; line-height: 1.4; }
.phone-form-status:not(:empty) { min-height: 22px; padding: 6px 7px; border-left: 2px solid var(--accent); background: #fff8f9; }
.phone-submit,
.phone-menu-return {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: 600 10px/1 Inter, Arial, sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.phone-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.phone-submit:disabled { cursor: wait; opacity: .58; transform: none; }
.phone-submit:hover,
.phone-submit:focus-visible,
.phone-menu-return:hover,
.phone-menu-return:focus-visible { background: #d91d2e; transform: translateY(-1px); outline: none; }
.contact-form-screen { transition: opacity .25s ease, transform .25s ease; }
.contact-form-screen.is-hidden { display: none; }
.contact-flight-screen,
.contact-confirmation { display: none; position: relative; min-height: 365px; }
.contact-flight-screen.is-active { display: block; overflow: hidden; }
.flight-trail { position: absolute; inset: 20px 0 auto; width: 100%; height: 250px; fill: none; stroke: rgba(236,36,53,.35); stroke-width: 1.2; stroke-dasharray: 310; stroke-dashoffset: 310; animation: flight-trail-draw 1.25s ease forwards; }
.flight-plane { position: absolute; left: 8px; top: 245px; width: 43px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: plane-flight 1.35s cubic-bezier(.35,.03,.25,1) forwards; }
.contact-confirmation.is-active { min-height: 365px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; animation: phone-view-in .4s ease both; }
.contact-confirmation > svg { width: 52px; margin-bottom: 22px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-confirmation h2 { margin-bottom: 10px; }
.contact-confirmation p { max-width: 205px; margin: 0 0 25px; color: #73696e; font-size: 11px; line-height: 1.55; }
.phone-menu-return { width: 100%; }
@keyframes phone-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes flight-trail-draw { to { stroke-dashoffset: 0; } }
@keyframes plane-flight { 0% { transform: translate(0,0) rotate(-13deg); opacity: 0; } 12% { opacity: 1; } 55% { transform: translate(94px,-82px) rotate(-5deg); } 100% { transform: translate(205px,-190px) rotate(-20deg); opacity: 0; } }
.site-menu.is-leaving .phone-screen { opacity: 0; transition-delay: 0s; }
.menu-open .site-menu { visibility: visible; pointer-events: auto; }
.menu-open .site-menu-shade { opacity: 1; }
.menu-open .site-menu-phone { transform: scale(1) translate(0, 0); opacity: 1; }
.menu-open .phone-screen { opacity: 1; }
.menu-open { overflow: hidden; }

.corporate-footer {
  position: relative;
  width: 100%;
  padding: 28px max(5vw, 25px) 0;
  background: var(--paper, #fff);
  border-top: 1px solid var(--soft-line, #eee4e7);
  color: var(--ink, #20151e);
}

.corporate-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: max(5vw, 25px);
  width: 68px;
  height: 2px;
  background: var(--accent, #ec2435);
}

.corporate-footer__main {
  min-height: 148px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(45px, 8vw, 120px);
  padding-bottom: 24px;
}

.corporate-footer__contact {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
}

.corporate-footer__pin {
  width: 17px;
  height: 21px;
  margin-top: 2px;
  fill: none;
  stroke: var(--accent, #ec2435);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.corporate-footer__heading {
  margin: 0 0 10px;
  color: var(--plum, #26031f);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.corporate-footer address {
  margin: 0;
  color: var(--ink, #20151e);
  font-size: 12px;
  font-style: normal;
  line-height: 1.52;
}

.corporate-footer__links {
  margin: 10px 0 0;
}

.corporate-footer__links a {
  display: block;
  width: fit-content;
  color: var(--plum, #26031f);
  text-decoration: none;
  transition: color .2s ease;
}

.corporate-footer__links a:hover,
.corporate-footer__links a:focus-visible {
  color: var(--accent, #ec2435);
  outline: none;
}

.corporate-footer__logo {
  align-self: center;
  display: block;
  width: auto;
  height: 138px;
  max-width: min(45vw, 100%);
  object-fit: contain;
}

.corporate-footer__bottom {
  padding: 14px 0 16px;
  border-top: 1px solid var(--soft-line, #eee4e7);
  color: var(--ink, #20151e);
  font-size: 9px;
  letter-spacing: .1em;
}

@media (max-width: 700px) {
  .site-menu-toggle::after { display: none; }
  .menu-open .site-menu-toggle { top: 10px; right: 12px; }
  .site-menu-phone { top: 8px; right: 8px; width: min(300px, calc(100vw - 16px)); max-height: calc(100dvh - 16px); border-radius: 34px; }
  .phone-screen { padding: 39px 14px 20px; }
  .phone-title { margin-bottom: 24px; }
  .phone-app-grid { gap: 22px 8px; }
  .phone-app-icon { width: 51px; height: 51px; }
  .corporate-footer { padding: 25px 22px 0; }
  .corporate-footer::before { left: 22px; width: 54px; }
  .corporate-footer__main { min-height: 0; flex-direction: column; gap: 25px; padding-bottom: 25px; }
  .corporate-footer__logo { align-self: flex-start; width: auto; height: 104px; max-width: calc(100vw - 76px); margin-left: 32px; }
}

@media (max-height: 590px) {
  .site-menu-phone { width: min(260px, calc(100vw - 24px)); }
  .phone-screen { padding-top: 32px; }
  .phone-title { margin: 8px 0 16px; font-size: 19px; }
  .phone-app-grid { gap: 13px 8px; }
  .phone-app-icon { width: 43px; height: 43px; border-radius: 13px; }
  .phone-app svg { width: 22px; height: 22px; }
  .phone-coming-message { margin-top: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu *, .site-menu-toggle *, .site-menu-toggle::after { transition: none !important; }
  .phone-menu-view, .phone-contact-view, .flight-trail, .flight-plane, .contact-confirmation { animation: none !important; }
}
