* {
  box-sizing: border-box;
}

:root {
  --ink: #142f31;
  --teal: #006a63;
  --deep: #005a54;
  --muted: #47625f;
  --line: #ccdbd7;
  --wash: #f0f6f3;
  --mono: Consolas,"Courier New",monospace;
  color: var(--ink);
  font: 100%/1.75 "Yu Gothic UI",Meiryo,system-ui,sans-serif;
  background: white;
}

body,figure,h1,h2,h3,p {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: .3em;
}

button,select {
  font: inherit;
  color: inherit;
}

button,a.primary,a.nav-demo {
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

:focus-visible {
  outline: 3px solid #ad661b;
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.wrap {
  max-width: 80rem;
  width: calc(100% - clamp(2.25rem,9vw,9rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -8rem;
  left: 1rem;
  background: white;
  padding: 1rem;
  z-index: 2;
}

.skip:focus {
  top: 0;
}

header {
  border-bottom: 1px solid var(--line);
}

.bar {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand,footer strong {
  font: 700 1.58rem/1.15 "Yu Gothic UI",Meiryo,sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
}

.brand small,footer small {
  display: block;
  margin-top: .25em;
  font: 500 .7rem/1.15 "Segoe UI",sans-serif;
  letter-spacing: 0;
}

.mark {
  display: grid;
  grid-template-columns: repeat(2,.49rem);
  grid-template-rows: repeat(2,.44rem);
  align-content: center;
  justify-content: center;
  gap: 3px;
  width: 2rem;
  height: 2.05rem;
  background: var(--teal);
  border-radius: 7px;
  margin-right: .32rem;
}

.mark i {
  border-radius: 1px;
  background: white;
}

.mark i:last-child {
  background: #86d9a5;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 1.8rem;
}

nav a,.nav-demo {
  font-size: .89rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,.textlink:hover,footer a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.nav-demo,.primary,.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.nav-demo {
  border: 1px solid var(--teal);
  padding: .43rem 1.05rem;
  color: var(--deep);
}

.play {
  width: 0;
  height: 0;
  border-top: .32em solid transparent;
  border-bottom: .32em solid transparent;
  border-left: .52em solid currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0,.89fr) minmax(0,1.11fr);
  align-items: center;
  gap: clamp(1.8rem,4vw,4.8rem);
  padding-block: clamp(3.5rem,6.2vw,6.6rem);
}

.audience,.kicker {
  font-size: .87rem;
  line-height: 1.45;
  color: var(--teal);
  font-weight: 750;
  letter-spacing: .06em;
}

.audience {
  display: flex;
  gap: .6rem;
  align-items: center;
}

.audience span,.kicker:before {
  display: inline-block;
  width: 1.65rem;
  height: 3px;
  background: var(--teal);
  border-radius: 1px;
}

.kicker:before {
  content: "";
  margin-right: .68rem;
  vertical-align: middle;
}

h1 {
  font-size: clamp(2.4rem,4.05vw,3.95rem);
  font-weight: 800;
  line-height: 1.33;
  letter-spacing: -.065em;
  margin: 1.15rem 0 1.2rem;
}

h1 em {
  color: var(--teal);
  font-style: normal;
}

.intro,.section-lead>p,.section-sub,.legend,.section-space article p,.measure p:not(.kicker),.faq-list p,.survey>p {
  color: var(--muted);
}

.intro {
  max-width: 30rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.primary,.secondary {
  padding: .64rem 1.05rem;
  border: 1px solid var(--teal);
  font-size: .95rem;
  line-height: 1.65;
}

.primary {
  background: var(--teal);
  color: white;
}

.primary:not(:disabled):hover {
  background: var(--deep);
}

.secondary,.nav-demo {
  background: white;
  color: var(--deep);
}

.secondary:not(:disabled):hover,.nav-demo:hover {
  background: var(--wash);
}

.secondary:disabled,.primary:disabled {
  color: #687973;
  background: #eff2f0;
  border-color: #d6dfdb;
}

.textlink {
  font-size: .92rem;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem .8rem;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.status {
  border: 1px solid #bdd4c9;
  border-radius: 4px;
  background: #edf7ef;
  padding: .06rem .55rem;
  font-weight: 700;
  color: #285a47;
}

.showcase {
  padding: clamp(.9rem,1.6vw,1.65rem);
  border: 1px solid #bcd7cb;
  border-radius: 12px;
  background-color: #e0efe7;
  background-image: radial-gradient(#b9d4c7 .85px,transparent .85px);
  background-size: 10px 10px;
  box-shadow: inset 0 0 0 5px #ffffff30;
}

.showcase-cap,.showcase figcaption {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .83rem;
  font-weight: 700;
  color: #284e46;
}

.showcase-cap {
  margin-bottom: .8rem;
}

.showcase-cap>span:last-child,.showcase figcaption>span:last-child {
  margin-left: auto;
  font-weight: 500;
}

.mini-grid {
  font-size: 1.4rem;
  line-height: 1;
}

.showcase a {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 7px 17px #164a3d29;
}

.showcase img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase figcaption {
  margin-top: .95rem;
  font-family: var(--mono);
}

.showcase figcaption span:last-child {
  font-family: "Yu Gothic UI",sans-serif;
}

.file-icon {
  width: .9rem;
  height: 1.12rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  display: inline-block;
  position: relative;
}

.file-icon:after {
  content: "";
  position: absolute;
  inset: 44% 18% auto;
  border-top: 1px solid currentColor;
  box-shadow: 0 3px currentColor;
}

.feature-band {
  background: #edf5f0;
  border-block: 1px solid #d5e3db;
}

.band-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding-block: 1.15rem;
}

.band-inner span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .72rem;
  font-weight: 700;
  font-size: .95rem;
}

.band-inner span+span {
  border-left: 1px solid #b8cec1;
}

.band-inner i {
  font-style: normal;
  font: 1.42rem/1 system-ui;
  color: var(--teal);
}

.section-space,.demo-section {
  padding-block: clamp(3rem,5.8vw,5.6rem);
}

.section-lead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 1.55rem;
}

.section-lead>p,.section-sub,.legend {
  font-size: .88rem;
}

h2 {
  font-size: clamp(1.75rem,2.8vw,2.7rem);
  line-height: 1.35;
  letter-spacing: -.045em;
  margin-top: .55rem;
}

h3 {
  font-size: 1.16rem;
  line-height: 1.5;
}

.workbench {
  border: 1px solid #aac7be;
  box-shadow: 0 6px 24px #173b2d09;
  border-radius: 10px;
  overflow: hidden;
}

.work-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #154946;
  color: white;
  padding: .75rem clamp(.9rem,2vw,1.65rem);
}

.work-head strong {
  font-family: var(--mono);
  font-size: 1.02rem;
}

.work-head>span:not(.file-icon) {
  font-size: .84rem;
  color: #ddede6;
  border-left: 1px solid #6f928c;
  padding-left: .75rem;
}

.work-head button {
  margin-left: auto;
  color: white;
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .83rem;
  padding: .3rem 0;
}

.work-pad {
  padding: clamp(1rem,2vw,1.85rem);
}

.view-line,.run-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: #f4f7f5;
}

.switch button,.screen-choices button {
  border: 0;
  background: transparent;
  font-weight: 650;
  border-radius: 4px;
  padding: .28rem .75rem;
  font-size: .9rem;
}

.switch button[aria-pressed=true] {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 1px 4px #183a2833;
}

.switch button:disabled {
  color: #6f7b76;
}

.table-scroll {
  overflow: auto;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 5px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--mono),"Yu Gothic UI",sans-serif;
  font-size: .9rem;
  line-height: 1.55;
}

th,td {
  text-align: left;
  padding: .65rem .75rem;
  white-space: pre;
  border-bottom: 1px solid #e0e7e3;
}

thead th {
  background: #eef4f1;
  font-family: "Yu Gothic UI",sans-serif;
  color: #35584f;
}

tbody th {
  font-weight: 400;
  color: #597168;
  background: #f7f9f7;
}

tr:last-child>* {
  border-bottom: 0;
}

td.changed {
  background: #e2f3e6;
  font-weight: bold;
  color: #155c42;
}

.changed small {
  display: block;
}

.legend {
  margin-top: .5rem;
}

.run-area {
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  padding-top: 1.2rem;
}

.run-area p:first-child,.totals {
  font-weight: 700;
  color: var(--deep);
}

#next-hint {
  font-size: .88rem;
  color: var(--muted);
}

.run-buttons {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

summary {
  cursor: pointer;
  font-weight: 650;
}

.rules {
  margin-top: 1rem;
}

.rules summary {
  font-size: .88rem;
}

.rules p,.survey>p {
  margin: .6rem 0;
}

#audit-panel,#diff-panel {
  border-top: 1px solid var(--line);
  margin-top: 1.3rem;
  padding-top: 1.2rem;
}

.totals {
  margin-top: .4rem;
}

.findings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  gap: .4rem 1.4rem;
  list-style: none;
  font-size: .9rem;
  margin-bottom: 0;
}

