/* Approved HOME layout; shared WL theme tokens supply the application palette. */
/* Small alignment refinement; original layout and brand styles retained. */
.section-inner > h2 { margin-left:auto; margin-right:auto; text-align:center; }
.hero > p { max-width:640px; margin-left:auto; margin-right:auto; }
:focus-visible { outline:3px solid var(--wl-color-primary); outline-offset:4px; }


/* Rounded golden-ratio spacing scale, based on 16px. */

.hero { padding:42px 26px 26px; }
.hero .hero-audience { color:var(--wl-color-primary); font-size:1rem; margin:0 auto 16px; max-width:100%; }
.hero h1 { margin-bottom:16px; }
.hero > p:not(.hero-audience) { margin-bottom:26px; }
.hero-note { margin-top:10px; }
.rating-badge { margin-top:26px; }
.section { padding:42px 26px; }
.section h2 { margin-bottom:10px; }
.section-sub { margin-bottom:26px; }
.section-label { margin-bottom:10px; }
.audience-grid, .steps { gap:26px; }
.category-block { margin-bottom:26px; }
.category-block:last-child { margin-bottom:0; }
#how h2 { margin-bottom:26px; }
@media(max-width:640px) {
  .hero { padding:26px 16px; }
  .section { padding:26px 16px; }
  .hero .hero-audience { max-width:320px; }
  .rating-badge { max-width:100%; text-align:left; }
}


/* Keep the existing system typeface; refine emphasis and reading rhythm. */
body { font-size:16px; line-height:1.6; }
.hero .hero-audience { font-size:clamp(1rem,1.7vw,1.125rem); line-height:1.45; font-weight:500; letter-spacing:.015em; }
.hero .hero-audience strong { font-weight:750; }
.hero h1 { font-size:clamp(2rem,4.3vw,2.75rem); line-height:1.12; letter-spacing:-.035em; font-weight:750; text-wrap:balance; }
.hero h1 .accent { display:block; }
.hero > p:not(.hero-audience) { font-size:1.125rem; line-height:1.6; max-width:62ch; text-wrap:pretty; }
.section h2 { font-size:clamp(1.5rem,2.8vw,2rem); line-height:1.2; letter-spacing:-.025em; font-weight:700; text-wrap:balance; }
.section-sub { font-size:1.0625rem; line-height:1.6; max-width:64ch; text-wrap:pretty; }
.audience-card h3, .step-card h3 { font-size:1.125rem; line-height:1.35; letter-spacing:-.015em; font-weight:700; }
.audience-card p, .step-card p { font-size:1rem; line-height:1.6; text-wrap:pretty; }
.category-header h3 { font-size:1.25rem; line-height:1.3; letter-spacing:-.015em; }
.plan-card h4 { font-size:1.0625rem; line-height:1.35; }
.hero-note { font-size:.875rem; line-height:1.5; }
.rating-badge { font-size:.8125rem; line-height:1.5; font-weight:500; }
@media(max-width:640px) {
  .hero h1 .accent { display:inline; }
  .hero > p:not(.hero-audience) { font-size:1.0625rem; }
}


.audience-card, .plan-card { border:1px solid var(--wl-color-border); border-radius:12px; box-shadow:0 2px 5px color-mix(in srgb, var(--wl-accent) 3%, transparent); }
.audience-icon { width:44px; height:44px; border-radius:10px; background:var(--wl-color-primary-soft); color:var(--wl-color-primary-dark); }
.audience-icon svg { width:24px; height:24px; }
.audience-card h3 { color:var(--wl-accent); }
a.plan-card { display:flex; flex-direction:column; }
.plan-card .plan-more { display:block; margin-top:auto; padding-top:16px; }
a.plan-card:hover { border-color:var(--wl-color-primary-light); box-shadow:0 4px 12px color-mix(in srgb, var(--wl-accent) 7%, transparent); }
.btn, .wl-chrome .sign-in-link { border-radius:8px; font-weight:650; text-decoration:none; min-height:44px; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; transition:background-color .15s, box-shadow .15s; }
.btn-coral { box-shadow:0 2px 3px color-mix(in srgb, var(--wl-color-primary-dark) 10%, transparent); }
.btn-coral:hover { box-shadow:0 3px 8px color-mix(in srgb, var(--wl-color-primary-dark) 16%, transparent); }
.hero .btn { min-height:52px; }
.hero .btn::after { content:'→'; font-size:1.125em; }
.wl-chrome .sign-in-link { border:1px solid transparent; background:transparent; padding:10px 14px; color:var(--wl-accent); }
.wl-chrome .sign-in-link:hover { background:var(--wl-accent-soft); }
a.btn-teal { background:transparent !important; color:var(--wl-accent) !important; border:1px solid var(--wl-color-border); }
a.btn-teal:hover { background:var(--wl-accent-soft) !important; }
.step-card .step-num { width:36px; height:36px; border-radius:10px; background:var(--wl-color-primary-soft); color:var(--wl-color-primary-dark) !important; font-size:1rem; font-weight:700; }
a:focus-visible { outline:3px solid var(--wl-color-primary-dark); outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .btn, a.plan-card { transition:none; } }


