/* The palette mirrors the workspace tokens in frontend/src/index.css, including the dark values
   that follow the system setting on screen. */
:root {
  color-scheme: light dark;
  --page: #f7f6f1;
  --foreground: #19362c;
  --card: #ffffff;
  --primary: #1b634d;
  --primary-hover: #134c3a;
  --primary-foreground: #ffffff;
  --secondary: #e9efe6;
  --tint: #e6efe8;
  --muted-foreground: #566b5e;
  --subtle-foreground: #61776b;
  --hint: #75877b;
  --link: #236348;
  --eyebrow: #277654;
  --positive: #31805b;
  --planned: #8b6b41;
  --panel-border: #e1e8df;
  --border: #d8e2d9;
  --input: #b7c8bd;
  --input-hover: #87ab94;
  --button-secondary: #ffffff99;
  --error: #8a2532;
  --error-background: #fff0f1;
  --success-background: #edf7f1;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--foreground);
  background: var(--page);
}
@media screen and (prefers-color-scheme: dark) {
  :root {
    --page: #070a09;
    --foreground: #d3d6d4;
    --card: #0a0e0d;
    --primary: #809589;
    --primary-hover: #8ca195;
    --primary-foreground: #080e0c;
    --secondary: #151a18;
    --tint: #1b211f;
    --muted-foreground: #99a19d;
    --subtle-foreground: #929a96;
    --hint: #86928a;
    --link: #83948e;
    --eyebrow: #83948e;
    --positive: #83948e;
    --planned: #c5a46b;
    --panel-border: #1f2523;
    --border: #282f2d;
    --input: #3c4441;
    --input-hover: #67726d;
    --button-secondary: #0a0e0d99;
    --error: #eaa19d;
    --error-background: #2b0e11;
    --success-background: #1c2622;
  }
}
@media print {
  :root {
    color-scheme: light;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
}
/* Focus ring for the landing page and Razor pages, in the workspace ring colour (--ring).
   The /app workspace defines the same ring in frontend/src/index.css. */
@layer base {
  :is(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
  }
}
.site-header {
  background: var(--page);
  border-bottom: 1px solid var(--panel-border);
}
.header-inner {
  max-width: 1240px;
  min-height: 84px;
  padding: 0 28px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 23px;
  line-height: 1;
  font-family: Georgia, serif;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}
.site-nav a {
  text-decoration: none;
}
.nav-about {
  color: var(--muted-foreground);
}
.nav-about:hover,
.text-link:hover {
  color: var(--primary);
}
.nav-action {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--primary);
  border-radius: 100px;
  padding: 11px 17px;
  color: var(--primary);
  white-space: nowrap;
}
.nav-action:hover {
  background: var(--tint);
}
.page-shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  flex: 1;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  padding: clamp(68px, 8vw, 112px) 0 112px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--eyebrow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63b785;
}
.hero h1 {
  max-width: 710px;
  margin: 22px 0 25px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.055em;
}
.hero-lead {
  max-width: 570px;
  color: var(--muted-foreground);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 730;
}
.button-primary {
  color: var(--primary-foreground);
  background: var(--primary);
  box-shadow: 0 8px 18px #1b634d24;
}
.button-primary:hover {
  background: var(--primary-hover);
}
.button-secondary {
  color: var(--foreground);
  border: 1px solid var(--border);
  background: var(--button-secondary);
}
.button-secondary:hover {
  background: var(--card);
  border-color: var(--input-hover);
}
.hero-caption {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--hint);
  font-size: 13px;
  line-height: 1.55;
}
.workflow-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 24px;
  background: #173f35;
  color: #fff;
  box-shadow: 0 30px 75px #173f3530;
}
.workflow-card::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -140px;
  top: -120px;
  border: 1px solid #ffffff2b;
  border-radius: 50%;
  box-shadow:
    0 0 0 42px #ffffff08,
    0 0 0 90px #ffffff06;
  pointer-events: none;
}
.workflow-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 650;
}
.workflow-symbol {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: #d6e9d6;
  color: #1a503b;
  font-family: Georgia, serif;
  font-size: 18px;
}
.workflow-step {
  position: relative;
  display: flex;
  gap: 17px;
  align-items: flex-start;
  padding: 17px 18px;
  margin-top: 9px;
  background: #ffffff12;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
}
.step-number {
  color: #add6b7;
  font-size: 12px;
  font-weight: 750;
  padding-top: 2px;
}
.workflow-step strong,
.workflow-step div span {
  display: block;
}
.workflow-step strong {
  font-size: 15px;
  font-weight: 650;
}
.workflow-step div span {
  color: #c2d8cc;
  font-size: 12px;
  margin-top: 5px;
}
.features {
  scroll-margin-top: 30px;
  padding: 75px 0 100px;
  border-top: 1px solid var(--panel-border);
}
.section-heading {
  max-width: 620px;
}
.section-heading h2,
.current-state h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.section-heading h2 {
  margin: 17px 0;
}
.section-heading > p:last-child {
  color: var(--subtle-foreground);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 27px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 30px #1d48320a;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--eyebrow);
  font-size: 12px;
  font-weight: 800;
}
.feature-card h3 {
  margin: 25px 0 9px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.feature-card p {
  margin: 0;
  color: var(--subtle-foreground);
  font-size: 14px;
  line-height: 1.6;
}
.feature-state {
  margin-top: auto;
  padding-top: 25px;
  color: var(--positive);
  font-size: 12px;
  font-weight: 720;
}
.feature-state-planned {
  color: var(--planned);
}
.feature-state + .feature-state {
  margin-top: 0;
  padding-top: 6px;
}
.current-state {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 45px;
  border-radius: 21px;
  background: var(--secondary);
}
.current-state > div {
  max-width: 680px;
}
.current-state h2 {
  margin: 15px 0;
  font-size: clamp(32px, 3.5vw, 45px);
}
.current-state p:last-child {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.text-link {
  flex-shrink: 0;
  display: inline-flex;
  gap: 20px;
  align-items: center;
  color: var(--link);
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 7px;
}
.footnote {
  margin: 18px 0 64px;
  color: var(--hint);
  font-size: 12px;
}
.site-footer {
  border-top: 1px solid var(--panel-border);
  color: var(--hint);
  font-size: 12px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px;
}
.footer-divider {
  padding: 0 5px;
}
.login {
  max-width: 490px;
  margin: 72px auto 100px;
  padding: 38px;
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 15px 40px #1d483212;
}
.login h1 {
  margin: 14px 0;
  font-family: Georgia, serif;
  font-size: 43px;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.login p {
  color: var(--muted-foreground);
  line-height: 1.55;
}
.login form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.login label {
  font-weight: 650;
  font-size: 14px;
}
.login input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--input);
  border-radius: 8px;
  color: inherit;
  background: var(--card);
  font: inherit;
}
.login button {
  margin-top: 9px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.login button:hover {
  background: var(--primary-hover);
}
.notice {
  padding: 12px;
  border-radius: 8px;
  color: var(--error) !important;
  background: var(--error-background);
}
.notice:empty {
  display: none;
}
.notice-success {
  color: var(--primary) !important;
  background: var(--success-background);
}
.login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 14px;
}
.login-links a {
  color: var(--primary);
  font-weight: 650;
}
.login .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.login .consent input {
  width: auto;
  margin-top: 3px;
}
.login .consent a {
  color: var(--primary);
  font-weight: 650;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-links a {
  color: var(--primary);
}
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 0 90px;
  line-height: 1.65;
}
.legal h1 {
  margin: 14px 0 8px;
  font-family: Georgia, serif;
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.legal h2 {
  margin: 44px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.legal h3 {
  margin: 28px 0 6px;
  font-size: 17px;
}
.legal p,
.legal li {
  color: var(--muted-foreground);
}
.legal ul,
.legal ol {
  padding-left: 22px;
}
.legal a {
  color: var(--link);
}
.legal .legal-meta {
  color: var(--hint);
  font-size: 14px;
}
.legal .legal-notice {
  margin: 22px 0;
  padding: 14px 16px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: var(--tint);
}
.legal .legal-table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.legal .legal-table th,
.legal .legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--panel-border);
  text-align: left;
  vertical-align: top;
}
.legal .legal-table th {
  color: var(--foreground);
  background: var(--tint);
}
.legal .legal-table-scroll {
  overflow-x: auto;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 65px 0 80px;
  }
  .workflow-card {
    max-width: 610px;
  }
  .features {
    padding: 65px 0;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 0;
  }
  .current-state {
    display: block;
    padding: 30px;
  }
  .text-link {
    margin-top: 26px;
  }
}
@media (max-width: 520px) {
  .header-inner {
    min-height: 72px;
    padding: 0 20px;
  }
  .page-shell {
    padding: 0 20px;
  }
  .nav-about {
    display: none;
  }
  .site-nav {
    gap: 8px;
  }
  .nav-action {
    padding: 10px 13px;
    gap: 8px;
  }
  .hero {
    padding: 54px 0 70px;
  }
  .hero h1 {
    font-size: clamp(42px, 11vw, 56px);
  }
  .hero-actions {
    display: grid;
  }
  .workflow-card {
    padding: 22px;
  }
  .features {
    padding: 56px 0;
  }
  .footer-inner {
    padding: 25px 20px;
  }
  .login {
    margin: 38px auto 70px;
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--card);
}
.skip-link:focus {
  top: 12px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 42px 0 20px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  scroll-margin-top: 30px;
}
.plan-card h3 {
  margin: 22px 0 8px;
  font-size: 25px;
}
.plan-card .plan-price {
  margin: 0;
  font-size: 52px;
  font-weight: 750;
  letter-spacing: -0.05em;
  color: var(--foreground);
}
.plan-price span {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
}
.plan-card p,
.plan-card li {
  color: var(--muted-foreground);
  line-height: 1.65;
  font-size: 14px;
}
.plan-card .plan-equivalent {
  font-size: 12px;
  margin-top: 0;
}
.plan-card .plan-pitch {
  font-size: 18px;
  font-weight: 700;
  color: var(--foreground);
}
.plan-card ul {
  padding-left: 20px;
  margin-bottom: 28px;
}
.plan-card li + li {
  margin-top: 10px;
}
.plan-card .button {
  margin-top: auto;
}
.pricing-intro {
  padding: 80px 0 40px;
}
.pricing-intro h1 {
  margin: 22px 0;
  font-family: Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
}
.pricing-notice {
  padding: 18px 22px;
  margin: 30px 0;
  background: var(--secondary);
  border-radius: 12px;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.comparison-scroll {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.comparison-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  background: var(--card);
  font-size: 14px;
  line-height: 1.5;
}
.comparison-table caption {
  text-align: left;
  padding: 18px;
  color: var(--muted-foreground);
}
.comparison-table th,
.comparison-table td {
  padding: 18px;
  text-align: left;
  border-top: 1px solid var(--border);
}
.comparison-table thead {
  background: var(--secondary);
}
.comparison-table tbody th {
  width: 34%;
  font-weight: 600;
}
.comparison-table td {
  color: var(--muted-foreground);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  line-height: 1.6;
}
.faq details p {
  max-width: 760px;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.current-state p + p {
  margin-top: 16px;
}
#availability {
  scroll-margin-top: 30px;
}
@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }
  .pricing-intro {
    padding-top: 54px;
  }
}
