:root {
  --paper: #eef1f0;
  --surface: #ffffff;
  --ink: #18212b;
  --muted: #56626e;
  --line: #c9d1d5;
  --tag: #f3c316;
  --tag-deep: #c99a00;
  --steel: #255b6b;
  --steel-soft: #dce8ea;
  --danger: #a32a1f;
  --radius-s: 4px;
  --radius-m: 10px;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Onest", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
}

img, svg { display: block; max-width: 100%; }
a { color: var(--steel); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em;
  background: var(--ink); color: #fff;
  border: 2px solid var(--ink); border-radius: var(--radius-s);
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--steel); border-color: var(--steel); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 1em; font-size: .92rem; }
.btn-nav { min-height: 40px; padding: 0 1.1em; color: #fff !important; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.02rem/1 var(--display); }
.logo-mark { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--steel); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius-s); font: 600 .95rem var(--body); padding: 8px 14px; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .btn-nav { margin-top: 14px; }
}

/* Sections */
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }

/* Hero */
.hero { padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 13ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-note { color: var(--muted); font-size: .95rem; }

/* The tag: the single memorable element */
.tag-stage { position: relative; display: flex; justify-content: center; padding-top: 40px; }
.tag-string { position: absolute; top: 0; left: 50%; width: 140px; height: 90px; transform: translateX(-30%); }
.tag {
  position: relative; width: min(100%, 360px);
  background: var(--tag); color: var(--ink);
  padding: 58px 30px 30px;
  clip-path: polygon(18% 0, 82% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  transform: rotate(-4deg); transform-origin: 50% 0;
  animation: sway 2.6s ease-out 1 both;
}
.tag::before {
  content: ""; position: absolute; top: 18px; left: 50%; width: 20px; height: 20px; margin-left: -10px;
  border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px var(--tag-deep);
}
.tag-title { font: 600 1.15rem/1.25 var(--display); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.tag dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: .97rem; }
.tag dt { color: rgba(24, 33, 43, .72); }
.tag dd { margin: 0; font-weight: 600; }
.tag-stamp { margin: 22px 0 0; display: inline-block; border: 2px solid var(--ink); padding: 4px 10px; font-weight: 600; font-size: .85rem; transform: rotate(-2deg); }
@keyframes sway {
  0% { transform: rotate(7deg); }
  35% { transform: rotate(-7deg); }
  65% { transform: rotate(-2deg); }
  100% { transform: rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .tag { animation: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
}

/* Task list */
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.task { padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); }
.task:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.task h3 { margin-bottom: .35em; }
.task p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 860px) {
  .task-grid { grid-template-columns: 1fr; }
  .task, .task:not(:nth-child(3n+1)) { padding: 20px 0; border-left: 0; }
}

/* Steps: a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 16px;
  background: var(--tag); border: 2px solid var(--ink); border-radius: 50%;
  font: 600 1.05rem/1 var(--display);
}
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Product lines on home */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.line-card { background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--ink); padding: 28px; display: flex; flex-direction: column; }
.line-card.care { border-top-color: var(--steel); }
.line-card h3 { font: 600 1.3rem/1.2 var(--display); }
.line-card p { color: var(--muted); }
.line-price { font-size: 1.05rem; color: var(--ink) !important; margin-top: auto; }
.line-price strong { font: 600 1.6rem/1 var(--display); }
@media (max-width: 760px) { .lines { grid-template-columns: 1fr; } }

.trial {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  margin-top: 24px; padding: 24px 28px;
  background: var(--steel-soft); border-left: 6px solid var(--steel);
}
.trial-price { font: 600 2rem/1 var(--display); white-space: nowrap; }
.trial p { margin: 0; }
@media (max-width: 600px) { .trial { grid-template-columns: 1fr; gap: 10px; } }

/* Tiers: one spec sheet, columns divided by rules */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); }
.tier { padding: 26px 22px; display: flex; flex-direction: column; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier-name { font: 600 1.15rem/1.2 var(--display); padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--ink); }
.spec { margin: 0 0 20px; }
.spec-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-size: .85rem; color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 500; }
.tier-prices { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 12px; }
.tier-prices li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; padding: 12px; background: var(--paper); }
.tier-prices .per { font-size: .9rem; color: var(--muted); }
.tier-prices .sum { font: 600 1.25rem/1 var(--display); }
.tier-prices .btn { grid-column: 1 / -1; width: 100%; margin-top: 6px; }
@media (max-width: 1000px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier:nth-child(3) { border-left: 0; }
  .tier:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
}

.price-note { margin-top: 18px; color: var(--muted); font-size: .95rem; max-width: 78ch; }

/* One-time services */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.svc h3 { margin: 0 0 .2em; }
.svc p { margin: 0; color: var(--muted); font-size: .97rem; }
.svc .sum { font: 600 1.3rem/1 var(--display); white-space: nowrap; }
@media (max-width: 640px) {
  .svc { grid-template-columns: 1fr auto; gap: 12px; }
  .svc > div { grid-column: 1 / -1; }
}

/* Safety */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0 0 16px 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: var(--tag); border: 2px solid var(--ink); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 760px) { .safety { grid-template-columns: 1fr; gap: 20px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 500 1.6rem/1 var(--display); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 72ch; }

/* Documents */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.doc .meta { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc h3 { margin-top: 1.4em; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc p, .doc li { max-width: 78ch; }
.doc-box { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--tag); padding: 20px 24px; margin: 24px 0; }
.doc-box p:last-child { margin: 0; }

.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
.price-table, .req-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .97rem; }
.price-table th, .price-table td, .req-table th, .req-table td { text-align: left; padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--ink); color: #fff; font-weight: 600; }
.price-table td:last-child { white-space: nowrap; font-weight: 600; }
.req-table th { width: 38%; font-weight: 500; color: var(--muted); }

/* Contacts */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { border-top: 2px solid var(--ink); }
.contact-item span { display: block; font-size: .88rem; color: var(--muted); }
.contact-item a, .contact-item strong { font-size: 1.15rem; font-weight: 600; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.form-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: 28px; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #9aa6ad; border-radius: var(--radius-s); background: #fff;
  font: 400 1rem var(--body); color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--steel-soft); border-color: var(--steel); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row label { position: relative; font-weight: 500; margin: 0; }
.radio-row input { position: absolute; opacity: 0; inset: 0; }
.radio-row span { display: inline-block; padding: 10px 16px; border: 1.5px solid #9aa6ad; border-radius: var(--radius-s); background: #fff; cursor: pointer; }
.radio-row input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.radio-row input:focus-visible + span { outline: 3px solid var(--steel); outline-offset: 2px; }
.radio-row input:disabled + span { opacity: .4; cursor: not-allowed; }
.error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; }

.summary { position: sticky; top: 92px; background: var(--ink); color: #fff; padding: 28px; }
.summary h2 { font-size: 1.2rem; }
.summary dl { margin: 0 0 18px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.summary dt { color: rgba(255,255,255,.7); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { font: 600 2rem/1 var(--display); color: var(--tag); margin: 6px 0 14px; }
.summary .renew { font-size: .95rem; color: rgba(255,255,255,.85); }
.summary a { color: var(--tag); }
.notice { padding: 16px 18px; background: var(--steel-soft); border-left: 6px solid var(--steel); margin-top: 18px; }
.notice.err { background: #f6e3e0; border-left-color: var(--danger); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--tag); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-brand { font: 600 1.1rem/1 var(--display); color: #fff; }
.footer-h { color: #fff; font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.req { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0 0 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
