:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #65706d;
  --paper: #f6f7f4;
  --white: #ffffff;
  --line: #d4dad7;
  --teal: #087f72;
  --teal-dark: #05665c;
  --yellow: #f3c64e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

.hero {
  position: relative;
  display: grid;
  min-height: min(78svh, 760px);
  overflow: hidden;
  color: var(--white);
  background: #17211f url("/assets/precision-workshop.png") center / cover no-repeat;
}

.hero::before { position: absolute; inset: 0; content: ""; background: rgba(8, 17, 16, 0.62); }
.site-nav, .hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; align-self: start; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.brand { text-decoration: none; font-size: 18px; font-weight: 800; }
.nav-actions, .hero-actions { display: flex; align-items: center; gap: 10px; }
.site-nav .language-picker { color: var(--white); }
.hero-content { align-self: center; max-width: 1180px; padding: 42px 0 78px; }
.eyebrow { margin: 0 0 12px; color: var(--yellow); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: 1.02; letter-spacing: 0; }
.hero-copy { max-width: 620px; margin: 22px 0 30px; color: #edf3f0; font-size: 20px; line-height: 1.55; }

.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; padding: 9px 16px; text-decoration: none; font-size: 14px; font-weight: 700; }
.button-large { min-height: 48px; padding: 12px 20px; }
.button-primary { background: var(--teal); color: var(--white); }
.button-primary:hover { background: var(--teal-dark); }
.button-quiet { color: var(--white); }
.button-outline { border-color: rgba(255, 255, 255, 0.62); color: var(--white); }
.button-dark { background: var(--ink); color: var(--white); }

.plans-section { padding: 72px 20px 82px; background: var(--paper); }
.section-heading, .plan-grid { width: min(1120px, 100%); margin-right: auto; margin-left: auto; }
.section-heading { margin-bottom: 34px; }
.section-heading .eyebrow { color: var(--teal-dark); }
.section-heading h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: 0; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card { display: flex; min-height: 370px; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-top: 5px solid #87918e; border-radius: 8px; padding: 26px; background: var(--white); }
.plan-card-featured { border-top-color: var(--teal); }
.plan-kicker { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.plan-card h3 { margin: 8px 0 12px; font-size: 26px; }
.plan-price { display: flex; min-height: 48px; align-items: baseline; gap: 4px; margin: 0 0 8px; color: var(--muted); }
.plan-price strong { color: var(--ink); font-size: 34px; }
.plan-price span { font-size: 14px; }
.plan-limit { min-height: 48px; margin: 0; color: var(--muted); }
.plan-limit strong { color: var(--ink); font-size: 28px; }
.plan-card ul { flex: 1; margin: 24px 0; padding-left: 20px; color: #45504d; line-height: 1.9; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px max(20px, calc((100% - 1120px) / 2)); border-top: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 13px; }
.brand-dark { color: var(--ink); }

@media (max-width: 760px) {
  .hero { min-height: 76svh; background-position: 62% center; }
  .site-nav, .hero-content { width: min(100% - 28px, 1180px); }
  .site-nav { flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .brand { font-size: 15px; }
  .nav-actions .button-quiet { display: none; }
  .nav-actions { gap: 6px; }
  .hero-content { padding-bottom: 52px; }
  .hero h1 { font-size: 44px; overflow-wrap: anywhere; }
  .hero-copy { font-size: 17px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 330px; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 440px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
}
