/* ==================================================
   SwishTelecoms Site Styles
   Swish World Group Unified Design System
   ================================================== */

:root {
  --swish-green: #01A200;
  --swish-green-dark: #047c00;
  --swish-green-soft: #eaf8ea;
  --swish-green-soft-2: #f3fbf3;

  --text-main: #151515;
  --text-muted: #5f6368;
  --text-soft: #737873;
  --text-light: #ffffff;

  --bg-main: #f7f9f7;
  --bg-card: #ffffff;
  --bg-footer: #f0f3f0;
  --bg-section: #fbfdfb;

  --border-soft: #e2e8e2;
  --border-strong: #cfd8cf;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 16px 40px rgba(1, 162, 0, 0.14);
  --shadow-card: 0 12px 34px rgba(0, 0, 0, 0.07);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container-width: 1200px;

  --brand: var(--swish-green);
  --brand-dark: var(--swish-green-dark);
  --text: var(--text-main);
}

/* ==================================================
   Base Reset
   ================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

main {
  display: block;
}

section {
  scroll-margin-top: 96px;
}

img,
svg {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--swish-green);
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

p,
li {
  color: inherit;
}

/* ==================================================
   Accessibility Helpers
   ================================================== */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -56px;
  left: 1rem;
  z-index: 10001;
  background: #ffffff;
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
.cta-button:focus-visible,
.hero-button:focus-visible,
.plan-button:focus-visible,
.voip-button:focus-visible,
.support-button:focus-visible,
.dashboard-button:focus-visible,
.auth-button:focus-visible,
.order-cta:focus-visible,
.checkout-pay-btn:focus-visible,
.update-button:focus-visible,
.danger-button:focus-visible {
  outline: 3px solid rgba(1, 162, 0, 0.28);
  outline-offset: 3px;
}

/* ==================================================
   Layout Helpers
   ================================================== */

.container {
  width: min(90%, var(--container-width));
  margin: 0 auto;
}

.home-subtext,
.checkout-subtext,
.order-subtext,
.dashboard-subtext,
.support-hero p,
.data-info p,
.final-cta .home-subtext {
  color: var(--text-muted);
  max-width: 760px;
  margin: 0.5rem auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  color: var(--text-main);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h3 {
  line-height: 1.25;
}

/* ==================================================
   Header
   ================================================== */

header,
.account-header,
.auth-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.95rem 5%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.logo,
header .logo,
.account-header .logo,
.auth-header .logo {
  display: inline-flex;
  align-items: center;
  color: var(--swish-green);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--text-main);
}

.logo img,
header .logo img,
.account-header .logo img,
.auth-header .logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* ==================================================
   Navigation
   ================================================== */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--swish-green);
  background: var(--swish-green-soft);
  text-decoration: none;
}

/* ==================================================
   Buttons
   ================================================== */

.cta-button,
.hero-button,
.plan-button,
.voip-button,
.support-button,
.dashboard-button,
.auth-button,
.order-cta,
.checkout-pay-btn,
.update-button,
.error-home-btn,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.cta-button {
  background: var(--swish-green);
  color: #ffffff;
  border-color: var(--swish-green);
  box-shadow: 0 8px 22px rgba(1, 162, 0, 0.24);
}

.cta-button:hover,
.plan-button:hover,
.voip-button:hover,
.support-button:hover,
.dashboard-button:hover,
.auth-button:hover,
.order-cta:hover,
.checkout-pay-btn:hover,
.update-button:hover,
.error-home-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.hero-button.primary,
.hero-button,
.cta-button.primary {
  background: #ffffff;
  color: var(--swish-green);
  border-color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.78);
}

.hero-button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.plan-button,
.voip-button,
.support-button,
.dashboard-button,
.auth-button,
.order-cta,
.checkout-pay-btn,
.update-button,
.error-home-btn {
  background: var(--swish-green);
  color: #ffffff;
  border-color: var(--swish-green);
}

.plan-button:hover,
.voip-button:hover,
.support-button:hover,
.dashboard-button:hover,
.auth-button:hover,
.order-cta:hover,
.checkout-pay-btn:hover,
.update-button:hover,
.error-home-btn:hover {
  background: var(--swish-green-dark);
  color: #ffffff;
}

