/* PC Autotune website. Colors and type match the app (PCAutoTune/Home/app.html). */
:root {
  --accent: #D7282F;
  --accent-dark: #B3121B;
  --accent-soft: #FDECEC;
  --ink: #1D2433;
  --ink-2: #3A4458;
  --muted: #4A5468;
  --line: #E3E7EE;
  --bg: #F4F6F9;
  --card: #FFFFFF;
  --dark: #1E2433;
  --good: #13683F;
  --good-soft: #E7F6EE;
  --blue: #2E7DD7;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 36, 51, .06), 0 8px 24px rgba(29, 36, 51, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--card);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(215, 40, 47, .28); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: 9px 18px; font-size: 15px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; }
.brand span { font-size: 22px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 20px; margin-left: auto; padding-left: 24px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--accent-dark); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.top-actions .signin { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); padding: 72px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 19px; color: var(--muted); margin: 22px 0 30px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.quick-signup { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.quick-signup a { color: var(--accent-dark); }
.nav .nav-signup { display: none; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.shot { border-radius: 14px; box-shadow: 0 2px 4px rgba(29,36,51,.06), 0 24px 60px rgba(29,36,51,.18); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.shot .bar { height: 30px; background: #EEF1F5; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DBE5; }
.hero .shot { transform: perspective(1600px) rotateY(-6deg); transform-origin: left center; }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; padding-top: 22px; padding-bottom: 22px; }
.strip div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.strip svg { color: var(--good); flex: none; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--muted); margin-top: 14px; }
.tint { background: var(--bg); }

/* What makes us different */
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.why-story h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.15; }
.why-story > p { font-size: 18px; color: var(--muted); margin-top: 16px; }
.why-stat { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 22px 26px; border-radius: var(--radius); background: var(--accent-soft); }
.why-stat + .why-stat { margin-top: 12px; }
.why-stat b { font-size: 64px; line-height: 1; font-weight: 800; color: var(--accent); }
.why-stat span { font-weight: 600; color: var(--ink-2); }
.why-points { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-point { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.why-point:last-child { grid-column: 1 / -1; }
.why-point .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.why-point h3 { font-size: 18px; margin-bottom: 6px; }
.why-point p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 620px) { .why-points { grid-template-columns: 1fr; } .why-stat b { font-size: 52px; } }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* Spotlight (text + screenshot) */
.spot { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.spot.flip { grid-template-columns: 1.2fr 1fr; }
.spot.flip .spot-text { order: 2; }
.spot-text h2 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; }
.spot-text > p { font-size: 18px; color: var(--muted); margin: 16px 0 24px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313683F' 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; }
.checks b { font-weight: 700; }

/* Business band */
.biz { background: var(--dark); color: #fff; }
.biz .section-head p, .biz .spot-text > p { color: #C9D0DB; }
.biz .checks li { color: #E4E8EF; }
.biz .tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #FF8A8F; margin-bottom: 12px; }
.biz .shot { border-color: #3A4458; }
.biz-pair { display: grid; gap: 72px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; counter-reset: step; }
.flow div { border: 1px solid #3A4458; border-radius: var(--radius); padding: 22px; position: relative; }
.flow div::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.flow h3 { font-size: 17px; margin-bottom: 6px; }
.flow p { color: #C9D0DB; font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan .who { color: var(--muted); font-size: 15px; margin-top: 4px; min-height: 46px; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-size: 46px; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--muted); font-size: 15px; }
.plan .unit { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.plan .checks { margin-bottom: 26px; font-size: 15px; }
.plan .checks li { font-size: 15px; }
.plan .btn { margin-top: auto; }
.plan .plus { font-size: 13px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 10px; }
.free-note { text-align: center; margin-top: 28px; color: var(--muted); }

/* Partners */
.partner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; background: var(--bg); border-radius: 28px; padding: 48px; }
.partner h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 800; }
.partner p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.partner ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

/* Final call */
.final { text-align: center; }
.final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.final p { color: var(--muted); font-size: 18px; margin: 14px auto 28px; max-width: 36em; }
.final .cta-row { justify-content: center; }

/* Footer */
footer { background: var(--dark); color: #C9D0DB; padding: 56px 0 32px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: #C9D0DB; text-decoration: none; }
footer a:hover { color: #fff; }
.legal { border-top: 1px solid #3A4458; margin-top: 40px; padding-top: 22px; font-size: 13px; color: #9AA3B2; display: grid; gap: 6px; }

/* Download counter pill (from /api/download-counter.js) sits next to the buttons */
.cta-row .pcat-dl-count { margin: 0; }

/* Phones and small tablets */
/* The full menu needs about 1480px on one line; below that it moves behind the menu button */
@media (max-width: 1480px) {
  .nav { display: none; }
  .menu-btn { display: block; margin-left: 4px; }
  .top-actions { margin-left: auto; }
  .top.open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 16px 24px 22px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.open .nav .nav-signup { display: block; }
}
@media (max-width: 960px) {
  .top-actions .signin { display: none; }
  .hero .wrap, .spot, .spot.flip, .partner { grid-template-columns: 1fr; gap: 40px; }
  .spot.flip .spot-text { order: 0; }
  .hero .shot { transform: none; }
  .features, .plans { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .partner { padding: 32px; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 12px; }
  .top-actions .btn { padding: 8px 14px; font-size: 14px; }
  .top-actions .signup { display: none; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 19px; }
  .hero { padding: 44px 0 40px; }
  .features, .plans, .flow, .foot { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .strip .wrap { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .hero .shot { transition: none; transform: none; }
}

/* The "page not found" page (404.html) */
.notfound { max-width: 560px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.notfound .brand { justify-content: center; margin-bottom: 40px; }
.notfound h1 { font-size: 36px; margin-bottom: 14px; }
.notfound p { color: var(--muted); font-size: 18px; }
.notfound .cta-row { justify-content: center; margin: 28px 0; }
.notfound .small { font-size: 15px; }

/* Compare the plans (pricing section) */
.compare { margin-top: 64px; }
.compare h3 { font-size: 26px; text-align: center; margin-bottom: 24px; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 17px; padding-top: 20px; padding-bottom: 16px; }
.compare-table thead small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--ink-2); width: 40%; }
.compare-table .group th { background: var(--bg); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.compare-table td { color: var(--ink-2); }
.compare-table .best-col { background: var(--accent-soft); }
.compare-table thead .best-col { color: var(--accent-dark); }
/* A check for "Included", a dash for "Not included"; the words stay for screen readers */
.compare-table td.y, .compare-table td.n { font-size: 0; }
.compare-table td.y::before { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313683F' 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; }
.compare-table td.n::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--muted); opacity: .45; vertical-align: middle; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 620px) { .compare-table { font-size: 14px; } .compare-table th, .compare-table td { padding: 11px 10px; } }
.compare-hint { display: none; text-align: center; color: var(--muted); font-size: 14px; margin: -14px 0 14px; }
@media (max-width: 700px) { .compare-hint { display: block; } }

/* Safety & security (right after the hero) */
.sec-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
#security h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.sec-lede { font-size: 18px; color: var(--muted); margin-top: 14px; }
.sec-points { margin-top: 26px; display: grid; gap: 16px; }
.sec-points b { color: var(--ink); }
.sec-points li { color: var(--ink-2); }
.sec-note { margin-top: 24px; font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; }
.sec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.sec-card h3 { font-size: 19px; margin-bottom: 14px; }
.sec-card ul { list-style: none; margin: 0; padding: 0; }
.sec-card li { position: relative; padding: 11px 0 11px 36px; border-top: 1px solid var(--line); }
.sec-card li:first-child { border-top: 0; }
.sec-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--good-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313683F' 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; }
.sec-card li b { display: block; font-size: 15.5px; }
.sec-card li span { display: block; font-size: 14px; color: var(--muted); }
.sec-card > p { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .sec-grid { grid-template-columns: 1fr; gap: 36px; } }
