/* Arthly marketing site — shared styles */
:root {
  --teal: #2AADAD;
  --teal-d: #1D8A8A;
  --teal-dd: #134E4A;
  --teal-l: #3DC4C4;
  --emerald: #10B981;
  --gold: #F59E0B;
  --ink: #0F172A;
  --slate: #475569;
  --muted: #64748B;
  --hint: #94A3B8;
  --line: #E6EDF0;
  --bg: #FFFFFF;
  --soft: #F5FAFA;
  --soft2: #F0FDFA;
  --radius: 16px;
  --maxw: 1160px;
  --shadow: 0 20px 45px -24px rgba(15, 23, 42, .35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-d);
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -.5px;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
  color: var(--slate);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* Text wordmark in the hero. Deliberately real text, not the SVG lockup:
   the OAuth consent-screen name check reads page text, not image alt. */
.h1-brand {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--soft2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .18s;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-d);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -.5px;
}

/* Height lives on .brand-logo only. A `height` here would out-specify it
   (0,1,1 vs 0,1,0) and blow the logo up past the 70px header. */
.brand img {
  width: auto;
  border-radius: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  max-width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--slate);
  font-weight: 500;
  font-size: .97rem;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu-toggle {
  display: none;
}

.mobile-only-cta {
  display: none;
}

/* Hero */
/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero {
  background: linear-gradient(160deg, #0F3A3A 0%, #1D8A8A 55%, #2AADAD 100%);
  background-size: 200% 200%;
  animation: gradientMove 15s ease infinite;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 62%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 80px;
}

.hero h1 {
  color: #fff;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero p.lead {
  color: #dff3f3;
  font-size: 1.15rem;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, .16);
  color: #eafafa;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.trust {
  margin-top: 22px;
  color: #cfeeee;
  font-size: .9rem;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero .badges {
  flex-wrap: wrap;
}

.store-badge-img {
  display: inline-block;
  transition: .18s;
  line-height: 0;
}

.store-badge-img:hover {
  transform: translateY(-2px);
}

.store-badge-img img {
  height: clamp(38px, 4.5vw, 48px);
  width: auto;
  display: block;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0F172A;
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  min-width: 170px;
  transition: .18s;
}

.store-badge:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.store-badge .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1rem;
}

.store-badge .ic svg {
  display: block;
}

.store-badge small {
  display: block;
  font-size: .68rem;
  color: #cbd5e1;
  font-weight: 400;
}

.store-badge b {
  font-size: 1rem;
  font-weight: 600;
}

.store-badge.web {
  background: #fff;
  color: var(--teal-dd);
}

.store-badge.web small {
  color: var(--muted);
}

.trust {
  margin-top: 22px;
  color: #cfeeee;
  font-size: .9rem;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.phone {
  width: 100%;
  max-width: 290px;
  background: #0a1428;
  border: 9px solid #12233a;
  border-radius: 38px;
  padding: 0;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}

.phone .notch {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone .notch:before {
  content: "";
  width: 80px;
  height: 6px;
  border-radius: 6px;
  background: #243453;
}

.phone .screen {
  background: #F5FAFA;
  border-radius: 0 0 30px 30px;
  padding: 16px 14px 22px;
  min-height: 540px;
}

.pm-top {
  background: linear-gradient(135deg, #1D8A8A, #2AADAD);
  border-radius: 16px;
  padding: 16px;
  color: #fff;
  margin-bottom: 14px;
}

.pm-top .lbl {
  font-size: .72rem;
  opacity: .85;
}

.pm-top .amt {
  font-size: 1.7rem;
  font-weight: 800;
  margin-top: 2px;
}

.pm-top .sub {
  font-size: .72rem;
  opacity: .85;
  margin-top: 4px;
}

.pm-card {
  background: #fff;
  border: 1px solid #eaf0f0;
  border-radius: 13px;
  padding: 12px;
  margin-bottom: 10px;
}

.pm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f5;
}

.pm-row:last-child {
  border-bottom: 0;
}

.pm-ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #F0FDFA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.pm-nm {
  flex: 1;
  font-size: .82rem;
  font-weight: 600;
  color: #1e293b;
}

.pm-am {
  font-size: .82rem;
  font-weight: 700;
}

.red {
  color: #dc2626;
}

.green {
  color: #059669;
}

.tealc {
  color: var(--teal);
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature:hover {
  border-color: var(--teal-l);
  box-shadow: 0 22px 40px -15px rgba(42, 173, 173, 0.15);
  transform: translateY(-6px);
}

.feature .fic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--soft2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.feature:hover .fic {
  transform: scale(1.1) rotate(-5deg);
  background: #E0F7F7;
}

.feature h3 {
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  font-size: .95rem;
}

.alt {
  background: var(--soft);
}

/* Highlight / split band */
.band {
  background: linear-gradient(135deg, #134E4A, #1D8A8A);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.band h2 {
  color: #fff;
}

.band p {
  color: #d7f0f0;
}

.band ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.band li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: #eafafa;
}

.band li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.1);
  border-color: var(--teal-l);
}

.step .n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.step:hover .n {
  transform: scale(1.1);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -1px;
}

.stat .lab {
  color: var(--muted);
  font-size: .9rem;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: "+";
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 400;
  margin-left: 12px;
  flex-shrink: 0;
}

.faq details[open] summary:after {
  content: "–";
}

.faq p {
  padding: 0 0 16px;
  margin: 0;
}

