@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap');

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

:root {
  --o: #F47C20;
  --od: #C05E0D;
  --ol: #FEF0E3;
  --om: #F9A05A;
  --black: #181818;
  --white: #ffffff;
  --gray: #f5f4f2;
  --gray2: #e8e6e1;
  --muted: #6b6b6b;
  --border: #e2e0db;
  --radius: 14px;
  --radius-lg: 20px;
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent long words / URLs from blowing out layouts on phones */
p, h1, h2, h3, h4, h5, li, a, blockquote { overflow-wrap: break-word; }

/* Inputs shouldn't zoom iOS on focus (requires 16px font) but we keep 14px for style — add -webkit appearance reset for consistent cross-device look */
input, select, textarea, button { font-family: inherit; }
input, select, textarea { max-width: 100%; }

a { text-decoration: none; color: inherit; }

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

/* ── LAYOUT ── */
.container { max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}
.nav-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-links {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.nav-links a {
  font-size: 13px; color: var(--muted);
  transition: color .15s; white-space: nowrap; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--o); font-weight: 500; }
.nav-links a.hot { color: var(--o); font-weight: 600; }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .4rem 0; min-width: 190px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 200;
}
.nav-links .dropdown-menu::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu { display: block; }
.nav-links .dropdown-toggle { cursor: pointer; }
.nav-links .dropdown-menu a {
  display: block; padding: .6rem 1rem; font-size: 13px;
  color: var(--muted) !important; transition: background .1s; font-weight: 400 !important;
}
.nav-links .dropdown-menu a:hover { background: var(--gray); color: var(--o) !important; }
.nav-btn {
  background: var(--o); color: var(--white);
  padding: 8px 18px; border-radius: 22px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: background .15s; cursor: pointer; border: none;
  font-family: 'DM Sans', sans-serif; text-decoration: none;
}
.nav-btn:hover { background: var(--od); color: var(--white) !important; }

/* ── FOOTER ── */
.footer {
  background: #181818; color: rgba(255,255,255,.7);
  padding: 3rem 0 0;
}
.footer-grid {
  max-width: 1000px; margin: 0 auto; padding: 0 1.5rem 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
}
.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 20px; font-weight: 900; color: var(--white);
  margin-bottom: .75rem; letter-spacing: -1px;
}
.footer-logo span { color: var(--o); }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 1rem; }
.footer-contact { font-size: 13px; line-height: 2; }
.footer-contact a { color: var(--o); }
.footer-social { display: flex; gap: 10px; margin-top: .75rem; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.6);
  transition: border-color .15s, color .15s;
}
.footer-social a:hover { border-color: var(--o); color: var(--o); }
.footer-col h5 {
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800;
  color: var(--white); margin-bottom: .75rem; letter-spacing: .3px;
}
.footer-col a {
  display: block; font-size: 12px; color: rgba(255,255,255,.5);
  margin-bottom: .4rem; transition: color .15s;
}
.footer-col a:hover { color: var(--o); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1000px; margin: 0 auto; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,.3); }
.footer-bottom-links a:hover { color: var(--o); }
.footer-wrap { background: #181818; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 11px 24px; border-radius: 24px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; font-family: 'DM Sans', sans-serif; transition: all .15s; }
.btn-primary { background: var(--o); color: var(--white); }
.btn-primary:hover { background: var(--od); }
.btn-outline { background: transparent; color: var(--o); border: 1.5px solid var(--o); }
.btn-outline:hover { background: var(--ol); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gray); }
.btn-dark { background: var(--black); color: var(--white); }

/* ── TAGS ── */
.tag { display: inline-block; background: var(--ol); color: var(--od); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: .5px; text-transform: uppercase; font-family: 'Nunito', sans-serif; }