.findings li {
  border-bottom: 1px solid #e6ede8;
  padding-block: .45rem;
}

.findings b {
  margin-right: .6rem;
  color: #795322;
}

.diffs,.feature-columns,.questions {
  display: grid;
  gap: 1.3rem;
}

.diffs {
  grid-template-columns: 1fr 1fr;
  margin-block: .85rem;
}

.diffs div {
  border-left: 3px solid var(--teal);
  background: var(--wash);
  padding: .7rem 1rem;
}

.diffs strong,.diffs code {
  display: block;
}

.diffs code {
  font-size: 1rem;
}

.soft {
  background: #f5f8f5;
}

.feature-columns {
  grid-template-columns: repeat(3,1fr);
  gap: 2.25rem;
  margin-top: 2rem;
}

.feature-columns article {
  border-top: 2px solid #629587;
  padding-top: 1rem;
}

.feature-columns p {
  margin-top: .55rem;
}

.section-sub {
  margin-top: .7rem;
}

.gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(10rem,.28fr) minmax(0,1fr);
  gap: 2rem;
}

.screen-choices {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: .3rem;
}

.screen-choices button {
  text-align: left;
  padding: .78rem 1rem;
  border: 1px solid transparent;
}

.screen-choices button[aria-pressed=true] {
  background: var(--wash);
  color: var(--deep);
  border-color: #b8d1c5;
  border-left: 4px solid var(--teal);
}

