@charset "UTF-8";

:root {
  color-scheme: light;
  --brand: #183d33;
  --brand-light: #e6f0ea;
  --ink: #131f1b;
  --quiet: #50635a;
  --line: #d9e4dd;
  --paper: #f5f8f6;
  --white: #ffffff;
  --accent: #916322;
  --warn: #8a402a;
  --display: Georgia, "Noto Serif SC", "Songti SC", "SimSun", serif;
  --body: Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.62;
}
body.has-tray { padding-bottom: 110px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #25836a;
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.24; }
button:disabled { cursor: not-allowed; opacity: .57; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 4rem); }
.skip { position: fixed; left: 16px; top: -90px; z-index: 20; background: #fff; padding: 10px 16px; }
.skip:focus { top: 10px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand strong { font-size: 1.34rem; letter-spacing: -.055em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; background: var(--brand);
  border-radius: 9px 9px 9px 2px; color: #fff; font-weight: 800; font-size: 1.2rem; line-height: 1;
}
.brand-description { margin-left: 4px; border-left: 1px solid var(--line); padding-left: 13px; font-size: .9rem; color: var(--quiet); }
nav { display: flex; align-items: stretch; align-self: stretch; gap: clamp(8px, 2.6vw, 34px); }
nav a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; position: relative; font-size: .92rem; color: var(--quiet); padding-inline: 3px; }
nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
nav a[aria-current="page"]::after { content: ""; width: 100%; height: 3px; border-radius: 2px 2px 0 0; background: var(--brand); position: absolute; bottom: 0; left: 0; }
#nav-count:not(:empty) { background: var(--brand-light); color: var(--brand); border-radius: 50%; padding: 0 6px; }
#main { min-height: 66vh; }
.hero { padding-block: 50px 35px; display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0, .87fr); gap: clamp(32px, 6vw, 82px); align-items: center; }
.kicker { color: var(--brand); font-weight: 700; font-size: .9rem; border-left: 4px solid var(--brand); padding-left: 10px; margin-bottom: 16px; letter-spacing: .045em; }
.hero h1 { font-size: clamp(2.05rem, 4vw, 3.72rem); letter-spacing: -.055em; line-height: 1.15; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-text > p:not(.kicker) { color: var(--quiet); margin-top: 16px; font-size: 1.05rem; }
.hero-action { display: flex; gap: 10px; margin-top: 26px; align-items: stretch; }
input, select, textarea {
  border: 1px solid #afc0b6; color: var(--ink); background-color: var(--white);
  border-radius: 8px; padding: 10px 12px; min-height: 46px; min-width: 0;
}
input::placeholder { color: #5d7268; }
.hero-action input { flex: 1; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px;
  border: 1px solid #a4b9ad; border-radius: 8px; color: var(--brand); background: var(--white);
  font-weight: 650; font-size: .9rem; line-height: 1.35; text-align: center; white-space: nowrap;
}
.button:hover { background: var(--brand-light); border-color: var(--brand); }
.button.primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.button.primary:hover { background: #245447; }
.button[aria-pressed="true"] { background: var(--brand-light); border-color: var(--brand); }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: 245px; overflow: hidden; background: var(--brand); color: #fff;
  border: 1px solid #1e4d40; border-radius: 16px; box-shadow: 0 15px 32px #1b3b3215;
}
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.feature-label { color: #bfe1cf; font-size: .86rem; font-weight: 700; }
.feature h2 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); letter-spacing: -.04em; margin-top: 8px; }
.feature p { margin-top: 8px; color: #e5f2ed; font-size: .93rem; }
.feature .feature-link { margin-top: 13px; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.feature:hover .feature-link { color: #d0ebc0; }
.figures { display: flex; flex-wrap: wrap; gap: 8px 26px; border-block: 1px solid var(--line); padding-block: 13px; color: var(--quiet); font-size: .91rem; }
.figures strong { color: var(--brand); }
.page-intro { padding-block: 38px 22px; }
.page-intro h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.04em; }
.page-intro p { margin-top: 7px; color: var(--quiet); max-width: 64ch; }
.library { padding-block: 30px 46px; }
.page-intro + .library { padding-top: 0; }
.section-heading { margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); letter-spacing: -.025em; }
.section-heading p { color: var(--quiet); margin-top: 5px; }
.filters { display: grid; grid-template-columns: minmax(160px, 1.35fr) repeat(3, minmax(120px, .67fr)); gap: 10px; align-items: end; padding: 13px; border: 1px solid var(--line); background: #ecf2ee; border-radius: 10px; }
.filters label { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--brand); }
.filters input,.filters select { width: 100%; font-size: .95rem; font-weight: 400; }
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg,transparent 50%,#43675b 50%),linear-gradient(135deg,#43675b 50%,transparent 50%); background-position: calc(100% - 18px) 52%,calc(100% - 13px) 52%; background-size: 5px 5px,5px 5px; background-repeat: no-repeat; }
.result-line { margin-block: 13px; min-height: 34px; display: flex; justify-content: space-between; align-items: center; color: var(--quiet); font-size: .9rem; }
.text-button { border: 0; padding: 8px 0; background: transparent; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; }
.card {
  display: flex; flex-direction: column; min-height: 236px;
  padding: 18px; background: #fff; border: 1px solid #bccec3; border-radius: 13px;
  box-shadow: 0 2px 5px #183d3312, 0 8px 20px #183d331a;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:focus-within { border-color: #79a18a; box-shadow: 0 3px 7px #183d3317, 0 10px 24px #183d3327; }
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-3px);
    border-color: #83a994;
    box-shadow: 0 4px 9px #183d3318, 0 15px 29px #183d3329;
  }
}
.card-top { display:flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; min-height: 24px; border-radius: 5px; padding: 1px 7px; font-size: .82rem; color: var(--quiet); background: #edf2ef; }
.pill.stage-commercial { background: #def0e3; color: #225238; }
.pill.stage-failure { background: #f7e9e2; color: var(--warn); }
.pill.stage-idea { background: #f4efe2; color: #695420; }
.card-score { font-size: .8rem; color: var(--quiet); white-space: nowrap; }
.card-score strong { color: var(--accent); font-weight: 750; font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.card h3 { margin-top: 10px; font-size: 1.35rem; letter-spacing: -.03em; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-summary { margin-top: 6px; color: var(--quiet); min-height: 3em; }
.card-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 12px; }
.card-bottom a { margin-right: auto; }
.empty { grid-column: 1/-1; border: 1px dashed #aec2b6; border-radius: 12px; background: #fff; padding: 30px 20px; color: var(--quiet); }
.empty p { margin-bottom: 12px; }
.backlink { display: inline-block; margin-bottom: 15px; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.detail-top { border-bottom: 1px solid var(--line); padding-block: 22px; }
.detail-top .pills { margin-bottom: 10px; }
.detail-top h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.055em; }
.detail-top .lead { margin-top: 9px; color: var(--quiet); font-size: 1.08rem; max-width: 62ch; }
.detail-actions { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.32fr); gap: 22px; padding-block: 24px 45px; align-items: start; }
.detail-content { display: grid; gap: 14px; min-width: 0; }
.report-switch { display: flex; flex-wrap: wrap; gap: 8px; scroll-margin-top: 14px; }
.report-switch .button[aria-current="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.read-panel,.score-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(15px,3vw,26px); }
.read-panel { scroll-margin-top: 14px; }
#basic, #pro { scroll-margin-top: 74px; }
.read-panel h2 { font-size: 1.4rem; margin-bottom: 9px; }
.read-panel h3 { font-size: 1.04rem; margin-bottom: 4px; color: var(--brand); }
.read-panel p,.score-panel p { color: var(--quiet); }
.read-panel p + p { margin-top: 8px; }
.read-panel section + section { margin-top: 15px; }
.panel-label { margin-bottom: 5px; color: #355b4e; font-weight: 700; font-size: .87rem; }
.read-panel .button { margin-top: 12px; }
.takeaway { background: #eef5f0; border-radius: 8px; border-left: 3px solid var(--brand); padding: 10px 12px; margin-top: 13px; }
.checklist { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 15px; }
.checklist ul,.source-list { padding-inline-start: 1.25rem; margin: 5px 0 0; }
.source-list a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.score-panel { padding: 17px; }
.score-panel h2 { font-size: 1.13rem; }
.score-panel strong { color: var(--accent); font-size: 1.75rem; }
.scale-note { font-size: .86rem; }
.score-list { margin: 10px 0; }
.score-row { display: flex; justify-content: space-between; gap: 8px; padding-block: 6px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.score-row dt,.score-row dd { margin: 0; }
.score-row dd { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.related-grid { margin-top: 35px; }
.related-grid h2 { margin-bottom: 13px; }
.table-panel { background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; margin-bottom: 35px; }
.compare-tools { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 13px; }
.compare-tools select { max-width: 100%; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 530px; }
caption { padding: 12px 15px; text-align: left; color: var(--quiet); font-size: .9rem; border-bottom: 1px solid var(--line); }
th, td { vertical-align: top; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th[scope="row"] { width: 125px; background: #f0f5f1; color: var(--brand); }
th:not([scope="row"]), td { min-width: 155px; width: auto; }
thead { background: var(--brand-light); }
thead th { color: var(--brand); }
thead .text-button { display: block; font-size: .84rem; }
tbody tr:last-child > * { border-bottom: 0; }
.tray { position: fixed; inset: auto 0 0; z-index: 5; background: #fdfefd; border-top: 1px solid #b5c7bc; box-shadow: 0 -7px 22px #102f2417; }
.tray-inner { padding-block: 10px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tray-items { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.tray-items .button { min-height: 37px; text-wrap: wrap; }
.tray a { flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--line); background: #ecf2ee; color: var(--quiet); }
.footer-row { padding-block: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; }
.notice { position: fixed; bottom: 19px; left: 50%; transform: translateX(-50%); z-index: 10; max-width: calc(100% - 32px); padding: 9px 14px; border-radius: 8px; color: #fff; background: #183d33; box-shadow: 0 6px 20px #163b3433; text-align: center; font-size: .9rem; }
.has-tray .notice { bottom: 115px; }
dialog { max-width: min(480px,calc(100% - 32px)); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
dialog::backdrop { background: #0d302b6a; }
.dialog-form { display: grid; gap: 11px; }
.dialog-form .button { justify-self: start; }
@media (max-width: 960px) {
  .brand-description { display: none; }
  .hero { gap: 24px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature { min-height: 212px; }
}
@media (max-width: 690px) {
  .header-row { flex-wrap: wrap; min-height: 0; gap: 0; padding-top: 10px; }
  .brand { min-height: 38px; }
  nav { width: 100%; justify-content: space-between; gap: 7px; }
  nav a { font-size: .9rem; }
  .hero { grid-template-columns: 1fr; gap: 21px; padding-block: 25px 18px; }
  .hero h1 { font-size: clamp(1.97rem,8vw,3rem); }
  .hero-text > p:not(.kicker) { margin-top: 9px; font-size: .97rem; }
  .hero-action { margin-top: 15px; }
  .feature { min-height: 154px; grid-template-columns: 1fr 1fr; }
  .feature-copy { padding: 13px; }
  .feature h2 { font-size: 1.52rem; }
  .feature p { font-size: .87rem; }
  .figures { gap: 6px 18px; padding-block: 9px; }
  .library { padding-block: 20px 27px; }
  .filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 9px; gap: 8px; }
  .cards { grid-template-columns: 1fr; gap: 15px; }
  .card { min-height: 0; padding: 13px; }
  .card-summary { min-height: 0; }
  .detail-layout { grid-template-columns: 1fr; gap: 11px; padding-block: 14px 25px; }
  .score-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 11px; }
  .score-row { font-size: .83rem; }
  .page-intro { padding-block: 22px 14px; }
  .tray-inner { gap: 6px; flex-wrap: wrap; }
  .tray-items .button { font-size: .83rem; padding-inline: 7px; }
  .tray a { min-height: 39px; }
  .table-scroll th[scope="row"] { position: sticky; left: 0; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .card:hover { transform: none; }
}

/* The cover sheet has two columns and four rows. Each tile retains its original 4:3 proportions. */
.feature { grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); }
.case-art {
  position: relative;
  isolation: isolate;
  container-type: size;
  min-width: 0;
  overflow: hidden;
  background: #244c40;
}
.case-art__tile {
  position: absolute;
  width: max(100cqw, 133.3334cqh);
  aspect-ratio: 4 / 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.012);
  background-image: url("assets/case-covers-v1.webp");
  background-repeat: no-repeat;
  background-size: 200% 400%;
  background-position: var(--sheet-x, 0%) var(--sheet-y, 0%);
}
.case-art--death-by-ai { --sheet-x: 100%; }
.case-art--infinite-craft { --sheet-y: 33.333333%; }
.case-art--niceaunties { --sheet-x: 100%; --sheet-y: 33.333333%; }
.case-art--colorbliss { --sheet-y: 66.666667%; }
.case-art--headshotpro { --sheet-x: 100%; --sheet-y: 66.666667%; }
.case-art--chatbase { --sheet-y: 100%; }
.case-art--builder-ai { --sheet-x: 100%; --sheet-y: 100%; }
.case-art--feature { min-height: 222px; }
.case-art--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #183d3380, transparent 30%);
  pointer-events: none;
}
.case-art__caption {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 7px;
  padding: 2px 7px;
  color: white;
  background: #12251feb;
  border: 1px solid #ffffff51;
  border-radius: 4px;
  font-size: .77rem;
  line-height: 1.4;
}
.card.has-cover { padding: 0; }
.card-cover {
  display: block;
  flex: none;
  border-bottom: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}
.card-cover:focus-visible { outline-offset: -4px; }
.case-art--card { width: 100%; aspect-ratio: 1.95; }
.card-cover:hover .case-art__tile { filter: saturate(1.12); }
.card-body { display:flex; flex-direction:column; flex:1; min-width:0; }
.card.has-cover .card-body { padding: 16px 17px; }
.detail-heading.has-cover {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr);
  align-items: center;
  gap: 24px;
}
.case-art--detail {
  width: 100%;
  aspect-ratio: 1.88;
  border-radius: 11px;
  border: 1px solid var(--line);
}
@media (max-width: 690px) {
  .feature { grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); }
  .case-art--feature { min-height: 168px; }
  .case-art--card { aspect-ratio: 2.12; }
  .card.has-cover .card-body { padding: 12px; }
  .detail-heading.has-cover { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .case-art--detail { aspect-ratio: 2.25; }
}

.example-media { margin: 0; }
.example-media__frame { display: grid; place-items: center; padding: 8px; border-radius: 8px; background: #edf2ef; }
.example-media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 420px; border-radius: 4px; object-fit: contain; }
.example-media figcaption { margin-top: 8px; font-size: .88rem; color: var(--quiet); }
.example-media a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 690px) { .example-media img { max-height: 350px; } }

.project-mark {
  flex: 0 0 auto;
  display: block;
  width: 42px;
  height: 42px;
  padding: 2px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d9e4dd;
  border-radius: 9px;
}
.card-identity,.detail-identity,.feature-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.card-identity { margin-top: 9px; }
.card-identity h3,.feature-identity h2 { margin-top: 0; }
.feature-identity { margin-top: 8px; }
.feature-identity .project-mark { width: 33px; height: 33px; border-radius: 7px; }
.detail-identity .project-mark { width: 56px; height: 56px; border-radius: 12px; }
.channel-pill { background: #edf4f7; color: #365562; }
.case-art--screenshot { background: #e6eeea; }
.case-art--screenshot img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.case-art--feature.case-art--screenshot::after { display: none; }
.case-art--detail.case-art--screenshot { aspect-ratio: 1280 / 840; }
.full-screenshot { display: block; min-width: 0; border-radius: 10px; }
.full-screenshot:hover .case-art__caption { background: #183d33; }
.product-channels { display: grid; gap: 7px; margin-block: 11px 2px; }
.channel-web { display: flex; flex-wrap: wrap; gap: 3px 7px; font-size: .93rem; }
.channel-web span { font-weight: 700; color: var(--brand); }
.channel-web a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.channel-note { font-size: .88rem; color: var(--quiet); }
.store-links { display: flex; flex-wrap: wrap; gap: 7px; }
.store-links a { min-height: 37px; }
@media (max-width: 690px) {
  .feature-identity { gap: 6px; }
  .feature-identity .project-mark { width: 26px; height: 26px; }
  .feature-identity h2 { font-size: 1.24rem; }
  .detail-identity .project-mark { width: 47px; height: 47px; }
}

.project-mark--wide { width: 98px; padding: 5px; }
.detail-identity .project-mark--wide {width:112px;}
@media(max-width:690px){ .project-mark--wide{width:86px;} .detail-identity .project-mark--wide{width:93px;} }

.feature-identity h2 { min-width:0; overflow-wrap:anywhere; font-size:clamp(1.30rem,2.1vw,1.78rem); }
@media (min-width: 691px) { .feature { grid-template-columns:minmax(178px,.96fr) minmax(0,1.04fr); } .feature-copy {padding:20px;} }
@media (max-width: 690px) { .feature-identity h2 { font-size:1.24rem; } }

.footer-row .icp-link { flex-basis: 100%; text-align: center; color: inherit; text-underline-offset: 0.16em; }
