/* goodwordsites.com: GoodWord's own site. Logo colours, system rounded fonts (no downloads), motion per templates/PLAN.md. */
:root{--bg:#f7fbf8;--ink:#12352c;--muted:#46665b;--deep:#145a43;--green:#2fbf71;--mint:#e3f6ec;--line:#cfe5d8;
  --font:ui-rounded,"SF Pro Rounded","Nunito","Segoe UI",system-ui,sans-serif;--rise:16px}
*{box-sizing:border-box}
html{scroll-padding-top:5rem}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.6 var(--font);overflow-x:clip}
a{color:var(--deep);text-underline-offset:.15em}
a:focus-visible,.btn:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.wrap{max-width:68rem;margin:0 auto;padding:0 1.25rem}
h1,h2,h3{line-height:1.15;margin:0 0 .75rem;letter-spacing:-.01em}
h1{font-size:clamp(2.25rem,7vw,4rem);font-weight:800}
h2{font-size:clamp(1.75rem,4.5vw,2.5rem);font-weight:800}
h3{font-size:1.25rem;font-weight:700}
p{margin:0 0 1rem}
.lede{font-size:1.1875rem;color:var(--muted);max-width:36rem}
mark{background:linear-gradient(transparent 58%,#bdeed2 58%);color:inherit;padding:0 .1em}

/* header */
.top{position:sticky;top:0;z-index:5}
.top::before{content:"";position:absolute;inset:0;background:rgba(247,251,248,.94);border-bottom:1px solid var(--line);z-index:-1}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.5rem}
.brand{display:flex;align-items:center;gap:.6rem;color:var(--ink);text-decoration:none;font-weight:800;font-size:1.1875rem}
.brand img{width:44px;height:auto;transform-origin:left center}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 1.4rem;border-radius:999px;
  font-weight:700;text-decoration:none;border:2px solid var(--deep);color:var(--deep);background:#fff;white-space:nowrap}
.btn.primary{background:var(--deep);color:#fff}
.btn.small{min-height:44px;padding:0 1.1rem;font-size:.9375rem}

/* sections */
section{padding:4rem 0}
.hero{padding:3rem 0 4rem}
.hero .wrap{display:grid;gap:2rem;align-items:center}
.hero img{width:min(100%,22rem);height:auto;justify-self:center}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.5rem 0 1rem}
.price-line{font-weight:700;color:var(--deep)}
.band{background:var(--mint)}
.fill{position:relative;display:block;font-size:clamp(1.5rem,4vw,2.25rem);font-weight:800;line-height:1.3;max-width:48rem;margin:0}
.fill .ghost{position:absolute;inset:0;color:#6c9182}
.steps,.ticks{list-style:none;padding:0;margin:2rem 0 0;display:grid;gap:1.25rem}
.steps li,.card{background:#fff;border:1px solid var(--line);border-radius:1.25rem;padding:1.5rem}
.steps li::before{counter-increment:step;content:counter(step);display:grid;place-items:center;width:2.5rem;height:2.5rem;
  border-radius:50%;background:var(--deep);color:#fff;font-weight:800;margin-bottom:.9rem}
.steps{counter-reset:step}
.steps p,.card p{margin:0;color:var(--muted)}
.ticks li{padding-left:2rem;position:relative}
.ticks li::before{content:"";position:absolute;left:.2rem;top:.45em;width:.9rem;height:.5rem;border:solid var(--deep);
  border-width:0 0 3px 3px;transform:rotate(-45deg)}
.cards{display:grid;gap:1.25rem;margin-top:2rem}
.card .amount{font-size:2rem;font-weight:800;color:var(--ink);margin:.25rem 0 .5rem}
.card .amount small{font-size:1rem;font-weight:600;color:var(--muted)}
.card.main{border:2px solid var(--deep)}
.note{color:var(--muted);margin-top:1.5rem}
.contact{text-align:center}
.contact .lede{margin:0 auto 1.5rem}
footer{border-top:1px solid var(--line);padding:2rem 0 3rem;color:var(--muted);font-size:.9375rem}
footer .wrap{display:grid;gap:.75rem}
footer nav{display:flex;flex-wrap:wrap;gap:0 1.25rem}
footer nav a{display:inline-flex;align-items:center;min-height:44px}
address{font-style:normal}

/* terms and privacy */
.doc{max-width:44rem;padding:3rem 1.25rem 4rem}
.doc h2{font-size:1.5rem;margin-top:2.5rem}
.doc ul{padding-left:1.25rem}
.doc li{margin-bottom:.5rem}

@media (min-width:48rem){
  .hero .wrap{grid-template-columns:1.3fr 1fr}
  .steps{grid-template-columns:repeat(3,1fr)}
  .ticks{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:64rem){.cards{grid-template-columns:repeat(4,1fr)}}
@media (max-width:30rem){:root{--rise:8px}.top .btn{padding:0 .9rem}}

/* Motion, "gentle" level: reveal, header settle, quote fill. The resting state is the finished page;
   nothing moves on its own; transform, opacity and clip-path only. */
@supports (animation-timeline:view()){
  @media (prefers-reduced-motion:no-preference){
    .reveal{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 45%}
    @keyframes rise{from{opacity:0;transform:translateY(var(--rise))}}
    .top::before{animation:fade linear both;animation-timeline:scroll();animation-range:0 160px}
    @keyframes fade{from{opacity:0}}
    .brand img{animation:settle linear both;animation-timeline:scroll();animation-range:0 160px}
    @keyframes settle{from{transform:scale(1.2)}}
    .fill .full{position:relative;display:block;animation:wipe linear both;animation-timeline:view();animation-range:entry 30% cover 55%}
    @keyframes wipe{from{clip-path:inset(0 100% 0 0)}}
  }
}