/* ── SECTION HEADERS ── */
.sh { margin-bottom: 2.5rem; }
.sh .tag { margin-bottom: .6rem; }
.sh h2 { font-family: 'Nunito', sans-serif; font-size: 30px; font-weight: 900; letter-spacing: -.5px; margin-bottom: .5rem; }
.sh p { font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.7; }

/* ── CARDS ── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.card:hover { border-color: var(--om); }

/* ── PLAN CARDS ── */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; position: relative; transition: box-shadow .2s; }
.plan-card:hover { box-shadow: 0 4px 20px rgba(244,124,32,.15); }
.plan-card.featured { border: 2px solid var(--o); }
.plan-badge { background: var(--o); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: 'Nunito', sans-serif; }
.plan-name { font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.plan-speed { font-family: 'Nunito', sans-serif; font-size: 42px; font-weight: 900; color: var(--o); line-height: 1; }
.plan-unit { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.plan-upload { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 12px 0; }
.price-box { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 10px; margin-bottom: 6px; background: var(--gray); }
.price-box.contract { background: var(--ol); }
.price-label { font-size: 11px; color: var(--muted); }
.price-label.contract { color: var(--od); font-weight: 600; }
.price-val { font-family: 'Nunito', sans-serif; font-size: 17px; font-weight: 900; color: var(--black); }
.price-val.contract { color: var(--od); }
.price-sub { font-size: 10px; font-weight: 400; color: var(--muted); }
.plan-btn { width: 100%; margin-top: 14px; padding: 10px; border-radius: 22px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--o); color: var(--o); background: transparent; font-family: 'DM Sans', sans-serif; transition: all .15s; }
.plan-btn:hover, .plan-card.featured .plan-btn { background: var(--o); color: var(--white); border-color: var(--o); }
.plan-features { list-style: none; text-align: left; margin: 12px 0; }
.plan-features li { font-size: 12px; color: var(--muted); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.plan-features .ck { color: var(--o); font-weight: 800; font-size: 13px; }

/* ── FORMS ── */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: .4rem; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: 'DM Sans', sans-serif;
  color: var(--black); background: var(--white);
  outline: none; transition: border-color .15s;
  min-height: 44px;
  -webkit-appearance: none; appearance: none;
}
.form-group select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6b6b' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
/* iOS-zoom prevention: inputs need 16px font-size on phones */
@media (max-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--o); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── HERO ── */
.hero { padding: 5rem 0 3.5rem; text-align: center; }
.hero-badge { margin-bottom: 1.25rem; }
.hero h1 { font-family: 'Nunito', sans-serif; font-size: 48px; font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; max-width: 640px; margin: 0 auto .9rem; }
.hero h1 em { font-style: normal; color: var(--o); }
.hero p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── STATS STRIP ── */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin: 2.5rem 0; }
.stats-strip .sc { background: var(--gray); padding: 1.2rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stats-strip .sc:last-child { border-right: none; }
.stats-strip .sn { font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 900; color: var(--o); }
.stats-strip .sl { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── DARK BAND ── */
.dark-band { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.dark-band h2 { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900; color: var(--o); margin-bottom: .4rem; }
.dark-band p { font-size: 13px; color: rgba(255,255,255,.65); max-width: 400px; line-height: 1.6; }

/* ── COVERAGE GRID ── */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 1rem; }
.city-pill { background: var(--gray); border: 1px solid var(--border); border-radius: 10px; padding: .55rem .9rem; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.city-pill span { color: var(--o); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-q { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: .6rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { font-size: 12px; transition: transform .2s; color: var(--o); }

/* ── NAV RIGHT ── */
.nav-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
/* Hide mobile-only signup on desktop */
.nav-signup-mobile { display: none; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 40px; height: 40px;
  background: none; border: 1.5px solid var(--border);
  border-radius: 8px; cursor: pointer; padding: 6px; gap: 5px;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.hamburger:hover { background: var(--gray); border-color: var(--o); }
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE ── */
@media (max-width: 768px) {

  /* Show hamburger, hide desktop sign up */
  .hamburger { display: flex; }
  .nav-signup-desktop { display: none !important; }

  /* Fullscreen slide-down menu */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 98;
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .nav-links.mobile-open { display: flex; }

  /* Links */
  .nav-links a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray2);
    font-size: 16px; font-weight: 500;
    color: var(--black); width: 100%;
    transition: background .1s;
  }
  .nav-links a:hover { background: var(--gray); color: var(--o); }
  .nav-links a.hot { color: var(--o); }
  .nav-links a.active { color: var(--o); font-weight: 700; }

  /* Mobile Sign Up button at bottom of menu */
  .nav-signup-mobile {
    display: block !important;
    margin: 1.5rem !important;
    width: calc(100% - 3rem) !important;
    text-align: center !important;
    background: var(--o) !important;
    color: var(--white) !important;
    border-radius: 28px !important;
    padding: 14px 1rem !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-bottom: none !important;
  }
  .nav-signup-mobile:hover { background: var(--od) !important; }

  /* Business dropdown on mobile */
  .nav-links .dropdown { width: 100%; }
  .nav-links .dropdown-toggle {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray2);
    font-size: 16px; font-weight: 500; color: var(--black);
    width: 100%;
  }
  .nav-links .dropdown-menu {
    display: none; position: static;
    box-shadow: none; border: none; border-radius: 0;
    background: var(--gray); margin: 0; padding: 0; width: 100%;
  }
  .nav-links .dropdown-menu.mobile-open { display: block; }
  .nav-links .dropdown-menu a {
    padding: .9rem 2.25rem !important;
    font-size: 15px !important; font-weight: 400 !important;
    color: var(--muted) !important;
    border-bottom: 1px solid var(--border);
  }
  .nav-links .dropdown-menu a:last-child { border-bottom: none; }
  .nav-links .dropdown-menu a:hover { color: var(--o) !important; background: var(--gray2) !important; }

  /* Keep nav bar on top */
  .nav { z-index: 99; }
  .nav-inner { background: var(--white); position: relative; z-index: 100; }

  /* Page layout */
  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: 28px; line-height: 1.12; letter-spacing: -.3px; max-width: 100%; }
  .hero p { font-size: 15px; max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-btns .btn { width: 100%; max-width: none; text-align: center; }
  .stats-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .sh { margin-bottom: 1.75rem; }
  .sh h2 { font-size: 22px; }
  .sh p { font-size: 14px; }
  .plan-grid { grid-template-columns: 1fr; }
  .dark-band { flex-direction: column; text-align: center; gap: 1rem; padding: 1.75rem 1.25rem; }
  .dark-band h2 { font-size: 20px; }
  .dark-band > div:last-child { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }

  /* Button sizing for touch targets (Apple/Google recommend 44px minimum) */
  .btn { padding: 12px 20px; font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .plan-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

  /* City pills for coverage */
  .city-grid { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
  .city-pill { font-size: 12px; padding: .45rem .7rem; min-height: 36px; }

  /* Footer bottom — stack and center on phone instead of space-between wrap */
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: .5rem; padding: 1rem; }
  .footer-bottom-links { justify-content: center; }
  .footer { padding-top: 2.5rem; }
}

/* ── PHONE (narrow, iPhone SE etc) ── */
@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .sh h2 { font-size: 20px; }
  .section { padding: 2rem 0; }
  .container { padding: 0 .9rem; }
}

/* ── TABLET (iPad portrait → small desktop) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 1.5rem; max-width: 100%; }
  .nav-inner { padding: 0 1.5rem; max-width: 100%; }
  .footer-grid, .footer-bottom { max-width: 100%; padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero h1 { font-size: 40px; }
  .sh h2 { font-size: 26px; }
  .plan-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .stats-strip { grid-template-columns: repeat(4, 1fr); }
  .dark-band { padding: 2rem; }
  .dark-band h2 { font-size: 20px; }
}
