/* ============ GST SERVICES — page-specific compositions ============ */

/* Hero risk-assurance row reuses .dhero / .dhero-assure from startup.css */

/* ---- WHO NEEDS GST: threshold callout band ---- */
.thresh {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px;
}
.thresh .tc { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.thresh .tc .chip { margin-bottom: 6px; }
.thresh .tc .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,3vw,34px); color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.thresh .tc h4 { color: var(--ink); font-size: 16px; }
.thresh .tc p { color: var(--body); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 860px){ .thresh { grid-template-columns: 1fr; } }

/* ---- WHAT WE HELP WITH: feature card grid ---- */
.help-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.help { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.help .chip { transition: transform .25s var(--ease); }
.help:hover .chip { transform: scale(1.06) rotate(-3deg); }
.help h4 { color: var(--ink); font-size: 18px; }
.help p { color: var(--body); font-size: 14.5px; line-height: 1.5; }
.help .meta { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 900px){ .help-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .help-grid { grid-template-columns: 1fr; } }

/* ---- TABLE (return types + due dates) ---- */
.gtable-wrap {
  margin-top: 44px; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); background: var(--surface);
}
.gtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.gtable thead th {
  text-align: left; font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: 16px 22px; background: var(--soft); border-bottom: 1px solid var(--line);
}
.gtable tbody td { padding: 18px 22px; border-bottom: 1px solid var(--line-2); vertical-align: middle; color: var(--body); }
.gtable tbody tr:last-child td { border-bottom: 0; }
.gtable tbody tr { transition: background .15s var(--ease); }
.gtable tbody tr:hover { background: var(--brand-50); }
.gtable .form { display: flex; align-items: center; gap: 11px; }
.gtable .form .fmark {
  width: 40px; height: 40px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-family: var(--font-display);
  font-weight: 700; font-size: 12.5px; letter-spacing: -.01em;
  box-shadow: inset 0 0 0 1px color-mix(in oklab,var(--brand) 16%, transparent);
}
.gtable .form b { color: var(--ink); font-size: 15px; display: block; font-weight: 600; }
.gtable .form small { color: var(--muted); font-size: 12.5px; }
.gtable td .freq {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600; background: var(--soft); color: var(--ink-2);
}
.gtable .due-date { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.gtable .due-date span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
/* status dot column for due dates */
.gtable .when { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; }
.gtable .when .d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.gtable .when .d.soon { background: var(--amber); box-shadow: 0 0 0 4px color-mix(in oklab,var(--amber) 18%, transparent); }
.gtable .when .d.ok { background: var(--green); box-shadow: 0 0 0 4px color-mix(in oklab,var(--green) 18%, transparent); }
.gtable .when .d.up { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab,var(--brand) 18%, transparent); }
.gtable-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.gtable-note [data-lucide] { width: 16px; height: 16px; color: var(--muted); flex: none; }

/* mobile: collapse table into stacked cards */
@media (max-width: 760px){
  .gtable thead { display: none; }
  .gtable, .gtable tbody, .gtable tr, .gtable td { display: block; width: 100%; }
  .gtable tbody tr { padding: 6px 0 14px; border-bottom: 1px solid var(--line); }
  .gtable tbody tr:last-child { border-bottom: 0; }
  .gtable tbody td { border: 0; padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .gtable tbody td::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); flex: none; }
  .gtable tbody td.cell-form::before { display: none; }
  .gtable tbody td.cell-form { padding-top: 16px; }
}

/* ---- RISK / DEADLINE NOTICE BAND (dark) ---- */
.risk { position: relative; overflow: hidden; }
.risk-glow { position: absolute; z-index: 0; top: -40%; left: -8%; width: 55%; height: 130%; background: radial-gradient(closest-side, color-mix(in oklab,var(--brand) 28%, transparent), transparent); filter: blur(34px); opacity: .5; }
.risk .wrap { position: relative; z-index: 1; }
.risk-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px,5vw,64px); align-items: center; }
.risk-copy h2 { color: #fff; }
.risk-copy p { color: var(--on-dark-mut); margin-top: 16px; font-size: 18px; line-height: 1.55; max-width: 480px; }
.risk-copy .row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.risk-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.risk-stats .rs { padding: 24px; border-radius: var(--r-lg); background: var(--dark-soft); box-shadow: inset 0 0 0 1px var(--dark-line); }
.risk-stats .rs .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,3.4vw,40px); color: #fff; letter-spacing: -.02em; line-height: 1; }
.risk-stats .rs .v.amber { color: var(--amber); }
.risk-stats .rs .v.green { color: var(--green); }
.risk-stats .rs .k { margin-top: 10px; color: var(--on-dark-mut); font-size: 14px; line-height: 1.45; }
@media (max-width: 820px){ .risk-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---- TESTIMONIALS grid ---- */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.tgrid .card { padding: 28px; }
@media (max-width: 900px){ .tgrid { grid-template-columns: 1fr; } }
