/* SpeedyHandy official website — shared styles */
:root {
  --blue: #036dfe;
  --blue-dark: #0256c9;
  --navy: #020b4e;
  --bg: #f3fafe;
  --text: #333333;
  --muted: #6b71a2;
  --line: #e3eef9;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(2, 11, 78, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  line-height: 1.2;
}

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

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 250, 254, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 238, 249, 0.9);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(3, 109, 254, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  color: #3d4470;
}

.site-nav a:hover {
  color: var(--blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(3, 109, 254, 0.25);
}

.btn:hover {
  background: var(--blue-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px #dbe8f8;
}

.btn-ghost:hover {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--blue);
  color: var(--blue);
}

.btn-sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 12px;
  box-shadow: none;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 620px;
  background: radial-gradient(600px 320px at 15% 20%, rgba(3, 109, 254, 0.14), transparent 65%),
    radial-gradient(520px 300px at 85% 0%, rgba(64, 203, 115, 0.13), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #40cb73;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -1.2px;
  margin: 20px 0 18px;
}

.hero .lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: #8b93b8;
}

/* ============ Phone mockup ============ */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  height: 600px;
  background: #0b1533;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(2, 11, 78, 0.25);
  transform: rotate(-2deg);
}

.phone-screen {
  height: 100%;
  background: var(--bg);
  border-radius: 36px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.ph-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
  padding: 0 4px;
}

.ph-status-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
}

.ph-status-bars i {
  display: block;
  width: 3px;
  background: var(--navy);
  border-radius: 1px;
}

.ph-status-bars i:nth-child(1) {
  height: 4px;
}

.ph-status-bars i:nth-child(2) {
  height: 6px;
}

.ph-status-bars i:nth-child(3) {
  height: 8px;
}

.ph-status-bars i:nth-child(4) {
  height: 10px;
}

.ph-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.ph-hi {
  margin: 0;
  font-size: 10px;
  color: var(--muted);
}

.ph-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.ph-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #96c3ff, #036dfe);
}

.ph-search {
  height: 30px;
  border-radius: 10px;
  background: #fff;
  color: #a8b1cf;
  font-size: 10px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.ph-tile {
  background: #fff;
  border-radius: 12px;
  padding: 9px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 600;
  color: var(--navy);
}

.ph-tile svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.ph-card {
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 14px rgba(2, 11, 78, 0.06);
}

.ph-thumb {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(135deg, #cfe4ff, #8fbcf9);
  flex: none;
}

.ph-card-title {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--navy);
}

.ph-card-sub {
  margin: 0;
  font-size: 8px;
  color: var(--muted);
}

.ph-badge {
  margin-left: auto;
  font-size: 7px;
  font-weight: 700;
  color: #b56304;
  background: #feefc5;
  border-radius: 999px;
  padding: 3px 6px;
  white-space: nowrap;
}

.ph-btn {
  margin-top: auto;
  height: 34px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Trust bar ============ */
.trust {
  padding: 0 0 8px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: #40cb73;
  flex: none;
}

/* ============ Sections ============ */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 660px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.7px;
  margin: 10px 0 12px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(2, 11, 78, 0.05);
  border: 1px solid rgba(227, 238, 249, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(2, 11, 78, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eaf3ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 10px 26px rgba(2, 11, 78, 0.05);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(3, 109, 254, 0.3);
}

.step h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(2, 11, 78, 0.16);
}

.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.why-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.7px;
  margin: 10px 0 16px;
}

.why-copy > p {
  color: var(--muted);
  margin: 0 0 24px;
}

.checks {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #3d4470;
}

.checks svg {
  width: 22px;
  height: 22px;
  color: #40cb73;
  flex: none;
  margin-top: 2px;
}

/* Download band */
.download {
  padding: 0 0 72px;
}

.download-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 56px;
  background: linear-gradient(135deg, #020b4e 0%, #0638a8 55%, #036dfe 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.download-card::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.download-card h2 {
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}

.download-card p {
  color: #ccd9ff;
  margin: 0 0 26px;
  max-width: 460px;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0b1533;
  color: #fff;
  border-radius: 12px;
  padding: 9px 16px;
  line-height: 1.15;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.store-badge svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.store-badge small {
  display: block;
  font-size: 9px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.store-badge strong {
  font-size: 15px;
  font-weight: 600;
}

.download-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.download-visual .phone {
  width: 220px;
  height: 440px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.download-visual .phone-screen {
  padding: 12px 10px;
  gap: 7px;
}

.download-visual .ph-grid {
  gap: 5px;
}

.download-visual .ph-tile {
  padding: 7px 3px 6px;
  font-size: 6px;
  gap: 4px;
}

.download-visual .ph-tile svg {
  width: 15px;
  height: 15px;
}

.download-visual .ph-card,
.download-visual .ph-btn {
  display: none;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: #c9d2f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  color: #9aa6d4;
  font-size: 14px;
  max-width: 340px;
  margin: 14px 0 18px;
}

.footer-col h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f9bcc;
  margin: 0 0 14px;
}

.footer-col a {
  display: block;
  color: #dfe5fa;
  font-size: 14px;
  padding: 5px 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 32px;
  font-size: 13px;
  color: #8f9bcc;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ Legal / content pages ============ */
.doc {
  padding: 56px 0 88px;
}

.doc-wrap {
  max-width: 840px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.doc-wrap h1 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 10px 0 8px;
  letter-spacing: -0.7px;
}

.doc-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.doc-wrap h2 {
  font-size: 20px;
  margin: 34px 0 10px;
}

.doc-wrap h3 {
  font-size: 16px;
  margin: 22px 0 8px;
}

.doc-wrap p,
.doc-wrap li {
  color: #4a5175;
  font-size: 15px;
}

.doc-wrap ul,
.doc-wrap ol {
  padding-left: 22px;
  margin: 10px 0;
}

.doc-wrap li {
  margin: 6px 0;
}

.doc-wrap a {
  text-decoration: underline;
}

.notice {
  background: #f3fafe;
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 16px 20px;
  color: #3d4470;
  font-size: 14px;
  margin: 20px 0;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.support-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(2, 11, 78, 0.05);
  border: 1px solid rgba(227, 238, 249, 0.9);
}

.support-card h3 {
  font-size: 16px;
  margin: 14px 0 6px;
}

.support-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  word-break: break-word;
}

.support-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eaf3ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-icon svg {
  width: 22px;
  height: 22px;
}

.steps-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.steps-list li {
  position: relative;
  padding-left: 44px;
  margin: 14px 0;
  color: #4a5175;
}

.steps-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .services-grid,
  .steps,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .download-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .download-visual {
    display: none;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 14px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .site-nav a:hover {
    background: #f3fafe;
  }

  .site-nav .btn {
    margin-top: 6px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .phone {
    transform: none;
  }

  .doc-wrap {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .steps,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0 28px;
  }

  section {
    padding: 56px 0;
  }

  .download-card {
    padding: 30px;
    border-radius: 22px;
  }
}
