:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --text: #1f2933;
  --body: #4b5863;
  --muted: #75808a;
  --accent: #2f6785;
  --line: #d8dee3;
  --max: 1020px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

header {
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 248, 0.97);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover,
.product-title a:hover,
.card-title a:hover,
.text-link:hover {
  color: var(--accent);
}

.hero {
  padding: 88px 0 82px;
  border-bottom: 1px solid var(--line);
}

.hero-copy { max-width: 800px; }

.hero h1,
.product-hero h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hero-statement {
  margin-top: 30px;
  max-width: 820px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 500;
}

.hero-support,
.product-intro,
.section-copy {
  margin-top: 24px;
  max-width: 760px;
  color: var(--body);
  font-size: 19px;
}

.hero-close,
.section-close {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 600;
}

.hero-solution {
  margin-top: 54px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.section {
  padding: 66px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.cards {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.card-status {
  margin: 3px 0 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: right;
}

.card-title,
.product-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
}

.card-title a,
.product-title a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.card-subtitle,
.product-kicker {
  margin-top: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card-copy {
  margin: 22px 0 0;
  color: var(--body);
  font-size: 17px;
  flex: 1;
}

.card-link,
.text-link {
  margin-top: 24px;
  align-self: flex-start;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.approach { text-align: center; }

.flow {
  margin: 40px auto 0;
  width: min(100%, 460px);
}

.flow-step {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
}

.flow-arrow {
  margin: 8px 0;
  color: var(--accent);
  font-size: 26px;
  line-height: 1;
}

.product-hero {
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
}

.product-title-wrap {
  max-width: 760px;
}

.product-tagline {
  margin-top: 22px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.content-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 54px;
  align-items: start;
}

.content-grid h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.content-grid p {
  margin: 0 0 16px;
  color: var(--body);
  font-size: 18px;
}

.content-grid ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--body);
  font-size: 18px;
}

.cta {
  padding: 58px 0 64px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 46px;
  align-items: start;
}

.cta h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.cta-copy {
  margin: 2px 0 0;
  color: var(--body);
  font-size: 20px;
}

.cta-copy strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-weight: 500;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.cta-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

footer {
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .content-grid,
  .cta-grid { grid-template-columns: 1fr; gap: 18px; }
  .hero { padding: 64px 0 58px; }
  .section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }

  nav {
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero { padding-top: 48px; }

  .hero-support,
  .product-intro,
  .section-copy,
  .hero-close,
  .section-close,
  .content-grid p,
  .content-grid ul,
  .cta-copy {
    font-size: 17px;
  }

  .card { min-height: auto; }
}


/* Product-page alignment refinement — v1.0.1 */
.product-page .content-grid {
  display: block;
  max-width: 860px;
}

.product-page .content-grid h2 {
  margin: 0 0 22px;
}

.product-page .content-grid p:last-child {
  margin-bottom: 0;
}

.product-page .cta-grid {
  display: block;
  max-width: 860px;
}

.product-page .cta h2 {
  margin-bottom: 22px;
}

.product-page .cta-copy {
  margin-top: 0;
}

/* Final presentation refinement — v1.0.2 */

/* Make application names read clearly as primary actions. */
.card-title a {
  color: var(--accent);
  border-bottom-color: rgba(47, 103, 133, 0.45);
  font-weight: 600;
}

.card-title a::after {
  content: "  →";
  font-size: 0.72em;
  font-weight: 500;
}

.card:hover {
  border-color: #bdc9d1;
}

.card:hover .card-title a {
  border-bottom-color: var(--accent);
}

/* Keep the landing page compact and connect headings to their content. */
#applications.section {
  padding-top: 58px;
  padding-bottom: 58px;
}

#applications .cards {
  margin-top: 24px;
}

.card {
  padding: 32px;
}

.card-subtitle {
  margin-top: 10px;
}

.card-copy {
  margin-top: 20px;
}

.card-link {
  margin-top: 26px;
}

/* Product Learn More pages: denser, calmer, and easier to scan on laptops. */
.product-page .product-hero {
  padding: 62px 0 56px;
}

.product-page .product-kicker {
  font-size: 15px;
}

.product-page .product-tagline {
  margin-top: 18px;
}

.product-page .section {
  padding: 48px 0 50px;
}

.product-page .content-grid {
  max-width: 760px;
}

.product-page .content-grid h2 {
  margin-bottom: 20px;
  font-weight: 600;
}

.product-page .content-grid p {
  margin-bottom: 13px;
  line-height: 1.65;
}

.product-page .cta {
  padding: 50px 0 54px;
}

.product-page .cta-grid {
  max-width: 760px;
}

.product-page .cta h2 {
  margin-bottom: 20px;
}

/* Align the landing-page closing statement without spreading it out. */
#try .cta-grid {
  align-items: center;
}

@media (max-width: 820px) {
  .product-page .product-hero {
    padding: 52px 0 46px;
  }

  .product-page .section {
    padding: 42px 0 44px;
  }
}


/* Website Freeze v1.1 — final geometry and interaction refinements */
.cards {
  align-items: stretch;
}

.card {
  height: 100%;
}

.card-link {
  margin-top: auto;
  padding-top: 24px;
}

.card-title a:focus-visible,
.card-link:focus-visible,
.cta-links a:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* Keep the fifth product aligned to the same card width without stretching it. */
@media (min-width: 821px) {
  .cards .card:last-child:nth-child(odd) {
    grid-column: 1;
  }
}

/* Beta status — right-aligned under product title */
.card-status {
  display: block;
  margin-top: 4px;
  margin-left: auto;
  margin-right: 0;
  width: fit-content;
  color: #1497ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Beta status aligned to tagline width */
.status-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-start;
}

.status-wrap > span:first-child {
  align-self: flex-start;
}

.status-wrap .card-status {
  width: auto;
  margin: 4px 0 0;
  color: #1497ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right !important;
}

/* Beta status refinement */
.status-wrap .card-status {
  margin-top: 2px;
  color: #2b8fd3;
  font-size: 11px;
  font-weight: 600;
}

/* AI Governance by Design refinement */
.governance-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.governance-point h3 {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
}

.governance-point p {
  margin: 0;
  color: var(--body);
}

