:root {
  color-scheme: light;
  --paper: #f7f4ec;
  --surface: #fffdf8;
  --ink: #233a34;
  --muted: #56635b;
  --green: #176b59;
  --green-dark: #105344;
  --line: #dcded3;
  --soft-green: #e6ede2;
  --radius: 24px;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
main:focus {
  outline: none;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input {
  font: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
}
h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 650;
  letter-spacing: -0.04em;
}
h2 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 19px;
  font-weight: 600;
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 96px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 650;
  font-size: 21px;
}
.brand img {
  flex-shrink: 0;
}
.brand-sub {
  font-size: 15px;
  font-weight: 400;
  padding-left: 10px;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 15px;
}
nav a:hover,
.footer-links a:hover {
  color: var(--green);
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0 72px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
}
.accent {
  color: var(--green);
}
.hero h1 {
  margin-bottom: 24px;
}
.hero-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease;
  cursor: pointer;
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover:not(:disabled) {
  background: var(--green-dark);
  box-shadow: 0 4px 12px #176b5918;
}
.primary:active:not(:disabled) {
  background: #0b4236;
}
.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.secondary:hover:not(:disabled) {
  background: var(--soft-green);
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
}
.text-link {
  text-decoration: none;
  gap: 12px;
}
.text-button {
  border: 0;
  background: none;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span + span::before {
  content: '·';
  margin-right: 20px;
}
.hero-art {
  min-height: 430px;
  aspect-ratio: 1;
  max-width: 460px;
  border-radius: 140px 140px 24px 24px;
  background: #eceee2;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.art-top {
  position: absolute;
  top: 36px;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.petal {
  position: absolute;
  width: 32%;
  height: 40%;
  left: 34%;
  top: 26%;
  transform-origin: center 65%;
  border-radius: 50%;
}
.petal-one {
  background: #8ca98f;
  transform: rotate(-45deg) translateY(-40px);
}
.petal-two {
  background: #b7c99a;
  transform: rotate(45deg) translateY(-40px);
}
.petal-three {
  background: #e6c5a4;
  transform: rotate(135deg) translateY(-40px);
}
.petal-four {
  background: #d6b488;
  transform: rotate(225deg) translateY(-40px);
}
.art-center {
  position: absolute;
  left: 42%;
  top: 43%;
  width: 16%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-size: 14px;
  letter-spacing: 0.15em;
  box-shadow: 0 8px 24px #233a3410;
}
.art-label {
  position: absolute;
  background: var(--surface);
  padding: 7px 14px;
  border: 1px solid #ffffff;
  border-radius: 40px;
  font-size: 12px;
  color: var(--ink);
}
.art-label-one {
  top: 28%;
  left: 5%;
  transform: rotate(-8deg);
}
.art-label-two {
  bottom: 26%;
  right: 4%;
  transform: rotate(6deg);
}
.art-bottom {
  position: absolute;
  bottom: 24px;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.trust-strip p {
  margin: 0;
}
.trust-strip strong {
  font-size: 16px;
  font-weight: 550;
}
.trust-strip span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
.section-block {
  padding: 72px 0;
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dimension-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.dimension-code {
  display: inline-block;
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 28px;
}
.dimension-card h3 {
  margin-bottom: 4px;
}
.dimension-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}
.dimension-card .dimension-names {
  font-size: 13px;
  margin-bottom: 14px;
  color: var(--green);
}
.dimension-1 {
  background: #eef1e6;
}
.dimension-2 {
  background: #f4ece1;
}
.dimension-3 {
  background: #eee9e3;
}
.how-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  gap: 22px;
  margin-bottom: 28px;
}
.steps li:last-child {
  margin-bottom: 0;
}
.steps > li > span {
  color: var(--green);
  font-size: 14px;
  padding-top: 4px;
}
.steps h3 {
  margin-bottom: 6px;
}
.steps p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq h2 {
  margin-bottom: 30px;
}
details {
  border-bottom: 1px solid var(--line);
  padding-block: 10px;
}
summary {
  padding: 14px 0;
  min-height: 48px;
  font-weight: 550;
}
details p {
  color: var(--muted);
  margin: 6px 0 16px;
  font-size: 15px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 max(32px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 13px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-top .brand {
  font-size: 17px;
  color: var(--ink);
}
.footer-top p {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer > p {
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.footer-disclaimer {
  font-size: 12px;
  margin-top: 16px;
}
.narrow {
  max-width: 720px;
  margin-inline: auto;
  padding: 44px 0 64px;
}
.narrow > h1,
.type-detail h1 {
  font-size: 32px;
}
.test-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
}
progress {
  display: block;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
  accent-color: var(--green);
}
progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--green);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--green);
}
.question-card {
  margin-top: 28px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.question-card h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
}
.question-card .muted {
  font-size: 14px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 28px 0 32px;
  min-width: 0;
}
.answer-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 16px 18px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.answer-option:hover {
  background: var(--soft-green);
}
.answer-option:has(input:checked) {
  border: 2px solid var(--green);
  padding: 15px 17px;
  background: var(--soft-green);
}
.answer-option:has(input:focus-visible) {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.answer-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #a9b3a5;
  border-radius: 50%;
  font-size: 13px;
  color: var(--muted);
}
.answer-option:has(input:checked) .option-badge {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.option-text {
  font-size: 16px;
}
.question-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.test-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin-top: 20px;
}
.notice {
  border: 1px solid #d5c39e;
  border-radius: 14px;
  background: #f5eedb;
  color: #594b2c;
  padding: 18px;
  font-size: 14px;
  margin-block: 20px;
}
.result-card {
  background: var(--soft-green);
  border: 1px solid #d1ddcf;
  padding: 36px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.result-code {
  font-size: 64px;
  line-height: 1.15;
  letter-spacing: 0.12em;
  color: var(--green);
  font-weight: 650;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.result-card h2 {
  font-size: 26px;
  margin-bottom: 8px;
}
.result-card p:last-child {
  margin-bottom: 0;
}
.result-dimensions h2,
.reflection h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.score-row {
  margin: 28px 0;
}
.score-row h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.score-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 8px;
}
meter {
  display: block;
  width: 100%;
  height: 20px;
}
meter::-webkit-meter-bar {
  border: 0;
  background: #d6b488;
  height: 12px;
  border-radius: 10px;
}
meter::-webkit-meter-optimum-value {
  background: var(--green);
  border-radius: 10px;
}
meter::-moz-meter-bar {
  background: var(--green);
}
.small {
  font-size: 13px;
}
.reflection {
  margin-block: 40px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.reflection p:last-child {
  margin: 0;
}
.disclaimer {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
#types-view {
  padding-block: 44px 72px;
}
#types-view h1 {
  font-size: 36px;
}
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 36px 0;
}
.type-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  background: var(--surface);
  transition: background 0.18s;
}
.type-card:hover {
  background: var(--soft-green);
}
.type-card-code {
  color: var(--green);
  font-size: 26px;
  letter-spacing: 0.08em;
}
.type-card h2 {
  font-size: 18px;
  margin: 12px 0;
}
.type-card p {
  color: var(--muted);
  font-size: 13px;
}
.type-card .text-link {
  font-size: 13px;
}
.type-detail {
  padding-top: 32px;
}
.type-detail h2 {
  font-size: 24px;
  margin-top: 32px;
}
.legal {
  max-width: 800px;
  padding-block: 40px 72px;
}
.legal h1 {
  font-size: 36px;
}
.legal h2 {
  font-size: 23px;
  margin-top: 36px;
}
.legal p,
.legal li {
  overflow-wrap: anywhere;
}
.legal a {
  color: var(--green);
}
.purchase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 28px;
}
.purchase-card h2 {
  font-size: 24px;
}
.purchase-price {
  color: var(--green);
  font-size: 38px;
  font-weight: 650;
}
.purchase-price span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.purchase-card ul {
  padding-left: 22px;
}
.purchase-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  font-size: 14px;
  cursor: pointer;
}
.purchase-consent input {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin-top: 2px;
}
.purchase-card .button {
  width: 100%;
  margin-top: 12px;
}
.purchase-card a {
  color: var(--green);
}
#order-id,
#report-order {
  overflow-wrap: anywhere;
}
.legal ul {
  padding-left: 22px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--surface);
  padding: 12px 20px;
  z-index: 10;
}
.skip-link:focus {
  top: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  padding: 28px;
  width: min(460px, calc(100% - 32px));
}
dialog h2 {
  font-size: 24px;
}
dialog::backdrop {
  background: #233a3470;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .hero {
    gap: 28px;
    padding-top: 40px;
  }
  .hero-art {
    min-height: 340px;
  }
  .dimension-grid,
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-section {
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 80px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .brand-sub {
    display: block;
    padding: 0;
    font-size: 12px;
    line-height: 1.5;
  }
  nav {
    gap: 16px;
  }
  nav a {
    font-size: 13px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 0 40px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 36px;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 16px;
  }
  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-actions .button {
    flex-grow: 1;
  }
  .hero-actions .text-link {
    font-size: 14px;
    margin-inline: auto;
  }
  .hero-art {
    width: 100%;
    max-width: 360px;
    min-height: 300px;
    aspect-ratio: 1.12;
  }
  .art-top {
    top: 24px;
  }
  .art-bottom {
    bottom: 16px;
    font-size: 12px;
  }
  .hero-meta {
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }
  .hero-meta span + span::before {
    display: none;
  }
  .trust-strip {
    gap: 20px;
    grid-template-columns: 1fr;
    padding-block: 24px;
  }
  .trust-strip p {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 12px;
  }
  .trust-strip strong {
    font-size: 14px;
  }
  .trust-strip span {
    font-size: 12px;
    margin: 0;
  }
  .section-block {
    padding-block: 40px;
  }
  .section-heading {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 26px;
  }
  .section-heading p {
    font-size: 14px;
  }
  .dimension-grid {
    gap: 12px;
  }
  .dimension-card {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .dimension-code {
    font-size: 23px;
    margin-bottom: 20px;
  }
  .dimension-card h3 {
    font-size: 17px;
  }
  .dimension-card p {
    font-size: 13px;
  }
  .how-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .how-section h2 {
    margin-bottom: 0;
  }
  .steps h3 {
    font-size: 17px;
  }
  .steps p {
    font-size: 14px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .site-footer {
    padding-top: 28px;
    font-size: 12px;
  }
  .footer-links {
    gap: 4px 20px;
  }
  .narrow {
    padding-top: 24px;
  }
  .question-card {
    padding: 24px 20px;
    margin-top: 24px;
    border-radius: 20px;
  }
  .question-card h1 {
    font-size: 23px;
  }
  .answer-option {
    gap: 12px;
    padding: 16px 12px;
    min-height: 90px;
  }
  .answer-option:has(input:checked) {
    padding: 15px 11px;
  }
  .option-text {
    font-size: 16px;
  }
  .question-actions .button {
    padding: 12px 18px;
    font-size: 15px;
    gap: 8px;
  }
  .result-card {
    padding: 28px 24px;
  }
  .result-code {
    font-size: 52px;
  }
  .narrow > h1 {
    font-size: 27px;
  }
  .result-actions .button {
    flex: 1 1 100%;
  }
  .type-grid {
    gap: 12px;
  }
  .type-card {
    padding: 20px 16px;
  }
  .type-card h2 {
    font-size: 16px;
  }
  .type-card-code {
    font-size: 23px;
  }
  .type-card p {
    font-size: 12px;
  }
  #types-view h1,
  .legal h1 {
    font-size: 28px;
  }
  .legal {
    padding-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .result-actions,
  .hero-actions,
  .test-bottom,
  .skip-link {
    display: none;
  }
  body {
    background: white;
  }
  .wrap {
    width: 100%;
  }
  .result-card,
  .reflection {
    break-inside: avoid;
  }
}
