@font-face {
  font-family: "Inter Tight Logbook";
  src: url("./fonts/inter-tight-logbook-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+004C, U+0062, U+0067, U+006B, U+006F;
}

.wordmark {
  font-family: "Inter Tight Logbook", sans-serif;
  font-size: inherit;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.04em;
}

[hidden] {
  display: none !important;
}

.beta-future-note {
  display: inline-block;
  margin-top: 10px;
  color: #d6e2dc;
  font-size: 12px;
}

.condition-list .ai-label {
  width: 37px;
  flex: 0 0 37px;
}

.feature-guide {
  margin: 38px 0 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}

.feature-list {
  margin-top: 18px;
}

.feature-list li {
  padding: 0;
}

.feature-card {
  display: flex;
  width: 100%;
  min-height: 214px;
  gap: 18px;
  border: 0;
  background: transparent;
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.feature-card > span {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
}

.feature-card > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.feature-card:hover,
.feature-card.is-active {
  background: #edf2ee;
  box-shadow: inset 0 -3px 0 var(--green);
}

.feature-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -3px;
}

.feature-highlight {
  position: relative;
  margin-top: 34px;
  overflow: hidden;
  border-radius: 12px;
  background: #e9eeea;
}

.highlight-panel {
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(280px, .72fr) minmax(520px, 1.28fr);
  gap: 52px;
  align-items: center;
  padding: 58px 54px 68px;
}

.highlight-panel.is-active {
  animation: highlight-in .36s ease-out both;
}

@keyframes highlight-in {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.highlight-copy > span {
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
}

.highlight-copy h3 {
  margin: 18px 0 20px;
  font-size: clamp(31px, 3.1vw, 43px);
  line-height: 1.35;
  letter-spacing: -.035em;
}

.highlight-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.highlight-copy > ol {
  display: flex;
  gap: 7px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.highlight-copy > ol li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #f7f9f7;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 9px;
}

.highlight-copy > ol li.done {
  border-color: #9eb6aa;
  color: var(--green-dark);
}

.highlight-fact {
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 4px;
}

.highlight-fact small,
.highlight-fact span {
  color: var(--muted);
  font-size: 10px;
}

.highlight-fact strong {
  color: var(--green-dark);
  font-size: 24px;
}

.highlight-screen {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  padding: 25px;
  box-shadow: 14px 16px 0 #d8e0da;
}

.app-shot-frame {
  aspect-ratio: 16 / 10;
  padding: 0;
  background: #f6f8f6;
}

.app-shot-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.screen-bar b {
  font-size: 18px;
}

.screen-bar span {
  color: var(--muted);
  font-size: 10px;
}

.import-file {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 13px;
  align-items: center;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
}

.import-file > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 750;
}

.import-file div,
.role-row div,
.result-card div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.import-file small,
.preview-lines small,
.role-row small,
.result-card small {
  color: var(--muted);
  font-size: 9px;
}

.import-file > strong {
  color: var(--green);
  font-size: 10px;
}

.column-map {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block: 18px;
}

.column-map span {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 8px;
}

.column-map b {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
  color: var(--ink);
  font-size: 9px;
}

.column-map i {
  color: var(--green);
  font-size: 11px;
  font-style: normal;
}

.preview-lines {
  border-top: 1px solid var(--line);
}

.preview-lines > span {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr .7fr;
  gap: 12px;
  align-items: center;
  min-height: 55px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}

.preview-lines > span > strong {
  text-align: right;
}

.dictionary-search {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 13px 14px;
}

.dictionary-search b {
  flex: 1;
}

.dictionary-search small {
  border-radius: 4px;
  background: var(--green);
  padding: 7px 12px;
  color: #fff;
}

.dictionary-match {
  display: flex;
  margin-top: 18px;
  border-left: 3px solid var(--green);
  background: #f3f6f3;
  padding: 15px 17px;
  flex-direction: column;
  gap: 4px;
}

.dictionary-match small,
.dictionary-match span {
  color: var(--muted);
  font-size: 9px;
}

.result-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  border-block: 1px solid var(--line);
  padding: 18px 5px;
  font-size: 10px;
}

.result-card > strong {
  font-size: 14px;
}

.result-card > span {
  color: var(--muted);
}

.compare-head,
.compare-line {
  display: grid;
  grid-template-columns: .55fr 1fr 1fr;
  gap: 12px;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.compare-head {
  min-height: 48px;
  margin-top: 12px;
  background: #f6f8f6;
  color: var(--muted);
  padding-inline: 10px;
}

.compare-line {
  padding-inline: 10px;
}

.compare-line > span {
  color: var(--muted);
}

.compare-line.price b {
  color: var(--green-dark);
  font-size: 16px;
}

.role-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  padding: 8px 5px;
}

.role-row:first-of-type {
  margin-top: 12px;
}

