:root {
  color-scheme: light;
  --paper: #fafafa;
  --ink: #222321;
  --muted: #696b65;
  --line: #d9dad5;
  --coral: #c33b1e;
  --gutter: clamp(1.25rem, 4.4vw, 5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
svg { display: block; flex-shrink: 0; }
::selection { color: #fff; background: var(--coral); }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 10; padding: 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.page-frame { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.site-header { max-width: 1536px; min-height: 86px; margin-inline: auto; padding: 1.2rem var(--gutter); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.1rem; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { border: 1.5px solid currentColor; padding: .5rem .35rem; font-size: 1rem; letter-spacing: -.11em; }
.header-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .7rem 1.8rem; font-size: .8125rem; }
.header-nav a { min-height: 36px; display: inline-flex; align-items: center; gap: .4rem; }
.header-nav a[aria-current], .header-nav span { color: var(--coral); }
.header-nav a:hover, .site-footer a:hover { color: var(--coral); }
.intro { padding-block: 1.6rem 3rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 2.6rem; color: var(--muted); font-size: .6875rem; line-height: 1.5; }
.breadcrumbs a:hover { color: var(--coral); }
.kicker { display: flex; align-items: center; gap: .6rem; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .625rem; letter-spacing: .1em; line-height: 1.5; }
.kicker > span { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; }
.intro-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: .9rem; }
h1 { font-size: clamp(3.15rem, 6.4vw, 5.9rem); font-weight: 500; line-height: 1.01; letter-spacing: -.07em; }
h1 > span { color: var(--coral); }
.intro-copy { padding-bottom: .5rem; color: var(--muted); }
.intro-copy p { font-size: 1.05rem; line-height: 1.65; letter-spacing: -.015em; }
.intro-copy > span { display: block; margin-top: 1rem; font-size: .75rem; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2 { font-size: .875rem; font-weight: 550; letter-spacing: -.02em; }
.section-heading > span { color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: .5625rem; letter-spacing: .05em; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.tool-card { min-width: 0; display: flex; flex-direction: column; padding: 1.25rem 1.5rem 1.3rem; border: 1px solid var(--line); background: #fff; transition: border-color 160ms ease, transform 160ms ease; }
.tool-card:hover { border-color: var(--coral); transform: translateY(-3px); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card-top > span:first-child { font-family: "SFMono-Regular", Consolas, monospace; font-size: .5625rem; letter-spacing: .06em; color: var(--muted); }
.card-arrow { font-size: 1.2rem; color: var(--coral); }
.card-art { height: 150px; margin-block: 1.1rem 1.4rem; display: flex; align-items: center; justify-content: center; background: #f4f4f0; overflow: hidden; }
.conversion-art { gap: 10px; }
.file-shape { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 82px; border: 1px solid #b6b9af; background: #fff; font-family: "SFMono-Regular", Consolas, monospace; font-size: .6rem; letter-spacing: .06em; }
.file-shape::after { content: ""; position: absolute; width: 14px; height: 14px; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; top: 0; right: 0; opacity: .35; }
.original-file { transform: rotate(-7deg); color: var(--muted); }
.result-file { transform: rotate(5deg); background: var(--coral); color: #fff; border-color: var(--coral); }
.conversion-arrow { color: var(--coral); font-size: 1.2rem; }
.cutout-field { position: relative; width: 132px; height: 120px; background-color: #fff; background-image: linear-gradient(45deg, #e5e6e0 25%, transparent 25%), linear-gradient(-45deg, #e5e6e0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e5e6e0 75%), linear-gradient(-45deg, transparent 75%, #e5e6e0 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.vase { position: absolute; bottom: 16px; left: 43px; width: 46px; height: 72px; background: var(--coral); border-radius: 19px 19px 12px 12px; }
.vase::before { content: ""; position: absolute; width: 24px; height: 14px; background: var(--coral); top: -9px; left: 11px; }
.vase::after { content: ""; position: absolute; width: 11px; height: 43px; border: 2px solid #e87d5e; border-right: 0; border-radius: 50%; top: 16px; left: 8px; }
.crop-corner { position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--coral); }
.top-left { top: 12px; left: 27px; border-right: 0; border-bottom: 0; }
.bottom-right { bottom: 9px; right: 27px; border-left: 0; border-top: 0; }
.repair-scene { position: relative; width: 176px; height: 116px; overflow: hidden; background: #e2e6dc; }
.scene-sun { position: absolute; width: 30px; height: 30px; top: 18px; right: 24px; background: #d3a888; border-radius: 50%; }
.scene-hill { position: absolute; bottom: -37px; left: -16px; width: 150px; height: 97px; border-radius: 50%; background: #afbda2; transform: rotate(-15deg); }
.second-hill { left: auto; right: -35px; bottom: -48px; background: #8f9d82; transform: rotate(24deg); }
.repair-selection { position: absolute; top: 39px; left: 14px; width: 106px; height: 35px; border: 1px dashed var(--coral); transform: rotate(-6deg); display: flex; align-items: center; justify-content: center; }
.repair-selection > span { font-family: "SFMono-Regular", Consolas, monospace; font-size: .6875rem; letter-spacing: .16em; color: #526047; opacity: .6; }
.repair-selection::after { position: absolute; content: ""; inset: 3px 3px 3px 50%; background: #e2e6dc; }
.repair-brush { position: absolute; width: 32px; height: 32px; top: 34px; left: 81px; color: var(--coral); }
.card-copy h3 { font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.25; }
.card-copy p { margin-top: .7rem; color: var(--muted); font-size: .8125rem; line-height: 1.75; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: 1.8rem; color: var(--coral); font-size: .75rem; font-weight: 550; }
.card-bottom > span:last-child { font-weight: 400; font-size: 1.1rem; }
.privacy-section { padding-block: 2.3rem 3.4rem; }
.privacy-inner { display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.privacy-symbol { width: 26px; height: 30px; color: var(--coral); }
.privacy-inner h2 { font-size: .9375rem; font-weight: 550; letter-spacing: -.03em; }
.privacy-inner p { max-width: 78ch; margin-top: .35rem; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.privacy-inner > a { flex-shrink: 0; margin-left: auto; padding-left: 1.4rem; font-size: .6875rem; }
.privacy-inner > a span { padding-left: .6rem; color: var(--coral); }
.privacy-inner > a:hover { color: var(--coral); }
.site-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; border-top: 1px solid var(--line); padding-block: 1.8rem; color: var(--muted); font-size: .6875rem; line-height: 1.6; }
.footer-brand { color: var(--ink); font-size: .8125rem; font-weight: 800; letter-spacing: -.04em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-left: auto; }
@media (max-width: 1000px) {
  .tool-grid { gap: .8rem; }
  .tool-card { padding: 1.1rem; }
  .card-art { height: 135px; }
  .conversion-art { gap: 6px; }
  .file-shape { width: 54px; height: 75px; }
  .card-copy h3 { font-size: 1.15rem; }
  .card-copy p { font-size: .75rem; }
}
@media (max-width: 720px) {
  .site-header { min-height: 75px; padding-block: 1rem; gap: 1rem; }
  .brand { font-size: .9375rem; gap: .5rem; }
  .brand-mark { padding: .4rem .3rem; font-size: .8rem; }
  .header-nav { font-size: .6875rem; gap: .4rem 1rem; }
  .header-nav a:last-child { display: none; }
  .intro { padding-block: 1.25rem 2.25rem; }
  .breadcrumbs { margin-bottom: 1.8rem; font-size: .625rem; }
  .intro-grid { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  h1 { font-size: clamp(3rem, 10vw, 4.6rem); }
  .intro-copy p { font-size: .875rem; }
  .intro-copy p br { display: none; }
  .intro-copy > span { margin-top: .55rem; font-size: .6875rem; }
  .section-heading > span { font-size: .5rem; letter-spacing: 0; }
  .tool-grid { grid-template-columns: 1fr; gap: 1rem; }
  .tool-card { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: .8rem 1.2rem; padding: 1.2rem; }
  .card-top { grid-column: 1 / -1; }
  .card-art { grid-column: 1; grid-row: 2 / 4; height: 135px; margin: 0; }
  .card-copy { align-self: center; padding-top: .2rem; }
  .card-copy h3 { font-size: 1.25rem; }
  .card-copy p { margin-top: .5rem; font-size: .75rem; }
  .card-bottom { grid-column: 2; padding-top: .4rem; font-size: .6875rem; }
  .conversion-art { gap: 5px; }
  .file-shape { width: 43px; height: 65px; font-size: .5rem; }
  .conversion-arrow { font-size: .875rem; }
  .cutout-field { width: 120px; }
  .vase { left: 37px; }
  .repair-scene { width: 120px; height: 110px; }
  .scene-sun { right: 13px; }
  .repair-selection { left: 5px; width: 100px; }
  .repair-brush { left: 66px; }
  .privacy-section { padding-block: 1.6rem 2.4rem; }
  .privacy-inner { display: grid; grid-template-columns: 26px 1fr; gap: .8rem 1rem; align-items: start; }
  .privacy-inner > a { grid-column: 2; margin-left: 0; padding-left: 0; }
  .site-footer { gap: .8rem 1.5rem; }
  .site-footer nav { width: 100%; margin-left: 0; }
}
@media (max-width: 430px) {
  .tool-card { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .card-art { grid-row: auto; grid-column: 1; height: 130px; }
  .card-copy { padding-top: .3rem; }
  .card-copy h3 { font-size: 1.4rem; }
  .card-copy p { font-size: .8125rem; }
  .card-bottom { grid-column: 1; padding-top: .5rem; }
  .file-shape { width: 60px; height: 78px; font-size: .6rem; }
  .conversion-art { gap: 12px; }
  .conversion-arrow { font-size: 1.2rem; }
  .repair-scene { width: 176px; height: 110px; }
  .scene-sun { right: 24px; }
  .repair-selection { left: 14px; width: 106px; }
  .repair-brush { left: 81px; }
  .section-heading { align-items: flex-start; }
  .section-heading > span { max-width: 19ch; text-align: right; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
