/* Maintenance Troubleshooter website - shared styles (blue / yellow like the commercial app) */
:root {
  --blue: #0d4f8f;
  --blue-dark: #0a3a6b;
  --yellow: #ffc800;
  --ink: #1b2430;
  --muted: #5b6675;
  --line: #dde3ea;
  --soft: #f3f6fa;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.top { background: var(--blue); color: var(--white); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { color: var(--white); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 16px; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--blue-dark); }

/* Hero */
.hero { background: var(--blue); color: var(--white); padding: 40px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.15; margin: 0 0 14px; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 19px; margin: 0 0 24px; color: #dce8f5; max-width: 34em; }
.hero .logo-big { display: none; width: 220px; height: 220px; border-radius: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.25); justify-self: center; }
@media (min-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr auto; }
  .hero .logo-big { display: block; }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 17px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd633; }
.btn-line { border: 2px solid var(--white); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.1); }
.note { font-size: 14px; color: #b9cde3; margin-top: 10px; }

/* Sections */
section { padding: 48px 0; }
section.soft { background: var(--soft); }
h2 { font-size: clamp(24px, 4.5vw, 32px); line-height: 1.2; margin: 0 0 8px; }
p.sub { color: var(--muted); margin: 0 0 28px; max-width: 40em; }

.steps, .cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps, .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(4, 1fr); } .cards { grid-template-columns: repeat(3, 1fr); } }

.step, .card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.step .num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.step h3, .card h3 { margin: 0 0 6px; font-size: 19px; }
.step p, .card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 10px; color: var(--blue); }

/* Trial / pricing band */
.band { background: var(--blue); color: var(--white); border-radius: 14px; padding: 28px 24px; display: grid; gap: 16px; }
.band h2 { color: var(--white); }
.band h2 span { color: var(--yellow); }
.band p { margin: 0; color: #dce8f5; }
@media (min-width: 800px) { .band { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; } }

/* Prices */
.prices { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 720px; }
@media (min-width: 640px) { .prices { grid-template-columns: 1fr 1fr; } }
.price { position: relative; border: 2px solid var(--line); border-radius: 14px; padding: 24px; background: var(--white); }
.price.best { border-color: var(--yellow); }
.price h3 { margin: 0 0 6px; font-size: 20px; }
.price .amount { font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1.1; margin-bottom: 8px; }
.price .amount small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price p { margin: 0; color: var(--muted); font-size: 16px; }
.price .tag { position: absolute; top: -13px; right: 16px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; padding: 3px 12px; border-radius: 20px; }

/* Safety notice */
.safety { border-left: 5px solid var(--yellow); background: #fff8dc; padding: 16px 18px; border-radius: 8px; font-size: 16px; }

/* FAQ */
.faq-group { margin-bottom: 32px; }
.faq-group h2 { font-size: 22px; margin-bottom: 12px; }
details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: var(--white); }
summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details .answer { padding: 0 16px 14px; color: var(--muted); }
details .answer p { margin: 0 0 8px; }
details .answer ul { margin: 0 0 8px; padding-left: 20px; }

.page-head { background: var(--blue); color: var(--white); padding: 32px 0; }
.page-head h1 { margin: 0 0 4px; font-size: clamp(28px, 5vw, 38px); }
.page-head p { margin: 0; color: #dce8f5; }

/* Ask-a-question form */
.wrap.narrow { max-width: 720px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; color: var(--ink); background: var(--white);
  border: 1px solid #b9c4d0; border-radius: 8px; padding: 10px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form textarea { resize: vertical; min-height: 140px; }
.row2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-blue { background: var(--blue); color: var(--white); border: 0; cursor: pointer; justify-self: start; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-blue:disabled { opacity: .6; cursor: default; }
.small { font-size: 14px; color: var(--muted); margin: 0; }
#formMsg { margin: 0; min-height: 1.6em; color: var(--muted); }
#formMsg.err { color: #b3261e; font-weight: 600; }
.thanks { background: var(--soft); border-radius: 12px; padding: 24px; }
.thanks h2 { color: var(--blue); }

/* Footer */
footer { background: var(--ink); color: #aab4c0; padding: 28px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: #dfe6ee; text-decoration: none; margin-right: 16px; }
footer a:hover { text-decoration: underline; }