.role-row i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.role-row > strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--green-dark);
  font-size: 9px;
}

.highlight-progress {
  position: absolute;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 7px;
}

.highlight-progress span {
  width: 18px;
  height: 2px;
  background: #b7c2bc;
}

.highlight-progress span.active {
  background: var(--green);
}

.demo-title {
  display: block;
  margin-bottom: 34px;
}

.demo-title > div h2 {
  white-space: nowrap;
}

.demo-title > p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.demo-main.is-switching .demo-view.active {
  animation: demo-slide-in .28s ease-out both;
}

@keyframes demo-slide-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.team-summary {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.team-summary div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-summary small,
.team-summary p,
.team-note {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.team-summary strong {
  color: var(--green-dark);
  font-size: 24px;
}

.team-summary p,
.team-note {
  margin: 0;
}

.team-table {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.team-row {
  display: grid;
  grid-template-columns: 1.25fr .65fr 1.4fr .5fr;
  gap: 15px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  font-size: 10px;
}

.team-row > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-row small {
  color: var(--muted);
  font-size: 9px;
}

.team-head {
  min-height: 36px;
  background: #f5f7f4;
  color: var(--muted);
  font-size: 9px;
}

.status-active {
  color: var(--green);
  font-weight: 700;
}

.team-note {
  margin-top: 12px;
  text-align: right;
}

.legal-header {
  justify-content: space-between;
}

.legal-main {
  max-width: 920px;
  padding-block: 72px 110px;
}

.legal-title h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.4;
  letter-spacing: -.03em;
}

.legal-title > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.legal-nav {
  display: flex;
  gap: 12px;
  margin: 38px 0 56px;
}

.legal-nav a {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  padding: 10px 16px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.legal-document {
  scroll-margin-top: 24px;
  border-top: 3px solid var(--green);
  background: #fff;
  padding: 44px 48px 52px;
}

.legal-document + .legal-document {
  margin-top: 48px;
}

.legal-version {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.legal-document h2 {
  margin: 0 0 30px;
  font-size: 30px;
  line-height: 1.5;
}

.legal-document h3 {
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.legal-document p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  white-space: pre-line;
}

.legal-footer {
  border-top: 1px solid var(--line);
}

.beta-section + .faq-section {
  padding-top: 100px;
}

.faq-section {
  display: block;
}

.faq-section > .section-heading {
  max-width: none;
  margin-bottom: 20px;
}

.faq-section .faq-list {
  width: 100%;
}

@media (min-width: 1001px) {
  .hero {
    grid-template-columns: minmax(430px, .9fr) minmax(520px, 1.1fr);
    gap: 48px;
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 760px) {
  .beta-section + .faq-section {
    padding-top: 72px;
  }

  .notice-bar {
    overflow: hidden;
  }

  .notice-bar strong {
    white-space: nowrap;
  }

  .notice-bar span:last-child {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero,
  .hero > * {
    min-width: 0;
  }

  .hero-copy,
  .hero-screen {
    width: calc(100vw - 32px);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 29px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .feature-list li {
    padding: 0;
  }

  .feature-card {
    min-height: 0;
    padding: 23px 3px;
  }

  .feature-highlight {
    margin-top: 22px;
  }

  .highlight-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 18px 52px;
  }

  .highlight-copy h3 {
    font-size: 30px;
  }

  .highlight-copy > ol {
    flex-wrap: wrap;
  }

  .highlight-screen {
    padding: 18px 14px;
    box-shadow: 7px 8px 0 #d8e0da;
  }

  .highlight-screen.app-shot-frame {
    padding: 0;
  }

  .column-map {
    align-items: stretch;
    flex-direction: column;
  }

  .column-map i {
    transform: rotate(90deg);
    align-self: center;
  }

  .preview-lines > span {
    grid-template-columns: 1fr auto;
  }

  .preview-lines small {
    display: none;
  }

  .result-card {
    grid-template-columns: 1fr auto;
  }

  .result-card > span {
    grid-column: 1/-1;
  }

  .demo-title > div h2 {
    white-space: normal;
  }

  .team-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .team-row {
    grid-template-columns: 1.2fr .7fr .5fr;
  }

  .team-row > span:nth-child(3) {
    display: none;
  }

  .hero .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-screen {
    width: 100%;
    max-width: 100%;
  }

  .legal-header .button {
    width: auto;
    min-height: 38px;
    padding: 8px 11px;
  }

  .legal-main {
    padding-block: 52px 72px;
  }

  .legal-nav {
    align-items: stretch;
    flex-direction: column;
    margin: 30px 0 40px;
  }

  .legal-document {
    padding: 30px 20px 38px;
  }

  .legal-document h2 {
    font-size: 24px;
  }

  .mini-row,
  .product-row {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-main.is-switching .demo-view.active {
    animation: none;
  }

  .highlight-panel.is-active {
    animation: none;
  }
}