/* CTA */
.cta {
  background: linear-gradient(160deg, #1D8A8A, #2AADAD, #134E4A);
  background-size: 200% 200%;
  animation: gradientMove 12s ease infinite;
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(29, 138, 138, 0.4);
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: #dff3f3;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* Footer */
.site-footer {
  background: #0B2222;
  color: #c9dede;
  padding: 56px 0 28px;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  border-radius: 0;
}

.site-footer h4 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: #a9c7c7;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #84a3a3;
}

/* Content pages (about/contact/terms/privacy) */
.page-hero {
  background: linear-gradient(160deg, #0F3A3A, #1D8A8A);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
}

.page-hero p {
  color: #dff3f3;
  max-width: 640px;
  margin: 0 auto;
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 22px;
}

.prose h2 {
  margin-top: 36px;
}

.prose h3 {
  margin-top: 26px;
  color: var(--teal-d);
}

.prose ul {
  color: var(--slate);
}

.prose li {
  margin-bottom: 8px;
}

.prose .updated {
  color: var(--hint);
  font-size: .9rem;
  margin-bottom: 24px;
}

.card-soft {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 18px 0;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 22px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 173, 173, .15);
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.contact-method .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--soft2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: none;
}

/* Responsive */
@media(max-width:900px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .phone-wrap {
    order: -1;
    margin-bottom: 8px;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .band {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 100;
  }

  .menu-toggle .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .menu-toggle.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active .line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 24px 22px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    z-index: 49;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-only-cta {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .mobile-only-cta .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

/* Button Shine Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* FAQ Smooth Animation Helper */
.faq p {
  padding: 0 0 16px;
  margin: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}

/* Parallax Shapes */
.parallax-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,173,173,0.1), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: 15%;
  left: -150px;
}

.shape-2 {
  width: 600px;
  height: 600px;
  top: 45%;
  right: -250px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: 10%;
}

/* Ensure sections are relative for absolute parallax shapes and clip overflow */
section,
.page-hero {
  position: relative;
  overflow: hidden;
}

@media(max-width:560px) {
  .hero .badges {
    flex-wrap: wrap;
  }

  .steps,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 52px 0;
  }

  .cta,
  .band {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .prose {
    padding: 32px 16px;
  }

  .contact-grid {
    padding: 32px 16px;
    gap: 24px;
  }
}

@media(max-width:480px) {
  .container {
    padding: 0 16px;
  }

  /* Keep the header on one line at phone widths: shorter bar, smaller
     wordmark, and a CTA that never wraps into the hamburger. */
  .nav {
    height: 60px;
    gap: 12px;
  }

  .brand-logo {
    height: 28px;
  }

  .nav .btn {
    white-space: nowrap;
    padding: 9px 14px;
    font-size: .9rem;
  }
}
/* ==========================================================================
   Responsive hardening
   Fills the gaps in the existing 900/560/480 ladder. Appended last so it
   wins on source order where specificity ties.
   ========================================================================== */

/* html/body already set overflow-x:hidden and img/svg already cap at 100%
   further up. Only the gaps are added here: intrinsic ratio on media, and
   video, which the earlier rule doesn't cover. */
img,
svg,
video {
  height: auto;
}

video {
  max-width: 100%;
}

/* Emails, URLs and long tokens break instead of widening their container. */
p,
li,
h1, h2, h3, h4,
.prose,
.faq {
  overflow-wrap: anywhere;
}

/* Tablet: 900px drops most grids straight to one column, which wastes a lot
   of width between 560-900. Give three-ups and the footer a two-up tier. */
@media(min-width:561px) and (max-width:900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .container {
    padding: 0 24px;
  }
}

/* Comfortable tap targets on touch devices (WCAG 2.5.8 -> 24px min, 44 is
   the practical target). Applies only where a coarse pointer is present so
   desktop density is untouched. */
@media(pointer:coarse) {
  .nav-links a,
  .footer-links a,
  .btn,
  .menu-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .btn {
    justify-content: center;
  }
}

/* Small phones (iPhone SE / 360px Android). */
@media(max-width:380px) {
  .container {
    padding: 0 14px;
  }

  .hero .container {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .brand-logo {
    height: 26px;
  }

  .nav .btn {
    padding: 8px 12px;
    font-size: .85rem;
  }

  .trust {
    flex-direction: column;
    gap: 8px;
  }

  .badges {
    width: 100%;
  }

  .badges a,
  .badges img {
    width: 100%;
  }
}

/* Landscape phones: the hero's vertical padding wastes most of a short
   viewport, so tighten it and let the mockup shrink. */
@media(max-height:520px) and (orientation:landscape) {
  .hero .container {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .site-header {
    position: static;
  }
}

/* Respect the OS reduced-motion setting: the hero copy animates in from
   opacity:0, so motion must be disabled by neutralising it, never by
   removing the animation (that would leave the text invisible). */
@media(prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .hero h1,
  .hero p.lead,
  .hero .eyebrow,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---- Analytics consent banner (injected by partials.js) ---- */
.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(720px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #dde6e3;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .14);
}
.consent-text {
  flex: 1 1 300px;
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  color: #4a5b56;
}
.consent-text a { color: #2AADAD; }
.consent-actions { display: flex; gap: 10px; margin-left: auto; }
.consent-btn {
  padding: 9px 18px;
  border-radius: 9px;
  border: 1px solid #cfdad6;
  background: #fff;
  color: #2b3b36;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.consent-btn:hover { background: #f4f8f7; }
.consent-accept { background: #2AADAD; border-color: #2AADAD; color: #fff; }
.consent-accept:hover { background: #229a9a; }
@media (max-width: 520px) {
  .consent-actions { width: 100%; margin-left: 0; }
  .consent-btn { flex: 1; }
}
