/* PonaPath website. Colours follow the PonaPath Solutions logo (navy and teal). */
:root {
  --navy: #0e2a47;
  --navy-deep: #091d33;
  --navy-soft: #16385c;
  --teal: #0f8b8d;
  --teal-dark: #0b6f71;
  --teal-light: #e7f4f3;
  --teal-glow: rgba(15, 139, 141, 0.14);
  --text: #13233a;
  --text-muted: #4a5b70;
  --text-faint: #6b7a8c;
  --border: #dfe6ee;
  --surface: #ffffff;
  --surface-alt: #f5f8fb;
  --success: #12805c;
  --success-soft: #e3f4ec;
  --amber: #9a6100;
  --amber-soft: #fdf1dc;
  --grey-soft: #eef1f5;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, 0.06), 0 2px 8px rgba(14, 42, 71, 0.05);
  --shadow-lg: 0 24px 60px rgba(14, 42, 71, 0.16), 0 6px 18px rgba(14, 42, 71, 0.08);
  --content-width: 1160px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow-light {
  color: #6fd3cf;
}

/* Buttons */
.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.button {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px var(--teal-glow);
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button-outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--border);
}

.button-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.button-light {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}

.button-light:hover {
  background: var(--teal-light);
  color: var(--navy);
}

.button-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand-logo {
  width: auto;
  height: 46px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--surface-alt);
}

.nav-links .nav-signin {
  margin-left: 8px;
  color: var(--navy);
  font-weight: 600;
  border: 1.5px solid var(--border);
}

.nav-links .nav-signin:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--surface);
}

.nav-links .button {
  padding: 9px 18px;
  color: #fff;
  box-shadow: none;
}

.nav-links .button:hover {
  color: #fff;
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(15, 139, 141, 0.13), transparent 70%),
    radial-gradient(700px 420px at 0% 100%, rgba(14, 42, 71, 0.06), transparent 70%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 64px;
}

.hero h1 .accent {
  color: var(--teal);
}

.lead {
  margin-top: 22px;
  max-width: 560px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--navy-soft);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8b8d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.note {
  margin-top: 22px;
  font-size: 0.88rem;
  color: var(--text-faint);
}

/* Phone illustration */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone {
  width: 100%;
  max-width: 360px;
  padding: 12px;
  border-radius: 36px;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 26px 26px 0 0;
  background: #f2f5f8;
  border-bottom: 1px solid var(--border);
}

.phone-top strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.2;
}

.phone-top span:not(.phone-avatar) {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.phone-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.phone-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
  padding: 20px 16px 22px;
  border-radius: 0 0 26px 26px;
  background: #ffffff;
}

.sms {
  max-width: 84%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.sms-in {
  align-self: flex-start;
  background: #eef2f6;
  color: var(--text);
  border-bottom-left-radius: 6px;
}

.sms-out {
  align-self: flex-end;
  min-width: 46px;
  text-align: center;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  border-bottom-right-radius: 6px;
}

.phone-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
}

.phone-alert .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d98a00;
  box-shadow: 0 0 0 4px rgba(217, 138, 0, 0.18);
}

.visual-caption {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* Highlights strip */
.highlights {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
}

.highlight + .highlight {
  border-left: 1px solid var(--border);
}

.highlight svg {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: var(--teal-light);
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
}

.highlight span {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Sections */
.section,
.page-section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 139, 141, 0.35);
  box-shadow: 0 14px 34px rgba(14, 42, 71, 0.1);
}

.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.step p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Safety (dark) */
.section-dark {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(15, 139, 141, 0.22), transparent 70%),
    var(--navy);
  color: #d6e1ec;
}

.section-dark h2 {
  color: #fff;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: 64px;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: 1rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(111, 211, 207, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fd3cf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.status-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.status-list {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.status-list li + li {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.status-list p {
  margin-top: 8px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.status.done {
  background: var(--success-soft);
  color: var(--success);
}

.status.next {
  background: var(--amber-soft);
  color: var(--amber);
}

.status.later {
  background: var(--grey-soft);
  color: var(--text-muted);
}

/* Call to action */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  border-radius: 20px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, 0.14), transparent 70%),
    linear-gradient(120deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #e6f6f5;
}

.cta-panel h2 {
  color: #fff;
}

.cta-panel p {
  margin-top: 10px;
  max-width: 560px;
}

/* Privacy and other text pages */
.content-wrap {
  max-width: 760px;
}

.prose h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 20px;
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
}

.prose p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 64px 0 28px;
  background: var(--navy-deep);
  color: #a9b8c8;
  font-size: 0.93rem;
}

.footer a {
  color: #d6e1ec;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 40px;
}

.brand-logo--footer {
  width: 190px;
  height: auto;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
}

.footer-copy {
  margin-top: 18px;
  max-width: 320px;
}

.footer h3 {
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* Tablet */
@media (max-width: 1020px) {
  .hero-grid,
  .two-column {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .highlight:nth-child(3) {
    border-left: 0;
  }

  .highlight:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}

/* Phone */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 18px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(14, 42, 71, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links .nav-signin {
    margin: 6px 0 0;
    text-align: center;
  }

  .nav-links .button {
    padding: 12px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .brand-logo {
    height: 38px;
  }

  .topbar-inner {
    min-height: 64px;
  }

  .section,
  .page-section {
    padding: 64px 0;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .hero-actions .button,
  .hero-actions .button-outline {
    flex: 1 1 100%;
  }

  .steps,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .highlight + .highlight {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .highlight {
    padding: 18px 4px;
  }

  .status-card {
    padding: 24px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 24px;
  }

  .cta-panel .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