.danger-button,
.update-button.danger,
.dashboard-button.danger {
  background: #d93636;
  color: #ffffff;
  border-color: #d93636;
}

.danger-button:hover,
.update-button.danger:hover,
.dashboard-button.danger:hover {
  background: #c22c2c;
  box-shadow: 0 14px 34px rgba(217, 54, 54, 0.25);
}

/* ==================================================
   Hero
   ================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--swish-green), var(--swish-green-dark));
  color: var(--text-light);
  padding: clamp(4.5rem, 9vw, 8rem) 2rem;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -48% -10%;
  height: 70%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 930px;
  margin: 0 auto 1rem;
  color: #ffffff;
  font-size: clamp(2.55rem, 6.2vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.hero-trust,
.hero .hero-trust {
  display: inline-flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0;
}

/* ==================================================
   Section Wrappers
   ================================================== */

.features,
.plans,
.how-it-works,
.voip,
.wisp-info,
.comparison,
.coverage,
.no-risk {
  padding: clamp(4rem, 7vw, 6rem) 2rem;
  text-align: center;
}

.features,
.privacy-section {
  background: var(--bg-card);
}

.plans,
.comparison,
.coverage,
.no-risk,
.how-it-works {
  background: var(--bg-section);
}

.voip,
.wisp-info {
  background: #ffffff;
}

/* ==================================================
   Feature Grid
   ================================================== */

.feature-grid {
  width: min(100%, var(--container-width));
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}

.feature {
  background: linear-gradient(180deg, #ffffff, #fbfefb);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 162, 0, 0.28);
  box-shadow: var(--shadow-hover);
}

.feature h2,
.feature h3 {
  color: var(--swish-green);
  font-size: 1.28rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.feature p {
  color: var(--text-muted);
}

/* ==================================================
   Plan Cards
   ================================================== */

.plan-cards {
  width: min(100%, var(--container-width));
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fbfefb);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 162, 0, 0.28);
  box-shadow: var(--shadow-hover);
}

.plan-card.popular,
.plan-card.best-value {
  border-color: rgba(1, 162, 0, 0.42);
  box-shadow: 0 16px 44px rgba(1, 162, 0, 0.12);
}

.plan-card.popular {
  transform: none;
}

.plan-card.popular:hover {
  transform: translateY(-4px);
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--swish-green);
  color: white;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 900;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.plan-card h3 {
  margin-bottom: 0.6rem;
  color: var(--swish-green);
  font-size: 1.35rem;
  font-weight: 850;
}

.plan-card p {
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.plan-card ul {
  text-align: left;
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  line-height: 1.7;
  flex-grow: 1;
}

.plan-card ul li {
  position: relative;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  padding-left: 1.75rem;
}

.plan-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--swish-green);
  font-weight: 900;
}

.plan-note {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==================================================
   How It Works / Lists
   ================================================== */

.how-it-works ol,
.order-next-section ol {
  text-align: left;
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding-left: 1.4rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1.05rem;
}

.voip ul,
.voip-benefits,
.no-risk ul,
.coverage-points {
  list-style: none;
  max-width: 650px;
  margin: 1.5rem auto;
  padding: 0;
}

.voip ul li,
.voip-benefits li,
.no-risk li,
.coverage-points li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.6;
}

.voip ul li::before,
.voip-benefits li::before,
.no-risk li::before,
.coverage-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--swish-green);
  font-weight: 900;
}

.coverage-note {
  color: var(--swish-green);
  font-size: 0.95rem;
  font-weight: 800;
}

/* ==================================================
   Cards / Content Blocks
   ================================================== */