.gallery figure {
  min-width: 0;
}

.gallery figure a {
  display: grid;
  place-items: center;
  aspect-ratio: 1160/705;
  background: #e6efea;
  padding: .6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.gallery img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  min-height: 0;
}

.gallery figcaption {
  font-size: .88rem;
  margin-top: .5rem;
  color: var(--muted);
}

.benchmarks {
  display: flex;
  gap: clamp(2rem,8vw,8rem);
  margin: 1.6rem 0;
}

.benchmarks div {
  border-left: 3px solid #75a192;
  padding-left: 1rem;
}

.benchmarks span,.benchmarks strong {
  display: block;
}

.benchmarks strong,.price-box h2 span {
  font: 650 clamp(2rem,4.2vw,3.5rem)/1.25 "Segoe UI",sans-serif;
  letter-spacing: -.04em;
  color: var(--deep);
}

.benchmarks small {
  font-size: 1rem;
}

.measure p+p {
  margin-top: .6rem;
}

.price-box {
  background: #164946;
  color: white;
  padding: clamp(1.25rem,3vw,2.5rem);
  border-radius: 8px;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.price-box .kicker,.price-box h2 span {
  color: #e3f7e7;
}

.price-box .kicker:before {
  background: #b4dcbf;
}

.price-box h2 {
  font-size: 1.4rem;
}

.price-box p:last-child {
  font-size: .93rem;
}

.survey {
  border: 1px solid var(--line);
  margin-top: 1.2rem;
  padding: 1.2rem;
  border-radius: 6px;
}

.questions {
  grid-template-columns: repeat(2,minmax(0,1fr));
  margin: 1rem 0;
}

.questions label {
  font-weight: 650;
}

.questions select {
  width: 100%;
  display: block;
  margin-top: .3rem;
  padding: .5rem;
  background: white;
  border: 1px solid #a9bfb4;
  border-radius: 4px;
}

.faq {
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: .9rem 0;
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list p {
  margin-top: .6rem;
}

footer {
  background: #edf3ef;
}

footer .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
}

footer strong {
  font-size: 1.15rem;
}

footer span,footer a {
  font-size: .85rem;
}

footer a {
  margin-left: auto;
}

@media(max-width:56rem) {
  nav {
    gap: 1rem;
  }
  .bar {
    gap: 1rem;
  }
  .hero {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 1.5rem;
  }
  .section-lead {
    display: block;
  }
  .section-lead>p {
    margin-top: .7rem;
  }
  .section-lead br {
    display: none;
  }
  .feature-columns {
    gap: 1rem;
  }
  .run-area,.price-box {
    align-items: flex-start;
    flex-direction: column;
    gap: .85rem;
  }
}

@media(max-width:44rem) {
  .wrap {
    width: calc(100% - 2.25rem);
  }
  .bar {
    min-height: 4rem;
  }
  .brand {
    font-size: 1.25rem;
  }
  .mark {
    width: 1.72rem;
    height: 1.75rem;
  }
  .bar nav {
    display: none;
  }
  .nav-demo {
    margin-left: auto;
    font-size: .83rem;
    padding: .35rem .65rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-block: 2.4rem 2rem;
  }
  h1 {
    font-size: clamp(2.15rem,8.5vw,3.6rem);
  }
  .hero-actions {
    margin-top: 1rem;
  }
  .hero-meta {
    margin-top: .85rem;
  }
  .band-inner {
    gap: .25rem;
    padding-block: .8rem;
  }
  .band-inner span {
    font-size: .77rem;
    line-height: 1.5;
    text-align: center;
    flex-direction: column;
    gap: .15rem;
  }
  .feature-columns,.gallery,.faq,.diffs,.findings,.questions {
    grid-template-columns: 1fr;
  }
  .gallery {
    gap: .7rem;
  }
  .screen-choices {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .screen-choices button {
    padding: .4rem .6rem;
  }
  .faq h2 br {
    display: none;
  }
  .gallery figure a {
    padding: .3rem;
  }
  footer .wrap {
    flex-wrap: wrap;
  }
  .work-head {
    gap: .45rem;
  }
  .work-head>span:not(.file-icon) {
    padding-left: .4rem;
  }
  .work-head button {
    font-size: .77rem;
  }
  .run-buttons button {
    font-size: .85rem;
  }
  .feature-columns {
    gap: 1.5rem;
  }
  .benchmarks {
    gap: 1.5rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto;
  }
}

.survey-invite {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--teal);
  background: var(--wash);
}

.survey-invite p, #privacy p {
  margin-top: .45rem;
}

.survey-invite [data-survey] {
  font-weight: 650;
}