/* Shared tracks align each step while accommodating different copy lengths. */
#how .steps { grid-template-columns:repeat(3,minmax(0,1fr)); row-gap:16px; }
#how .step-card { display:grid; grid-template-rows:subgrid; grid-row:span 4; justify-items:center; align-items:start; padding:0 16px; }
#how .step-num, #how .step-card h3, #how .step-card p, #how .step-card .btn { margin:0; }
#how .step-card .btn { align-self:end; min-height:44px; }
#how { border-bottom:1px solid var(--wl-color-border); }
@supports not (grid-template-rows:subgrid) {
  #how .steps { align-items:stretch; }
  #how .step-card { display:flex; flex-direction:column; align-items:center; gap:16px; }
  #how .step-card .btn { margin-top:auto; align-self:center; }
}
@media(max-width:700px) {
  #how .steps { grid-template-columns:1fr; gap:26px; }
  #how .step-card { grid-row:auto; grid-template-rows:auto; gap:10px; padding:0; }
}


#how .steps { background:linear-gradient(var(--wl-color-primary-soft),var(--wl-color-primary-soft)) center 18px / 66.666% 1px no-repeat; }
#how .step-num { outline:8px solid var(--wl-color-surface); }
#how .step-card .btn { min-height:52px; }
#plans .category-block { display:grid; grid-template-columns:170px minmax(0,1fr); gap:26px; align-items:start; padding-top:26px; border-top:1px solid var(--wl-color-border); }
#plans .category-header { display:block; margin:0; padding-top:4px; }
#plans .category-header h3 { margin-bottom:10px; }
#plans .category-header span { display:block; font-size:.875rem; line-height:1.5; }
#plans .plan-grid { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
#plans .plan-card { min-height:190px; }
@media(max-width:700px) {
  #how .steps { background:none; }
  #plans .category-block { grid-template-columns:1fr; gap:16px; }
  #plans .plan-grid { grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); }
  #plans .plan-card { min-height:0; }
}


/* Precise financial-software detailing, retaining the existing identity. */

.wl-chrome { border-bottom:1px solid var(--wl-color-border); box-shadow:0 1px 0 color-mix(in srgb, var(--wl-color-surface) 80%, transparent); }
.wl-chrome .wl-brand-logo { width:194px; height:auto; }
.wl-chrome .wl-nav a { font-weight:550; text-decoration:none; }
.wl-chrome .wl-nav a:hover { color:var(--wl-color-primary-dark); }
.hero { position:relative; isolation:isolate; }
.hero::before { content:''; position:absolute; z-index:-1; inset:0; pointer-events:none;
 background-image:linear-gradient(color-mix(in srgb, var(--wl-accent) 2.5%, transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb, var(--wl-accent) 2.5%, transparent) 1px,transparent 1px);
 background-size:42px 42px; mask-image:linear-gradient(to bottom,var(--wl-accent),transparent 70%); }
.btn, .wl-chrome .sign-in-link { border-radius:6px; letter-spacing:.005em; font-weight:650; }
.btn-coral { border:1px solid var(--wl-color-primary-dark); box-shadow:inset 0 1px 0 color-mix(in srgb, var(--wl-color-surface) 16%, transparent),0 1px 2px color-mix(in srgb, var(--wl-accent) 12%, transparent); }
.btn-coral:hover { box-shadow:inset 0 1px 0 color-mix(in srgb, var(--wl-color-surface) 12%, transparent),0 3px 8px color-mix(in srgb, var(--wl-accent) 14%, transparent); }
.btn:active { transform:translateY(1px); }
a.btn-teal { border-color:var(--wl-color-border); box-shadow:0 1px 2px color-mix(in srgb, var(--wl-accent) 4%, transparent); }
a.btn-teal:hover { border-color:var(--wl-color-text-muted); }
.wl-chrome .sign-in-link { border:1px solid var(--wl-color-border); background:var(--wl-color-surface); }
.audience-card, .plan-card { border-color:var(--wl-color-border); border-radius:8px; box-shadow:0 1px 2px color-mix(in srgb, var(--wl-accent) 4%, transparent); }
.audience-icon { border:1px solid var(--wl-color-border); background:var(--wl-color-bg); color:var(--wl-accent); border-radius:8px; }
.audience-icon svg { stroke-width:1.65; }
.plan-card .plan-more { color:var(--wl-accent); }
a.plan-card:hover { border-color:var(--wl-color-text-muted); box-shadow:0 3px 10px color-mix(in srgb, var(--wl-accent) 7%, transparent); }
#how .step-num { color:var(--wl-accent) !important; background:var(--wl-color-bg); border:1px solid var(--wl-color-border); border-radius:6px; font-variant-numeric:tabular-nums; }
#how .steps { background-image:linear-gradient(var(--wl-color-border),var(--wl-color-border)); }
.rating-badge { border-radius:8px; border-color:var(--wl-color-border); box-shadow:none; background:color-mix(in srgb, var(--wl-color-surface) 85%, transparent); }
.rating-badge .a-plus { border-radius:4px; }
.footer-logo { display:block; width:170px; height:auto; margin-bottom:10px; }
a:focus-visible { outline:3px solid var(--wl-color-text-muted); outline-offset:4px; }
@media(max-width:640px) { .wl-chrome .wl-brand-logo { width:170px; } }
@media(prefers-reduced-motion:reduce) { .btn:active { transform:none; } }
