.astra-redesign {
  --night: #101e29;
  --ink: #132b33;
  --muted: #526469;
  --mint: #bcf4d4;
  --rule: #d3dfdc;
  --gutter: clamp(1.1rem, 5vw, 4rem);
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 1rem/1.55 Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;

  *, *::before, *::after { box-sizing: border-box; }
  [hidden] { display: none !important; }
  h1, h2, h3, p, figure, dl, dd { margin: 0; }
  h1, h2, h3 { line-height: 1.06; }
  a { color: inherit; text-underline-offset: .22em; }
  button { font: inherit; cursor: pointer; }
  :focus-visible { outline: 3px solid #9071df; outline-offset: 4px; }
  img { display: block; max-width: 100%; }
  .measure, .launch-pricing-content { width: min(calc(100% - var(--gutter) * 2), 73rem); margin-inline: auto; }
  .skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2; transform: translateY(-160%); padding: .75rem; background: white; }
  .skip-link:focus { transform: none; }

  .masthead, footer { background: var(--night); color: white; }
  .masthead { border-bottom: 1px solid #ffffff26; }
  .masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 4.25rem; }
  .brand { width: 8.2rem; max-width: 100%; }
  .brand img { width: 100%; height: auto; }
  nav, .hero-actions, .footer-inner { display: flex; align-items: center; }
  nav { gap: 2rem; }
  nav a, .footer-inner a { text-decoration: none; font-size: .9375rem; }
  nav a:hover, .footer-inner a:hover { text-decoration: underline; }
  .app-link { justify-self: end; padding: .45rem .95rem; border: 1px solid #83949b; border-radius: .3rem; font-weight: 580; font-size: .9375rem; text-decoration: none; }
  .app-link:hover { background: #31404c; }

  .hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: radial-gradient(ellipse at 12% 88%, #1d534a 0, transparent 48%),
                radial-gradient(ellipse at 95% 90%, #403658 0, transparent 47%), var(--night);
    padding-bottom: clamp(2rem, 4.5vw, 4rem);
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(#d4e9df0c 1px, transparent 1px), linear-gradient(90deg, #d4e9df0c 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(transparent, #000 68%);
  }
  .hero-copy { padding-block: clamp(2.5rem, 4.7vw, 4.7rem) clamp(2rem, 3.5vw, 3.25rem); text-align: center; }
  .hero h1 { font-size: clamp(2.35rem, 5.7vw, 5.35rem); font-weight: 610; line-height: .99; letter-spacing: -.062em; }
  .hero h1 span { color: var(--mint); }
  .hero-copy p { max-width: 40rem; margin: 1.25rem auto 0; font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.5; color: #c7d6d8; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 1.5rem; }
  .primary-button { display: inline-flex; align-items: center; justify-content: center; padding: .78rem 1.2rem; border-radius: .3rem; background: var(--mint); color: #142e2b; font-weight: 650; text-decoration: none; }
  .primary-button:hover { background: #d8ffe6; }
  .demo-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-size: .9375rem; }
  .demo-link:hover { text-decoration: underline; }
  .demo-link span { color: var(--mint); font-size: .8em; }
  .demo-link small { color: #b2c3c8; font-variant-numeric: tabular-nums; font-size: .8125rem; }

  .workflow-board { border: 1px solid #82999980; border-radius: .75rem; overflow: hidden; background: #192e39; box-shadow: 0 18px 48px #060d1936; }
  .workflow-board figcaption, .board-log, .board-title, .node-heading { display: flex; align-items: center; }
  .workflow-board figcaption { justify-content: space-between; gap: 1rem; padding: .8rem 1.4rem; border-bottom: 1px solid #ffffff20; background: #132530; }
  .board-title { gap: .65rem; font-size: 1rem; font-weight: 620; }
  .board-title img { filter: invert(87%) sepia(16%) saturate(590%) hue-rotate(85deg); }
  .board-caption { color: #b8c9cd; font-size: .8125rem; }
  .board-canvas {
    --wire: clamp(2rem, 4.2vw, 4.25rem);
    display: grid;
    grid-template-columns: 1.22fr .88fr 1.08fr;
    align-items: center;
    gap: var(--wire);
    padding: clamp(1.65rem, 3.15vw, 3rem);
    background: radial-gradient(#83969f57 .85px, transparent 1px) 0 0 / 15px 15px,
                linear-gradient(110deg, #1c393d, #25343f 57%, #363448);
  }
  .board-node { min-width: 0; position: relative; border: 1px solid #b9c9c7; border-radius: .55rem; background: #fff; color: var(--ink); box-shadow: 0 .4rem 1.2rem #08121d4a; }
  .board-node + .board-node::before {
    content: "";
    position: absolute;
    right: calc(100% + 1px);
    top: 50%;
    width: var(--wire);
    height: 2px;
    background: #b8e9d2;
  }
  .board-node + .board-node::after {
    content: "";
    position: absolute;
    left: -5px;
    top: calc(50% - 3px);
    width: 8px;
    height: 8px;
    border: 1.5px solid #a2c8b5;
    border-radius: 50%;
    background: #203a37;
  }
  .board-node + .outreach-node::before { background: #d4c1f0; }
  .node-heading { gap: .65rem; padding: .85rem 1rem; }
  .node-heading small { display: block; color: #555f68; font-size: .8125rem; line-height: 1.25; margin-bottom: .15rem; }
  .node-heading h3 { font-size: 1.13rem; font-weight: 650; letter-spacing: -.03em; }
  .node-icon { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: .35rem; background: #e6ddfb; }
  .sheet-node .node-heading { background: #deefe5; border-radius: .5rem .5rem 0 0; }
  .sheet-icon { width: 1.3rem; height: 1.13rem; border: 1.5px solid #347357; border-radius: .14rem; background: linear-gradient(90deg, transparent 30%, #347357 31% 39%, transparent 40%), linear-gradient(transparent 36%, #347357 37% 45%, transparent 46%); }
  .sheet-node table { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.3; text-align: left; }
  .sheet-node th, .sheet-node td { padding: .55rem .8rem; font-weight: 450; border-top: 1px solid #e1e8e5; }
  .sheet-node thead th { background: #f5f8f5; font-size: .8125rem; color: #50645b; }
  .sheet-node .selected-row { background: #d7f4e1; color: #174b37; box-shadow: inset 3px 0 #27895c; }
  .selected-row th, .selected-row td { font-weight: 650; }
  .research-fields { margin: 0 1rem .9rem; border-top: 1px solid var(--rule); padding-top: .55rem; }
  .research-fields > div { display: flex; justify-content: space-between; gap: .45rem; font-size: .875rem; line-height: 1.75; }
  .research-fields dt { color: var(--muted); }
  .research-fields dd { font-weight: 570; }
  .outreach-node .node-icon { background: #fee5bb; }
  .outreach-node p { margin-inline: 1rem; color: var(--muted); font-size: .875rem; }
  .outcome-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 1rem 1rem; }
  .outcome-actions button, .reset-example {
    padding: .42rem .65rem;
    border: 1px solid #536b71;
    border-radius: .25rem;
    background: white;
    color: var(--ink);
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.3;
  }
  .outcome-actions button:first-child { background: #21483f; color: white; border-color: #21483f; }
  .outcome-actions button:hover, .reset-example:hover { background: #e7f4ed; color: var(--ink); }
  .reset-example { margin: .75rem 1rem 1rem; }
  .board-log { gap: .65rem; padding: .65rem 1.4rem; background: #12252e; border-top: 1px solid #ffffff20; }
  .board-log img { filter: invert(86%); }
  .board-log p { color: #d2dfdc; font-size: .875rem; }

  .film-section, .capabilities, .launch-pricing, .closing { padding-block: clamp(3.5rem, 6.8vw, 6.5rem); }
  .film-section, .capabilities-inner, .launch-pricing-heading { display: grid; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
  .film-section { grid-template-columns: .8fr 1.55fr; }
  .film-copy h2, .capabilities h2, .launch-pricing-heading h2, .closing h2 { font-size: clamp(2.45rem, 4.3vw, 4rem); font-weight: 610; letter-spacing: -.055em; line-height: 1.02; }
  .film-copy h2 span { color: #32795e; }
  .film-copy p { margin-top: 1.1rem; color: var(--muted); max-width: 29rem; }
  .film-section video { display: block; width: 100%; height: auto; border-radius: .5rem; border: 1px solid #c6d1d0; background: var(--night); box-shadow: 0 .8rem 2rem #213d4d12; }

  .capabilities { background: #edf4ef; }
  .capabilities-inner { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .comparison { margin-top: 2rem; max-width: 26rem; }
  .comparison > div { display: grid; grid-template-columns: 3.5rem 1fr; gap: .9rem; padding-block: .7rem; }
  .comparison dt { font-size: .875rem; padding-top: .1rem; font-weight: 650; color: #466459; }
  .comparison dd { color: #3c534b; }
  .feature-list { border-top: 1px solid #b1c9bc; }
  .feature-list details { border-bottom: 1px solid #b1c9bc; }
  .feature-list summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.15rem; cursor: pointer; font-size: clamp(1.05rem, 1.65vw, 1.4rem); font-weight: 590; line-height: 1.3; letter-spacing: -.028em; list-style: none; }
  .feature-list summary::-webkit-details-marker { display: none; }
  .feature-list summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; }
  .feature-list details[open] summary::after { content: "−"; }
  .feature-list p { max-width: 36rem; padding-bottom: 1.25rem; color: #455d52; }

  .launch-pricing { margin: 0; }
  .launch-pricing-heading { grid-template-columns: 1fr 1fr; max-width: none; margin-bottom: 2rem; }
  .launch-pricing-heading > p:last-child { margin: 0; font-size: 1rem; color: var(--muted); }
  .launch-pricing-table-wrap { border-radius: .5rem; border-color: var(--rule); }
  .launch-pricing-table caption, .launch-pricing-table .launch-pricing-actions > * { background: #f4f8f6; }
  .launch-pricing-table thead th, .launch-pricing-table thead tr > :first-child { background: #e0eee6; color: #284f41; }
  .launch-pricing-table td, .launch-pricing-table th { border-color: var(--rule); padding-block: .8rem; }
  .launch-pricing-button { border-radius: .25rem; border-color: #345f4d; background: #285240; }
  .launch-pricing-button:hover { background: #173d2d; }
  .launch-pricing-button--secondary { background: white; color: #285240; }
  .launch-pricing-button--secondary:hover { background: #edf4ef; color: #173d2d; }
  .launch-pricing-scroll-hint { margin-bottom: .75rem; }
  .launch-pricing-note { margin-top: 1rem; }
  .landing-pricing-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 3rem; margin-top: 2.25rem; }
  .landing-pricing-answers > div { border-top: 1px solid var(--rule); padding-top: 1.2rem; }
  .landing-pricing-answers h3 { font-size: 1.125rem; letter-spacing: -.025em; }
  .landing-pricing-answers p { margin-top: .5rem; color: var(--muted); }
  .closing { background: #bbefce; color: #153a2e; }
  .closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .closing .primary-button { color: white; background: #183e31; }
  .closing .primary-button:hover { background: #275a48; }
  .closing p { margin-top: 1rem; }
  .footer-inner { gap: 1.25rem; padding-block: 1.6rem; }
  .footer-inner .brand { margin-right: auto; width: 7rem; }

  @media (max-width: 52rem) {
    .board-canvas { --wire: 1.5rem; padding: 1.5rem 1rem; grid-template-columns: 1.1fr .84fr 1.02fr; }
    .sheet-node th, .sheet-node td { padding-inline: .5rem; }
    .film-section { grid-template-columns: .8fr 1.2fr; }
    .capabilities-inner, .launch-pricing-heading { gap: 1.5rem; }
  }
  @media (max-width: 42rem) {
    .masthead-inner { grid-template-columns: 1fr auto auto; min-height: 3.75rem; }
    nav a[href="#demo"] { display: none; }
    .brand { width: 7.3rem; }
    .wide-break { display: none; }
    .hero-copy p { max-width: 27rem; }
    .hero-actions { gap: .85rem 1rem; }
    .workflow-board figcaption, .board-log { padding-inline: .9rem; }
    .workflow-board figcaption { flex-direction: column; align-items: flex-start; gap: .15rem; }
    .board-caption { order: -1; }
    .board-canvas { --wire: 1.35rem; grid-template-columns: minmax(0, 1fr); padding: 1.3rem clamp(1rem, 7vw, 3rem); }
    .board-node + .board-node::before { left: 1.9rem; top: auto; bottom: calc(100% + 1px); height: var(--wire); width: 2px; }
    .board-node + .board-node::after { left: calc(1.9rem - 3px); top: -5px; }
    .sheet-node th, .sheet-node td { padding-inline: .75rem; }
    .film-section, .capabilities-inner, .launch-pricing-heading, .landing-pricing-answers { grid-template-columns: minmax(0, 1fr); }
    .film-copy br { display: none; }
    .film-copy h2 { max-width: 12ch; }
    .film-copy p { max-width: 36rem; }
    .comparison { margin-top: 1rem; }
    .launch-pricing-table { min-width: 47rem; }
    .launch-pricing-table tr > :first-child { width: 7.5rem; }
    .closing-inner { flex-direction: column; align-items: flex-start; }
    .footer-inner { flex-wrap: wrap; gap: .85rem; }
  }
}