.error-card,
.policy-card,
.checkout-card,
.dashboard-card,
.auth-card,
.order-card,
.support-card,
.invoice-card,
.landing-section,
.data-info,
.order-next-section,
.wisp-info {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.policy-card,
.checkout-card,
.order-card,
.auth-card,
.error-card {
  padding: clamp(2rem, 4vw, 2.8rem);
}

.dashboard-card,
.support-card,
.invoice-card,
.landing-section,
.order-next-section,
.data-info {
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.checkout-trust-box,
.checkout-crtc-box,
.order-trust-box,
.order-notice,
.bnetza-disclaimer,
.support-callout,
.auth-security,
.trust-strip {
  background: var(--swish-green-soft-2);
  border: 1px solid rgba(1, 162, 0, 0.16);
  border-left: 5px solid var(--swish-green);
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.checkout-trust-box p,
.checkout-crtc-box p,
.order-trust-box p,
.order-notice p,
.auth-security p {
  margin-bottom: 0.75rem;
}

.checkout-trust-box p:last-child,
.checkout-crtc-box p:last-child,
.order-trust-box p:last-child,
.order-notice p:last-child,
.auth-security p:last-child {
  margin-bottom: 0;
}

/* ==================================================
   Wrappers
   ================================================== */

.error-wrapper,
.policy-wrapper,
.checkout-wrapper,
.dashboard-wrapper,
.invoice-wrapper,
.auth-wrapper,
.order-wrapper,
.support-wrapper {
  width: min(90%, 980px);
  margin: 4rem auto;
}

.auth-wrapper {
  max-width: 560px;
}

.invoice-wrapper {
  max-width: 1100px;
}

.dashboard-wrapper,
.order-wrapper,
.checkout-wrapper,
.support-wrapper {
  max-width: 980px;
}

/* ==================================================
   Error Page
   ================================================== */

.error-wrapper {
  text-align: center;
}

.error-code {
  color: var(--swish-green);
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.error-message {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.error-links {
  margin-top: 2rem;
}

.error-links a {
  display: inline-block;
  margin: 0.4rem 1rem;
  color: var(--swish-green);
  font-weight: 800;
  text-decoration: none;
}

.error-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==================================================
   Policy / Legal Pages
   ================================================== */

.policy-card h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
}

.policy-card h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
  color: var(--swish-green);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.policy-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  font-size: 1.22rem;
  font-weight: 850;
}

.policy-card p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.policy-card ul,
.policy-card ol {
  margin-left: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

.policy-card a {
  color: var(--swish-green);
  font-weight: 800;
  text-decoration: none;
}

.policy-card a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==================================================
   Forms
   ================================================== */

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label,
.checkout-payment-form label,
#checkout-form label,
.auth-form label,
.order-form-card label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 800;
}

.form-group input,
.form-group textarea,
.form-group select,
.checkout-payment-form input,
#checkout-form input,
.auth-form input,
.order-form-card input,
.order-form-card textarea,
.order-form-card select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  padding: 0.8rem 0.95rem;
  font: inherit;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.checkout-payment-form input::placeholder,
#checkout-form input::placeholder,
.auth-form input::placeholder,
.order-form-card input::placeholder,
.order-form-card textarea::placeholder {
  color: #9aa19a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.checkout-payment-form input:focus,
#checkout-form input:focus,
.auth-form input:focus,
.order-form-card input:focus,
.order-form-card textarea:focus,
.order-form-card select:focus,
textarea:focus,
select:focus,
input:focus {
  border-color: rgba(1, 162, 0, 0.46);
  box-shadow: 0 0 0 4px rgba(1, 162, 0, 0.12);
  outline: none;
}

.field-note,
.auth-helptext,
.optional-text,
.final-reassurance,
.payment-note,
.order-next-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.field-note {
  margin-top: -0.35rem;
  margin-bottom: 0.9rem;
}

.auth-helptext {
  text-align: left;
  margin-top: -0.7rem;
  margin-bottom: 1rem;
}

/* ==================================================
   Checkout / Order
   ================================================== */

.checkout-heading,
.order-heading,
.dashboard-heading,
.invoice-heading,
.auth-heading,
.support-hero h1 {
  text-align: center;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 0.8rem;
}

.checkout-summary {
  margin-bottom: 1.75rem;
}

.checkout-summary h2,
.checkout-payment-form h2,
#checkout-form h2 {
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.checkout-summary-block {
  margin-bottom: 1.5rem;
}

.checkout-summary-block h3 {
  margin-bottom: 0.6rem;
  color: var(--swish-green);
  font-size: 1.15rem;
}

.checkout-summary-list {
  margin-left: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
}

.checkout-summary-list li {
  margin-bottom: 0.4rem;
}

.checkout-form,
.checkout-payment-form,
#checkout-form {
  margin-top: 1.5rem;
  text-align: left;
}

.checkout-form-grid,
.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
  margin-bottom: 1.25rem;
}

.form-group-full,
.order-grid .grid-full {
  grid-column: 1 / -1;
}

.checkout-pay-btn,
.order-cta {
  width: 100%;
  max-width: 360px;
  margin: 2rem auto 0;
  display: flex;
}

.payment-note,
.order-next-text {
  text-align: center;
  margin-top: 1rem;
}

.order-next-section {
  margin-top: 4rem;
}

.order-next-section h2 {
  text-align: center;
  margin-bottom: 1.3rem;
  font-size: 1.8rem;
}

/* ==================================================
   Dashboard
   ================================================== */

.dashboard-wrapper {
  width: min(90%, 980px);
  max-width: 980px;
  margin: 4rem auto;
  text-align: left;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 2rem;
}

.dashboard-heading {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 0.8rem;
}

.dashboard-subtext {
  color: var(--text-muted);
  max-width: 760px;
  margin: 0.5rem auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.dashboard-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 2rem;
}

.dashboard-card h2 {
  color: var(--swish-green);
  font-size: 1.55rem;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.dashboard-details {
  display: grid;
  gap: 1rem;
}

.dashboard-detail-row {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-soft);
}

.dashboard-detail-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dashboard-detail-row dt {
  font-weight: 850;
  color: var(--text-main);
}

.dashboard-detail-row dd {
  margin: 0;
  color: var(--text-muted);
  font-weight: 750;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.2rem;
}

@media (max-width: 768px) {
  .dashboard-wrapper {
    width: min(92%, 980px);
    margin: 2.5rem auto;
  }

  .dashboard-card {
    padding: 2rem 1.4rem;
  }

  .dashboard-detail-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  .dashboard-actions {
    flex-direction: column;
  }

  .dashboard-button {
    width: 100%;
  }
}

/* ==================================================
   Settings
   ================================================== */

.settings-form {
  margin-top: 1rem;
}

.settings-message {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.65;
  border-left: 4px solid var(--swish-green);
}

.settings-message-success {
  background: var(--swish-green-soft-2);
  border-left-color: var(--swish-green);
  color: #017300;
}

.settings-message-error {
  background: #fff5f5;
  border-left-color: #d93636;
  color: #9f1f1f;
}

.settings-danger-text {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==================================================
   Invoices / Tables
   ================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.invoice-card {
  margin-top: 1.5rem;
}

.invoice-loading {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.invoice-table,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.invoice-table thead tr,
.comparison-table thead {
  background: var(--swish-green-soft-2);
}

.invoice-table th,
.invoice-table td,
.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: top;
}

.invoice-table th,
.comparison-table th {
  color: var(--swish-green);
  font-weight: 850;
}

.invoice-table tr:hover,
.comparison-table tr:hover {
  background: #fbfefb;
}

.invoice-table a {
  color: var(--swish-green);
  font-weight: 800;
  text-decoration: none;
}

.invoice-table a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==================================================
   Auth
   ================================================== */

.auth-card {
  text-align: center;
}

.auth-subtext {
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.auth-security {
  text-align: left;
}

.auth-form {
  text-align: left;
}

.auth-button {
  width: 100%;
  margin-top: 0.35rem;
}

.auth-error {
  color: #c22c2c;
  margin-top: 1rem;
  min-height: 20px;
  text-align: left;
  font-weight: 700;
}

.auth-extra {
  margin-top: 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-extra a {
  color: var(--swish-green);
  font-weight: 800;
  text-decoration: none;
}

.auth-extra a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==================================================
   Premium Fieldset
   ================================================== */

.premium-fieldset {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  background: var(--swish-green-soft-2);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.025);
  margin-bottom: 2rem;
}

.premium-fieldset legend {
  font-weight: 850;
  font-size: 1.15rem;
  padding: 0 0.4rem;
  color: var(--swish-green);
}

.plan-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.plan-option input {
  margin-top: 5px;
}

.change-message {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 1.4em;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 1px solid rgba(1, 162, 0, 0.32);
  border-radius: 999px;
  background: #ffffff;
  color: var(--swish-green);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.secondary-button:hover {
  background: var(--swish-green-soft);
  border-color: var(--swish-green);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.secondary-button:disabled,
.update-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.plan-option.is-current-plan {
  opacity: 0.7;
  cursor: not-allowed;
}

.plan-option.is-current-plan span::after {
  content: "Huidig pakket";
  display: inline-flex;
  margin-top: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--swish-green);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.change-message.is-success {
  color: #017300;
  font-weight: 750;
}

.change-message.is-error {
  color: #9f1f1f;
  font-weight: 750;
}

.change-message.is-info {
  color: var(--text-muted);
}

#preview-panel ul {
  margin-left: 1.2rem;
  margin-top: 0.7rem;
  line-height: 1.8;
}

#preview-panel li {
  color: var(--text-muted);
}

#preview-panel span {
  color: var(--text-main);
  font-weight: 800;
}

@media (max-width: 640px) {
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .secondary-button,
  .form-actions .update-button {
    width: 100%;
  }
}

/* ==================================================
   Plans Page
   ================================================== */

.plans-intro {
  text-align: center;
  line-height: 1.75;
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 3rem 2rem 1rem;
}

.plans-intro h1 {
  color: var(--text-main);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin-bottom: 1rem;
}

.wisp-info {
  max-width: 980px;
  margin: 3rem auto 0;
  padding: 3rem 2rem !important;
  text-align: left;
}

.wisp-info p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.75;
  font-size: 1.05rem;
}

.wisp-info h2 {
  text-align: center;
  margin-bottom: 1.4rem;
}

.no-risk {
  text-align: center;
}

.bnetza-disclaimer {
  max-width: 900px;
  margin: 3rem auto 0;
}

.bnetza-disclaimer h3 {
  margin-bottom: 0.6rem;
  color: var(--swish-green);
  font-size: 1.15rem;
}

/* ==================================================
   Support Page
   ================================================== */

.support-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.support-card {
  margin-bottom: 2.2rem;
}

.support-card h2,
.support-callout h2 {
  color: var(--swish-green);
  font-size: 1.7rem;
  font-weight: 850;
  margin-bottom: 1rem;
  letter-spacing: -0.035em;
}

.support-card h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 850;
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
}

.support-card p,
.support-callout p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.support-list,
.support-contact {
  margin-left: 1.4rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.support-list li,
.support-contact li {
  margin-bottom: 0.5rem;
}

.support-callout {
  max-width: 900px;
  margin: 4rem auto 3rem;
  text-align: center;
}

/* ==================================================
   Details / FAQ
   ================================================== */

details {
  margin-bottom: 1rem;
  background: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

details:hover {
  background: var(--swish-green-soft-2);
  border-color: rgba(1, 162, 0, 0.22);
}

details summary {
  color: var(--text-main);
  font-weight: 850;
  font-size: 1.05rem;
  outline: none;
}

details p {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* ==================================================
   Landing / Marketing Blocks
   ================================================== */

.landing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.landing-hero {
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 2rem 4rem;
}

.landing-hero h1 {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: var(--text-main);
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.landing-hero .home-subtext {
  font-size: 1.15rem;
  max-width: 760px;
  margin: 0.8rem auto 2rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.landing-section {
  max-width: 900px;
  margin: 3rem auto;
}

.landing-section.alt {
  background: var(--swish-green-soft-2);
}

.landing-section h2 {
  color: var(--swish-green);
  font-size: 1.8rem;
  font-weight: 850;
  margin-bottom: 1rem;
}

.landing-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.landing-section ul {
  margin-left: 1.4rem;
  margin-top: 0.8rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.landing-section li {
  margin-bottom: 0.6rem;
}

.final-cta {
  padding: clamp(4rem, 7vw, 6rem) 2rem;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(1, 162, 0, 0.12), transparent 30%),
    #ffffff;
}

.final-cta > * {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2 {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 0.85rem;
}

.coverage {
  background: var(--bg-section);
}

.data-info {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
}

.data-info h2 {
  color: var(--swish-green);
  font-size: 1.9rem;
  font-weight: 850;
  margin-bottom: 1rem;
}

.trust-strip {
  max-width: 900px;
  margin: 2.5rem auto;
}

.trust-strip ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
  color: var(--text-main);
  font-weight: 800;
}

/* ==================================================
   Mobile Navigation
   ================================================== */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  background: #ffffff;
  color: var(--swish-green);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.menu-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background-color: var(--swish-green);
  border-radius: 999px;
}

/* ==================================================
   Footer
   ================================================== */

footer {
  background: var(--bg-footer);
  padding: 2.25rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border-soft);
}

footer a,
.footer-links a {
  color: var(--swish-green);
  font-weight: 750;
  text-decoration: none;
}

footer a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  margin-top: 0.75rem;
}

/* ==================================================
   Responsive
   ================================================== */

@media (max-width: 900px) {
  .dashboard-detail-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .checkout-form-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header,
  .account-header,
  .auth-header {
    padding: 0.8rem 5%;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  header .main-nav,
  .account-header .main-nav,
  .auth-header .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
    transform: none;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    z-index: 9999;
  }

  header .main-nav.open,
  .account-header .main-nav.open,
  .auth-header .main-nav.open {
    max-height: 680px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transform: none;
  }

  header .main-nav ul,
  .account-header .main-nav ul,
  .auth-header .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0;
  }

  .main-nav a,
  header .cta-button,
  .account-header .cta-button,
  .auth-header .cta-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  header .cta-button,
  .account-header .cta-button,
  .auth-header .cta-button {
    display: none;
  }

  .hero {
    padding: 4rem 1.25rem;
  }

  .hero h1 {
    letter-spacing: -0.045em;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-button {
    width: 100%;
  }

  .features,
  .plans,
  .how-it-works,
  .voip,
  .wisp-info,
  .comparison,
  .coverage,
  .no-risk {
    padding: 4rem 1.25rem;
  }

  .plans-intro {
    padding: 2rem 1.2rem !important;
  }

  .wisp-info {
    padding: 2rem 1.2rem !important;
  }

  .landing {
    padding: 0 1.25rem 4rem;
  }

  .landing-hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .landing-section {
    padding: 2.2rem 1.6rem;
    margin: 2rem auto;
  }

  .policy-card,
  .checkout-card,
  .order-card,
  .support-card,
  .auth-card,
  .invoice-card,
  .dashboard-card,
  .error-card {
    padding: 2rem 1.4rem;
  }

  .support-wrapper,
  .checkout-wrapper,
  .order-wrapper,
  .policy-wrapper,
  .dashboard-wrapper,
  .invoice-wrapper,
  .auth-wrapper,
  .error-wrapper {
    width: min(92%, 980px);
    margin: 2.5rem auto;
  }

  .trust-strip ul {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .comparison-table,
  .invoice-table {
    min-width: 640px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .logo,
  header .logo,
  .account-header .logo,
  .auth-header .logo {
    font-size: 1.45rem;
  }

  .logo img,
  header .logo img,
  .account-header .logo img,
  .auth-header .logo img {
    height: 38px;
  }

  .feature,
  .plan-card,
  .landing-section,
  .data-info,
  .order-next-section {
    border-radius: var(--radius-lg);
  }

  .plan-card,
  .feature {
    padding: 1.25rem;
  }

  .dashboard-actions {
    flex-direction: column;
  }

  .dashboard-button {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==================================================
   Reduced Motion
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==================================================
   Compatibility / Legacy Page Classes
   ================================================== */

.global-header {
  position: sticky;
  top: 0;
}

.hero-subtext {
  max-width: 760px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.hero-secondary-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-secondary-button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.hero-secondary-button:hover {
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.primary-button {
  background: var(--swish-green);
  color: #ffffff;
  border: 1px solid var(--swish-green);
}

.primary-button:hover {
  background: var(--swish-green-dark);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-trustline,
.hero .hero-trustline {
  display: inline-flex;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: 0;
}

.plan-card.featured {
  border-color: rgba(1, 162, 0, 0.42);
  box-shadow: 0 16px 44px rgba(1, 162, 0, 0.12);
}

.plan-price {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 900;
}

.plan-price span {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-description,
.plan-desc {
  color: var(--text-muted) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.6;
}

.use-cases,
.performance-note,
.acm-disclaimer,
.change-card,
.cancel-card,
.checkout-account-box,
.checkout-billing-box,
.checkout-next-steps {
  max-width: 900px;
  margin: 3rem auto;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.use-cases h2,
.performance-note h2,
.checkout-next-steps h2,
.checkout-billing-box h3 {
  color: var(--swish-green);
  font-size: 1.8rem;
  font-weight: 850;
  margin-bottom: 1rem;
}

.use-cases ul,
.checkout-next-steps ol,
.dashboard-steps,
.dashboard-list {
  margin-left: 1.4rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.use-cases li,
.checkout-next-steps li,
.dashboard-steps li,
.dashboard-list li {
  margin-bottom: 0.5rem;
}

.performance-note p,
.checkout-billing-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.acm-disclaimer {
  background: var(--swish-green-soft-2);
  border-left: 5px solid var(--swish-green);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.auth-success {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--swish-green-soft-2);
  border-left: 4px solid var(--swish-green);
  color: #017300;
  font-weight: 700;
  line-height: 1.65;
}

.auth-divider,
.cancel-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 2rem 0;
}

.auth-reassurance,
.cancel-note,
.cancel-support,
.cancel-confirm-text,
.change-intro,
.change-note,
.input-help,
.dashboard-card-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.auth-consent {
  margin: 1.2rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.auth-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.auth-consent input {
  margin-top: 0.35rem;
}

.label-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

.inline-link,
.dashboard-inline-link,
.cancel-link {
  color: var(--swish-green);
  font-weight: 800;
  text-decoration: none;
}

.inline-link:hover,
.dashboard-inline-link:hover,
.cancel-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.change-wrapper,
.cancel-wrapper {
  width: min(90%, 980px);
  margin: 4rem auto;
}

.change-card,
.cancel-card {
  max-width: 760px;
}

.change-card h1,
.cancel-card h1 {
  text-align: center;
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin-bottom: 0.8rem;
}

.change-benefits {
  background: var(--swish-green-soft-2);
  border: 1px solid rgba(1, 162, 0, 0.16);
  border-left: 5px solid var(--swish-green);
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.change-benefits ul {
  margin-left: 1.4rem;
  margin-top: 0.75rem;
  line-height: 1.8;
}

.change-plan-form,
.cancel-form {
  margin-top: 1.5rem;
}

.cancel-help-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.cancel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--swish-green);
  color: #ffffff;
}

.cancel-link:hover {
  background: var(--swish-green-dark);
  color: #ffffff;
  text-decoration: none;
}

.cancel-message {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 1.4em;
}

.checkout-account-box,
.checkout-billing-box {
  background: var(--swish-green-soft-2);
  border-left: 5px solid var(--swish-green);
}

.checkout-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin: 2rem 0;
}

.checkout-trust-bar div {
  background: var(--swish-green-soft-2);
  border: 1px solid rgba(1, 162, 0, 0.16);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--text-main);
  font-weight: 800;
  text-align: center;
}

.summary-section {
  margin-bottom: 1.5rem;
}

.summary-highlight {
  color: var(--swish-green);
  font-size: 1.2rem;
  font-weight: 850;
}

.footer-legal {
  margin-top: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-secondary-button,
  .primary-button {
    width: 100%;
  }

  .change-wrapper,
  .cancel-wrapper {
    width: min(92%, 980px);
    margin: 2.5rem auto;
  }

  .use-cases,
  .performance-note,
  .acm-disclaimer,
  .change-card,
  .cancel-card,
  .checkout-account-box,
  .checkout-billing-box,
  .checkout-next-steps {
    padding: 2rem 1.4rem;
  }

  .label-row {
    flex-direction: column;
    gap: 0.25rem;
  }
}