@font-face {
  font-family: LocalPretendard;
  src: local(Pretendard Variable), local(Pretendard);
  font-display: swap;
}

:root {
  --ink: #1e1c1c;
  --muted: #706464;
  --canvas: #fbfbf9;
  --surface: #f5f4ed;
  --brand: #ff61f2;
  --brand-hovered: #eb58df;
  --brand-pressed: #da4ece;
  --strong-hovered: #3f3a3a;
  --strong-pressed: #756c6c;
  --accent-hovered: #726767;
  --accent-pressed: #887a7a;
  --surface-hovered: #f0eee7;
  --surface-pressed: #e8e6dc;
  --border: #d0cdc3;
  --border-hovered: #ded7cf;
  --border-pressed: #cac4be;
  --border-subtle: #e3e2d6;
  --success: #3c7411;
  --danger: #b13606;
  --warning: #a65a03;
  --promo: #a33e9a;
  --soft: var(--surface);
  --line: var(--border);
    --radius: 16px;
  --font-body: "Arial Narrow", "Aptos Narrow", LocalPretendard, "Apple SD Gothic Neo", Arial, sans-serif;
  --font-display: "Arial Black", "Avenir Next Condensed", LocalPretendard, "Apple SD Gothic Neo", Arial, sans-serif;
  --focus-ring: 0 0 0 2px var(--canvas), 0 0 0 4px var(--ink);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  font-size: 17px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

button:disabled {
  cursor: wait;
}

h1, h2, h3, p {
  margin: 0;
}

p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  word-break: keep-all;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--promo);
  outline-offset: 5px;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1248px, 100% - 96px);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 25px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.6;
}

.small-label {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 500;
}

.button {
  border: 1px solid #0000;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 24px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background .18s, transform .18s;
  display: inline-flex;
}

.button-dark {
  background: var(--ink);
  color: var(--canvas);
}

.button-light {
  background: var(--soft);
}

.button-light:hover {
  background: var(--surface-hovered);
}

.skip-link {
  z-index: 50;
  background: var(--ink);
  color: var(--canvas);
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  top: -70px;
  left: 20px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  z-index: 20;
  width: min(1000px, 100% - 64px);
  margin: 20px auto 0;
  position: sticky;
  top: 20px;
}

.nav-shell {
  background: var(--canvas);
  border-radius: 100px;
  align-items: center;
  gap: 30px;
  min-height: 68px;
  padding: 10px 12px 10px 20px;
  display: flex;
}

.brand {
  white-space: nowrap;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
}

.brand-mark {
  letter-spacing: -6px;
  width: 39px;
  padding-right: 5px;
  font-family: Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  transform: translateY(-3px);
}

.desktop-links {
  gap: 30px;
  margin-left: auto;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
}

.desktop-links a {
  padding: 12px 0;
}

.desktop-links a:hover {
  color: var(--muted);
}

.menu-toggle {
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 12px;
  display: none;
}

.menu-toggle span {
  background: var(--ink);
  width: 20px;
  height: 1.5px;
  margin: 5px 0;
  display: block;
}

.mobile-menu {
  background: var(--soft);
  border-radius: 24px;
  margin-top: 8px;
  padding: 20px;
}

.mobile-menu a {
  padding: 13px;
  display: block;
}

.hero > .eyebrow {
  margin-bottom: 30px;
}

.hero-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  display: flex;
}

.hero h1 {
  font-size: clamp(3.8rem, 5.45vw, 5.15rem);
  font-weight: 650;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--ink);
}

.hero-intro {
  min-width: 280px;
  padding-bottom: 4px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.hero-intro p + p {
  margin-top: 13px;
}

.hero-intro .button {
  margin-top: 25px;
}

.hero-workbench {
  background: var(--soft);
  border-radius: var(--radius);
  margin-top: 64px;
  padding: 20px 28px 28px;
}

.workbench-top {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 2px 18px;
  display: flex;
}

.mini-brand {
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
}

.tiny-mark {
  letter-spacing: -2px;
  padding-right: 2px;
  font-family: Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.sample-label {
  color: var(--muted);
  font-size: .75rem;
}

.workbench-body {
  grid-template-columns: 225px 1fr;
  min-height: 330px;
  display: grid;
}

.workbench-sidebar {
  flex-direction: column;
  gap: 7px;
  padding: 25px 24px 12px 0;
  display: flex;
}

.workbench-sidebar > .small-label {
  margin-bottom: 15px;
  padding-left: 15px;
}

.work-tab {
  text-align: left;
  background: none;
  border: 0;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 13px 15px;
  font-size: .9375rem;
  display: flex;
}

.work-tab.active {
  background: var(--canvas);
  font-weight: 600;
}

.work-tab.active:hover {
  background: var(--canvas);
}

.line-icon {
  width: 20px;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
}

.sidebar-note {
  color: var(--muted);
  margin-top: auto;
  padding: 20px 15px 0;
  font-size: .8125rem;
  line-height: 1.8;
}

.workbench-main {
  background: var(--canvas);
  border-radius: 15px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 34px 18px;
  display: flex;
}

.workflow-title {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.workflow-title h2 {
  margin-top: 11px;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.4;
}

.status-tag {
  border: 1px solid var(--line);
  white-space: nowrap;
  border-radius: 30px;
  padding: 6px 12px;
  font-size: .75rem;
}

.workflow-line {
  align-items: center;
  margin: 28px 0 24px;
  display: flex;
}

.workflow-line > div {
  flex-direction: column;
  flex: 1;
  gap: 9px;
  display: flex;
}

.step-n {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: .75rem;
}

.workflow-line strong {
  font-size: .9375rem;
  font-weight: 600;
}

.workflow-line small {
  color: var(--muted);
  font-size: .75rem;
}

.workflow-line i {
  background: var(--border);
  width: 38px;
  height: 1px;
  margin: 15px 24px 0 6px;
}

.human-step strong {
  color: var(--promo);
}

.workbench-bottom {
  border-top: 1px solid var(--border-subtle);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  font-size: .75rem;
  display: flex;
}

.text-button {
  color: var(--ink);
  text-underline-offset: 4px;
  background: none;
  border: 0;
  min-height: 36px;
  padding: 7px 0;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: underline;
}

.hero-caption {
  color: var(--muted);
  justify-content: space-between;
  margin-top: 19px;
  font-size: .8125rem;
  display: flex;
}

.about {
  grid-template-columns: 1.05fr 1fr;
  gap: 100px;
  padding: 154px 0 136px;
  display: grid;
}

.about h2, .section-heading h2, .principles h2, .contact h2 {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 650;
  line-height: 1.35;
}

.about-copy {
  padding-top: 48px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.95;
}

.about-copy p + p {
  margin-top: 22px;
}

.about-copy .about-last {
  color: var(--ink);
  margin-top: 32px;
  font-size: 1.5rem;
  font-weight: 550;
  line-height: 1.5;
}

.founder-sign {
  color: var(--muted);
  margin-top: 23px;
  font-size: .8125rem;
  display: block;
}

.products {
  padding-bottom: 128px;
}

.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 35px;
  margin-bottom: 40px;
  display: flex;
}

.section-aside {
  color: var(--muted);
  padding-bottom: 5px;
  font-size: 1rem;
  line-height: 1.8;
}

.filter-row {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 32px;
  display: flex;
}

.filters {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.filter {
  background: none;
  border: 0;
  border-radius: 100px;
  min-height: 44px;
  padding: 12px 20px;
  font-size: .875rem;
}

.filter:hover {
  background: var(--surface);
}

.filter.active {
  background: var(--ink);
  color: var(--canvas);
}

.product-count {
  color: var(--muted);
  white-space: nowrap;
  font-size: .8125rem;
}

.product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 24px;
  display: grid;
}

.product-open {
  text-align: left;
  background: none;
  border: 0;
  border-radius: 24px 24px 12px 12px;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
}

.product-visual {
  background: var(--soft);
  border-radius: 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 258px;
  padding: 30px 25px 40px;
  transition: background .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.visual-caption {
  color: var(--muted);
  font-size: .75rem;
  position: absolute;
  bottom: 13px;
  right: 20px;
}

.product-text {
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 23px 2px 0;
  display: flex;
}

.product-kicker {
  color: var(--muted);
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .75rem;
  display: flex;
}

.product-text h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-text > p {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.85;
}

.product-link {
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  font-size: .875rem;
  font-weight: 600;
  transition: color .2s;
  display: flex;
}

.product-link > span {
  font-size: 1.4rem;
  font-weight: 400;
}

.mini-window, .cf-paper, .mini-calendar, .os-sheet, .content-paper {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  width: 100%;
  padding: 0 15px 8px;
}

.mini-window-head {
  border-bottom: 1px solid var(--border-subtle);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
}

.mini-window-head span + span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 400;
}

.sheet-row {
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  font-size: .75rem;
  display: flex;
}

.sheet-row:last-child {
  border: 0;
}

.sheet-row > span:first-child {
  color: var(--muted);
  font-family: monospace;
  font-size: .75rem;
}

.sheet-row b {
  font-weight: 500;
}

.mini-state {
  color: var(--muted);
  margin-left: auto;
  font-size: .75rem;
}

.mini-state.review {
  color: var(--promo);
}

.cf-row {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: .75rem;
  display: flex;
}

.file-chip {
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  padding: 3px 6px;
  font-family: Arial, sans-serif;
}

.cf-total {
  border-top: 1px solid var(--ink);
  justify-content: space-between;
  padding: 14px 0;
  font-size: .75rem;
  display: flex;
}

.cf-total strong {
  font-weight: 500;
}

.cf-check {
  color: var(--promo);
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0 5px;
  font-size: .75rem;
  display: flex;
}

.cf-check b {
  font-weight: 500;
}

.format-lockup {
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  display: flex;
}

.format-file {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  padding: 18px 17px;
  display: flex;
}

.format-file > span, .format-file small {
  color: var(--muted);
  white-space: nowrap;
  font-size: .75rem;
}

.format-file strong {
  font-family: Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

.format-equals {
  color: var(--border);
  font-size: 1.5rem;
}

.calendar-days {
  text-align: center;
  color: var(--muted);
  grid-template-columns: repeat(5, 1fr);
  padding: 11px 0;
  font-size: .75rem;
  display: grid;
}

.calendar-grid {
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), var(--border-subtle) calc(20% - 1px), var(--border-subtle) 20%);
  grid-template-rows: repeat(4, 28px);
  grid-template-columns: repeat(5, 1fr);
  gap: 5px 3px;
  padding: 5px 0;
  display: grid;
}

.cal-block {
  background: var(--border-subtle);
  white-space: nowrap;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  font-size: .75rem;
  display: flex;
}

.cal-a {
  grid-area: 1 / 1 / auto / 4;
}

.cal-b {
  background: var(--surface-pressed);
  color: var(--ink);
  grid-area: 2 / 3 / auto / 6;
}

.cal-c {
  grid-area: 3 / 1 / auto / 3;
}

.cal-d {
  background: var(--ink);
  color: var(--canvas);
  grid-area: 4 / 4 / auto / 6;
}

.os-tabs {
  gap: 18px;
  padding: 15px 0 6px;
  font-size: .75rem;
  display: flex;
}

.os-tabs span:first-child {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 7px;
  font-weight: 600;
}

.os-tabs span + span {
  color: var(--muted);
}

.os-line {
  border-top: 1px solid var(--border-subtle);
  justify-content: space-between;
  padding: 13px 0;
  font-size: .75rem;
  display: flex;
}

.os-line b {
  color: var(--muted);
  font-weight: 400;
}

.content-headline {
  padding: 16px 0;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.6;
}

.content-path {
  justify-content: space-between;
  gap: 6px;
  font-size: .75rem;
  display: flex;
}

.content-path span {
  background: var(--surface);
  border-radius: 4px;
  padding: 6px 7px;
}

.content-channels {
  color: var(--muted);
  margin: 14px 0 5px;
  font-size: .75rem;
}

.product-footnote {
  color: var(--muted);
  margin-top: 22px;
  font-size: .8125rem;
  line-height: 1.7;
}

.principles {
  background: var(--soft);
}

.principles-inner {
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-block: 100px;
  display: grid;
}

.principle-intro {
  color: var(--muted);
  margin-top: 25px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.principle-list article {
  border-top: 1px solid var(--border);
  gap: 26px;
  padding: 29px 0;
  display: flex;
}

.principle-list article:first-child {
  border: 0;
  padding-top: 0;
}

.principle-list article:last-child {
  padding-bottom: 0;
}

.principle-list article > span {
  color: var(--muted);
  padding-top: 3px;
  font-size: .8125rem;
}

.principle-list h3 {
  margin-bottom: 13px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.principle-list p {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.85;
}

.approach {
  padding-top: 128px;
  padding-bottom: 125px;
}

.approach-steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
  display: grid;
}

.approach-steps article {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.approach-steps article > span {
  color: var(--muted);
  font-size: .8125rem;
}

.approach-steps h3 {
  margin: 26px 0 15px;
  font-size: 1.25rem;
  font-weight: 600;
}

.approach-steps p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.faq {
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  padding-bottom: 130px;
  display: grid;
}

.faq h2 {
  padding-top: 15px;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq details {
  background: var(--soft);
  border-radius: 16px;
  margin-bottom: 10px;
  padding: 0 24px;
}

.faq summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.6;
  list-style: none;
  display: flex;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary > span {
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform .2s;
}

.faq details[open] summary > span {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--muted);
  padding-bottom: 23px;
  font-size: .9375rem;
  line-height: 1.9;
}

.contact {
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 80px;
  padding-bottom: 100px;
  display: grid;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 26px;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.contact-direct {
  color: var(--muted);
  margin-top: 40px;
  font-size: .9375rem;
  line-height: 1.8;
}

.contact-direct a {
  color: var(--ink);
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

form {
  flex-direction: column;
  gap: 22px;
  display: flex;
}

.form-row {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

label {
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.5;
  display: block;
}

.required {
  color: var(--muted);
  margin-left: 5px;
  font-size: .75rem;
  font-weight: 400;
}

input, textarea, select {
  background: var(--surface);
  width: 100%;
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  min-height: 50px;
  margin-top: 9px;
  padding: 15px 17px;
  font-size: 1rem;
  display: block;
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
  font-size: .9375rem;
}

textarea {
  resize: vertical;
  line-height: 1.7;
}

select {
  appearance: auto;
  padding-right: 20px;
}

.form-note {
  color: var(--muted);
  margin-top: -6px;
  font-size: .8125rem;
  line-height: 1.7;
}

.form-submit {
  align-self: flex-start;
  min-width: 170px;
}

.form-status {
  min-height: 0;
  color: var(--promo);
  font-size: .875rem;
  line-height: 1.8;
}

.form-status:empty {
  display: none;
}

.draft-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  display: flex;
}

#contact-result {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

#contact-draft {
  font-size: .875rem;
}

footer {
  background: var(--ink);
  color: var(--canvas);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
}

.footer-inner {
  padding-top: 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-description {
  max-width: 380px;
  margin-top: 16px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}

.footer-contact {
  text-align: right;
}

.footer-tagline {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -.02em;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 4px;
}

.footer-email:hover {
  color: var(--accent-hovered);
}

.footer-email:active {
  color: var(--accent-pressed);
}


.footer-bottom {
  border-top: 1px solid var(--strong-hovered);
  color: var(--border);
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 12px 0 16px;
  font-size: .8125rem;
  display: flex;
}

.footer-bottom > span:first-child {
  margin-right: auto;
}

.footer-bottom a, .footer-link {
  color: var(--border);
  background: none;
  border: 0;
  padding: 10px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: .8125rem;
}

dialog {
  width: calc(100% - 40px);
  max-width: 710px;
  max-height: calc(100dvh - 64px);
  color: var(--ink);
  overscroll-behavior: contain;
  border: 0;
  border-radius: 24px;
  padding: 44px;
  position: fixed;
  overflow-y: auto;
}

dialog::backdrop {
  background: #00000080;
}

.dialog-close {
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.65rem;
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 18px;
}

.dialog-close:hover {
  background: var(--border);
}

dialog .eyebrow {
  color: var(--muted);
  margin: 8px 0 18px;
  padding-right: 30px;
  font-size: .8125rem;
}

dialog h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
}

dialog p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.85;
}

dialog h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
}

dialog ul {
  color: var(--muted);
  margin-bottom: 25px;
  padding-left: 20px;
  font-size: .9375rem;
  line-height: 1.9;
}

dialog .dialog-note {
  background: var(--surface);
  border-radius: 12px;
  margin-top: 25px;
  padding: 17px 20px;
  font-size: .875rem;
}

dialog .button {
  margin-top: 5px;
}

.noscript-note {
  background: var(--surface);
  text-align: center;
  padding: 20px;
  font-size: .875rem;
}

@media (width >= 1600px) {
  .hero h1 {
    font-size: 5.3rem;
  }

  .hero {
    padding-top: 110px;
  }
}

@media (width <= 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .hero-intro {
    min-width: 260px;
    font-size: 1rem;
  }

  .workbench-body {
    grid-template-columns: 200px 1fr;
  }

  .workbench-main {
    padding-inline: 26px;
  }

  .workflow-line i {
    width: 20px;
    margin-inline: 10px;
  }

  .product-grid {
    gap: 36px 18px;
  }

  .product-visual {
    height: 245px;
    padding-inline: 14px;
  }

  .product-text h3 {
    font-size: 1.35rem;
  }

  .mini-window, .cf-paper, .mini-calendar, .os-sheet, .content-paper {
    padding-inline: 12px;
  }

  .sheet-row {
    gap: 7px;
  }

  .format-file {
    padding-inline: 12px;
  }

  .format-file strong {
    font-size: 1.9rem;
  }

  .format-lockup {
    gap: 10px;
  }

  .about, .principles-inner, .contact {
    gap: 55px;
  }

  .faq {
    gap: 45px;
  }

  .desktop-links, .nav-shell {
    gap: 22px;
  }
}

@media (width <= 850px) {
  .brand-name {
    font-size: .9375rem;
  }

  .desktop-links {
    gap: 16px;
    font-size: .8125rem;
  }

  .nav-shell {
    gap: 18px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-intro {
    min-width: 220px;
    font-size: .9375rem;
  }

  .hero-heading {
    gap: 22px;
  }

  .hero-workbench {
    padding: 18px;
  }

  .workbench-body {
    grid-template-columns: 174px 1fr;
  }

  .workbench-sidebar {
    padding-right: 14px;
  }

  .work-tab {
    gap: 8px;
    padding-inline: 11px;
    font-size: .8125rem;
  }

  .workbench-main {
    padding: 24px;
  }

  .workflow-title h2 {
    font-size: 1.4rem;
  }

  .workflow-line strong {
    font-size: .8125rem;
  }

  .workflow-line small {
    font-size: .75rem;
    line-height: 1.6;
  }

  .workflow-line i {
    width: 12px;
    margin-inline: 7px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .product-visual {
    height: 260px;
    padding-inline: 26px;
  }

  .product-text h3 {
    font-size: 1.5rem;
  }

  .about {
    gap: 40px;
    padding-top: 110px;
  }

  .about h2 {
    font-size: 1.9rem;
  }

  .about-copy {
    padding-top: 40px;
  }

  .about-copy p {
    font-size: 1rem;
  }

  .principles-inner {
    gap: 40px;
  }

  .principles h2 {
    font-size: 2rem;
  }

  .principle-list h3 {
    font-size: 1.1rem;
  }

  .principle-list article {
    gap: 17px;
  }

  .section-aside {
    font-size: .9375rem;
  }

  .approach-steps {
    gap: 25px;
  }

  .approach-steps h3 {
    font-size: 1.0625rem;
  }

  .approach-steps p {
    font-size: .9375rem;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact {
    gap: 40px;
  }

  .contact h2 {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (width <= 640px) {
  :root {
    scroll-padding-top: 100px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    width: calc(100% - 28px);
    margin-top: 12px;
    top: 12px;
  }

  .nav-shell {
    gap: 10px;
    min-height: 60px;
    padding: 8px 10px 8px 17px;
  }

  .brand {
    gap: 9px;
    font-size: .875rem;
  }

  .brand-mark {
    width: 35px;
    font-size: 2.2rem;
  }

  .brand-name {
    font-size: .875rem;
  }

  .desktop-links {
    display: none;
  }

  .nav-contact {
    min-height: 40px;
    margin-left: auto;
    padding: 10px 16px;
    font-size: .8125rem;
  }

  .menu-toggle {
    width: 38px;
    padding: 9px;
    display: block;
  }

  .hero {
    padding-top: 57px;
  }

  .hero > .eyebrow {
    margin-bottom: 23px;
    font-size: .8125rem;
  }

  .hero-heading {
    display: block;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 8.7vw, 3.5rem);
    line-height: 1.24;
  }

  .hero-intro {
    margin-top: 27px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-intro p:first-child br {
    display: none;
  }

  .hero-intro p + p {
    margin-top: 10px;
  }

  .hero-intro .button {
    margin-top: 22px;
  }

  .hero-workbench {
    border-radius: 19px;
    margin-top: 40px;
    padding: 15px 12px 12px;
  }

  .workbench-top {
    align-items: center;
    gap: 8px;
    padding-inline: 5px;
  }

  .mini-brand {
    gap: 7px;
    font-size: .8125rem;
  }

  .sample-label {
    text-align: right;
    max-width: 140px;
    font-size: .75rem;
    line-height: 1.5;
  }

  .workbench-body {
    display: block;
  }

  .workbench-sidebar {
    flex-direction: row;
    gap: 5px;
    padding: 0 0 12px;
    overflow: auto;
  }

  .workbench-sidebar > .small-label, .sidebar-note, .line-icon {
    display: none;
  }

  .work-tab {
    white-space: nowrap;
    border-radius: 30px;
    flex: 1;
    justify-content: center;
    min-height: 40px;
    padding: 11px 10px;
    font-size: .75rem;
  }

  .workbench-main {
    border-radius: 12px;
    min-height: 313px;
    padding: 23px 18px 12px;
  }

  .workflow-title h2 {
    font-size: 1.35rem;
  }

  .workflow-title {
    gap: 8px;
  }

  .status-tag {
    padding: 5px 9px;
  }

  .workflow-line {
    align-items: flex-start;
    margin-block: 28px;
  }

  .workflow-line > div {
    gap: 8px;
  }

  .workflow-line strong {
    font-size: .8125rem;
    line-height: 1.5;
  }

  .workflow-line small {
    font-size: .75rem;
  }

  .workflow-line i {
    flex-shrink: 0;
    width: 12px;
    margin: 37px 8px 0 0;
  }

  .workbench-bottom {
    font-size: .75rem;
    line-height: 1.5;
  }

  .text-button {
    white-space: nowrap;
    font-size: .75rem;
  }

  .hero-caption {
    gap: 20px;
    font-size: .75rem;
    line-height: 1.6;
  }

  .hero-caption p:last-child {
    text-align: right;
  }

  .about {
    padding: 87px 0;
    display: block;
  }

  .about h2, .section-heading h2, .principles h2, .contact h2 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .about-copy {
    padding-top: 28px;
  }

  .about-copy p {
    font-size: 1rem;
    line-height: 1.95;
  }

  .about-copy .about-last {
    margin-top: 25px;
    font-size: 1.3rem;
  }

  .section-heading {
    margin-bottom: 30px;
    display: block;
  }

  .section-aside {
    margin-top: 22px;
    font-size: .9375rem;
    line-height: 1.8;
  }

  .filter-row {
    gap: 10px;
    margin-bottom: 27px;
  }

  .filters {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .filter {
    white-space: nowrap;
    min-height: 44px;
    padding: 11px 13px;
    font-size: .8125rem;
  }

  .product-count {
    display: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-visual {
    height: 278px;
    padding: 30px 36px 42px;
  }

  .product-text {
    padding-top: 20px;
  }

  .product-kicker {
    font-size: .8125rem;
  }

  .product-text h3 {
    font-size: 1.45rem;
  }

  .product-text > p {
    font-size: 1rem;
  }

  .product-link {
    margin-top: 15px;
  }

  .mini-window-head {
    font-size: .8125rem;
  }

  .mini-window-head span + span {
    font-size: .75rem;
  }

  .mini-window, .cf-paper, .mini-calendar, .os-sheet, .content-paper {
    max-width: 330px;
    padding-inline: 17px;
  }

  .sheet-row, .cf-row, .cf-total, .cf-check, .os-line {
    font-size: .8125rem;
  }

  .format-lockup {
    gap: 22px;
    max-width: 310px;
  }

  .format-file {
    padding: 23px 20px;
  }

  .format-file strong {
    font-size: 2.4rem;
  }

  .calendar-grid {
    grid-template-rows: repeat(4, 30px);
  }

  .content-headline {
    font-size: 1.3rem;
  }

  .content-path, .content-channels, .product-footnote {
    font-size: .75rem;
  }

  .products {
    padding-bottom: 80px;
  }

  .principles-inner {
    padding-block: 64px;
    display: block;
  }

  .principle-intro {
    margin-top: 20px;
    font-size: 1rem;
  }

  .principle-list {
    margin-top: 38px;
  }

  .principle-list article {
    gap: 20px;
    padding-block: 24px;
  }

  .principle-list h3 {
    font-size: 1.125rem;
  }

  .principle-list p {
    font-size: .9375rem;
  }

  .approach {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .approach-steps {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 36px;
  }

  .approach-steps article {
    padding-top: 17px;
  }

  .approach-steps h3 {
    margin: 18px 0 10px;
    font-size: 1.2rem;
  }

  .approach-steps p {
    font-size: 1rem;
  }

  .faq {
    gap: 25px;
    padding-bottom: 80px;
  }

  .faq h2 {
    padding: 0;
    font-size: 1.6rem;
  }

  .faq details {
    padding-inline: 19px;
  }

  .faq summary {
    padding-block: 19px;
    font-size: .9375rem;
  }

  .faq details p {
    font-size: .9375rem;
  }

  .contact {
    padding-top: 58px;
    padding-bottom: 66px;
    display: block;
  }

  .contact-direct {
    margin-top: 24px;
  }

  .contact form {
    gap: 21px;
    margin-top: 40px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer-inner {
    padding-top: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 24px;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-tagline {
    font-size: 1.125rem;
  }


  .footer-bottom {
    gap: 8px 22px;
    padding-block: 20px;
  }

  .footer-bottom > span {
    width: 100%;
  }

  .footer-bottom a {
    margin-left: auto;
  }

  dialog {
    border-radius: 20px;
    max-height: calc(100dvh - 32px);
    padding: 37px 25px 28px;
  }

  dialog h2 {
    font-size: 1.7rem;
  }

  dialog p {
    font-size: .9375rem;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
  }

  dialog .eyebrow {
    padding-right: 24px;
    font-size: .75rem;
  }
}

@media (width <= 370px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .brand-name {
    font-size: .8125rem;
  }

  .nav-contact {
    padding-inline: 12px;
  }

  .nav-shell {
    gap: 6px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .filter {
    padding-inline: 11px;
  }

  .product-visual {
    padding-inline: 22px;
  }

  .workflow-line i {
    width: 8px;
    margin-inline: 5px;
  }

  .workbench-main {
    padding-inline: 13px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-caption {
    gap: 8px;
  }

  .hero-caption p:last-child {
    max-width: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *, :before, :after {
    transition: none !important;
    animation: none !important;
  }

  .button:hover {
    transform: none;
  }
}

@media print {
  .site-header, .hero-workbench, .filters, .product-visual, .contact form, dialog, .button {
    display: none !important;
  }

  .wrap {
    width: 100%;
  }

  .hero, .about, .products, .approach, .faq, .contact, .principles-inner {
    padding-block: 25px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    break-inside: avoid;
  }

  footer {
    color: var(--ink);
    background: var(--canvas);
  }

  .footer-description, .footer-bottom {
    color: var(--muted);
  }

  .about, .principles-inner, .contact {
    gap: 30px;
  }
}

.language-nav {
  justify-content: flex-end;
  gap: 2px;
  margin-top: 8px;
  display: flex;
}

.language-nav a {
  background: var(--canvas);
  border: 1px solid var(--line);
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  font-size: .75rem;
  display: inline-flex;
}

.language-nav a:first-child {
  border-radius: 24px 0 0 24px;
}

.language-nav a:last-child {
  border-radius: 0 24px 24px 0;
}

.language-nav a[aria-current] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
}

.language-nav a:hover {
  box-shadow: none;
}

.compact-card {
  border-top: 1px solid var(--line);
}

.compact-card .product-open {
  border-radius: 0 0 12px 12px;
}

.compact-card .product-text {
  padding: 24px 2px 10px;
}

.compact-card .product-link {
  margin-top: auto;
  padding-top: 22px;
}

.product-kicker {
  flex-wrap: wrap;
  line-height: 1.5;
}

.jurisdiction-note {
  max-width: 850px;
  margin-top: 10px;
}

.sheet-row b {
  white-space: normal;
  min-width: 0;
}

.mini-state {
  flex-shrink: 0;
}

.filters {
  flex-wrap: wrap;
}

.format-file {
  min-width: 0;
}

.format-file > span, .format-file small {
  white-space: normal;
  line-height: 1.5;
}

html:lang(en) p, html:lang(en) h1, html:lang(en) h2, html:lang(en) h3 {
  word-break: normal;
}

html:lang(ja) p, html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 {
  word-break: normal;
  line-break: strict;
}

.hero-intro {
  max-width: 390px;
}

.workflow-line > div {
  min-width: 0;
}

.workflow-title h2 {
  overflow-wrap: break-word;
}

@media (width >= 641px) and (width <= 1100px) {
  html:lang(en) .hero-heading, html:lang(ja) .hero-heading {
    display: block;
  }

  html:lang(en) .hero-intro, html:lang(ja) .hero-intro {
    max-width: 560px;
    margin-top: 28px;
  }
}

@media (width <= 850px) {
  html:lang(en) .nav-shell, html:lang(en) .desktop-links {
    gap: 12px;
  }

  html:lang(en) .nav-contact {
    padding-inline: 16px;
  }

  .hero-intro {
    max-width: none;
  }
}

@media (width <= 640px) {
  :root {
    scroll-padding-top: 155px;
  }

  .language-nav a {
    min-height: 44px;
    padding-inline: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .workbench-sidebar {
    flex-wrap: wrap;
    overflow: visible;
  }

  .work-tab {
    white-space: normal;
    min-width: 85px;
  }

  .workflow-title {
    flex-wrap: wrap;
  }

  .workflow-title .status-tag {
    order: -1;
  }

  .product-visual {
    height: auto;
    min-height: 278px;
  }

  .compact-card .product-text {
    padding-top: 22px;
  }

  .filters {
    flex-wrap: wrap;
  }

  .brand-name {
    white-space: normal;
    max-width: 145px;
    line-height: 1.2;
  }

  html:lang(ja) .hero h1 {
    font-size: clamp(2.1rem, 7.7vw, 3rem);
  }

  .workflow-line small {
    overflow-wrap: break-word;
  }
}

@media (width >= 1101px) {
  html:lang(en) .hero h1 {
    font-size: clamp(3.2rem, 4.6vw, 4.4rem);
  }
}

body {
  background: var(--canvas);
}

h1, h2, h3 {
  letter-spacing: -.025em;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
}

.hero h1 {
  letter-spacing: -.055em;
  line-height: 1.08;
}

.hero h1 span {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: .13em;
  text-decoration-thickness: .09em;
}

.hero > .eyebrow {
  align-items: center;
  gap: 12px;
  display: flex;
}

.hero > .eyebrow:before {
  content: "";
  background: var(--brand);
  border-radius: 2px;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  display: block;
}

.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  margin: 0;
  top: 0;
}

.nav-shell {
  background: var(--canvas);
  border-radius: 0;
  gap: 24px;
  width: min(1248px, 100% - 96px);
  min-height: 64px;
  margin: auto;
  padding: 8px 0;
}

.desktop-links {
  gap: 28px;
  font-size: 1rem;
  font-weight: 400;
}

.desktop-links a {
  border-radius: 4px;
  align-items: center;
  min-height: 48px;
  padding: 8px 0;
  display: flex;
}

.desktop-links a:hover, .text-button:hover, .footer-link:hover, .footer-bottom a:hover {
  color: var(--accent-hovered);
}

.desktop-links a:active, .text-button:active {
  color: var(--accent-pressed);
}

.brand-mark {
  background: var(--ink);
  width: 42px;
  height: 42px;
  color: var(--canvas);
  letter-spacing: -5px;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  padding: 0 5px 4px 0;
  font-size: 2.15rem;
  transform: none;
}

.language-nav {
  gap: 4px;
  width: min(1248px, 100% - 96px);
  margin: 0 auto;
  padding: 0 0 8px;
}

.language-nav a, .language-nav a:first-child, .language-nav a:last-child {
  background: none;
  border: 1px solid #0000;
  border-radius: 4px;
  min-height: 36px;
  padding: 6px 12px;
  font-size: .75rem;
}

.language-nav a[aria-current] {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand);
  text-underline-offset: 5px;
  text-decoration-thickness: 3px;
}

.language-nav a:hover {
  background: var(--surface-hovered);
  color: var(--ink);
}

.language-nav a:active {
  background: var(--surface-pressed);
}

.mobile-menu {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  margin: 0 14px 8px;
  padding: 12px;
}

.mobile-menu a {
  border-radius: 4px;
}

.mobile-menu a:hover {
  background: var(--surface-hovered);
}

.mobile-menu a:active {
  background: var(--surface-pressed);
}

.button {
  border-radius: 12px;
  min-height: 48px;
  padding: 11px 23px;
  font-size: 1rem;
  font-weight: 550;
  transition: background .15s, border-color .15s, color .15s;
}

.button:hover {
  transform: none;
}

.button-dark {
  background: var(--ink);
  min-height: 68px;
  color: var(--canvas);
}

.button-dark:hover {
  background: var(--strong-hovered);
}

.button-dark:active {
  background: var(--strong-pressed);
}

.button-light {
  background: var(--canvas);
  border-color: var(--border);
  color: var(--ink);
}

.button-light:hover {
  background: var(--surface-hovered);
  border-color: var(--border-hovered);
}

.button-light:active {
  background: var(--surface-pressed);
  border-color: var(--border-pressed);
}

.button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.nav-contact {
  min-height: 48px;
  padding: 11px 20px;
  font-size: .875rem;
}

.menu-toggle {
  border-radius: 4px;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--surface-hovered);
}

.menu-toggle:active {
  background: var(--surface-pressed);
}

.hero {
  padding-top: 76px;
}

.hero-heading {
  align-items: center;
  gap: 48px;
}

.hero-intro {
  max-width: 380px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-workbench {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  margin-top: 60px;
  padding: 24px;
}

.workbench-main {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 0 var(--border-subtle);
  border-radius: 16px;
}

.work-tab {
  border: 1px solid #0000;
  border-radius: 12px;
}

.work-tab:hover {
  background: var(--surface-hovered);
}

.work-tab:active {
  background: var(--surface-pressed);
}

.work-tab.active, .work-tab.active:hover {
  background: var(--canvas);
  border-color: var(--border);
  box-shadow: inset 3px 0 var(--brand);
}

.status-tag {
  background: var(--surface);
  border-color: var(--border);
  white-space: normal;
  border-radius: 4px;
  line-height: 1.5;
}

.human-step strong, .mini-state.review, .cf-check {
  color: var(--promo);
}

.workbench-bottom {
  border-color: var(--border-subtle);
}

.about {
  padding-block: 120px;
}

.about-copy .about-last {
  border-left: 4px solid var(--brand);
  padding-left: 20px;
}

.product-grid {
  align-items: stretch;
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border-subtle);
  background: var(--canvas);
  border-radius: 16px;
}

.product-open, .compact-card .product-open {
  border-radius: 16px;
  transition: box-shadow .15s;
}

.product-open:hover {
  box-shadow: 0 4px 0 var(--border-subtle);
}

.product-open:active {
  box-shadow: none;
}

.product-visual {
  background: var(--surface);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 15px 15px 0 0;
}

.product-open:hover .product-visual {
  background: var(--surface-hovered);
}

.product-open:active .product-visual {
  background: var(--surface-pressed);
}

.product-text, .compact-card .product-text {
  gap: 0;
  padding: 24px;
}

.product-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.product-text > p {
  font-size: .9375rem;
  line-height: 1.75;
}

.product-kicker {
  gap: 6px 14px;
  font-size: .7059rem;
}

.product-kicker span:last-child {
  color: var(--muted);
}

.product-link, .compact-card .product-link {
  margin-top: auto;
  padding-top: 22px;
  font-size: .875rem;
}

.product-link > span {
  color: var(--promo);
}

.product-open:hover .product-link {
  color: var(--accent-hovered);
}

.product-open:active .product-link {
  color: var(--accent-pressed);
}

.compact-card {
  background: var(--surface);
}

.compact-card .product-open:hover {
  background: var(--surface-hovered);
}

.compact-card .product-open:active {
  background: var(--surface-pressed);
}

.filter {
  border: 1px solid var(--border);
  background: var(--canvas);
  border-radius: 12px;
  min-height: 48px;
  padding: 11px 18px;
  font-size: .875rem;
  font-weight: 550;
}

.filter:hover {
  background: var(--surface-hovered);
  border-color: var(--border-hovered);
}

.filter:active {
  background: var(--surface-pressed);
  border-color: var(--border-pressed);
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
}

.filter.active:hover {
  background: var(--strong-hovered);
}

.filter.active:active {
  background: var(--strong-pressed);
}

.filters {
  flex-wrap: wrap;
  gap: 8px;
}

.mini-window, .cf-paper, .mini-calendar, .os-sheet, .content-paper {
  background: var(--canvas);
  border-color: var(--border);
  border-radius: 4px;
}

.cal-block, .content-path span {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.cal-b {
  background: var(--surface-pressed);
  color: var(--ink);
}

.cal-d {
  background: var(--ink);
  color: var(--canvas);
}

.format-file {
  background: var(--canvas);
  border-color: var(--border);
  border-radius: 4px;
}

.principles {
  background: var(--ink);
  color: var(--canvas);
}

.principle-intro, .principle-list p, .principle-list article > span {
  color: var(--border);
}

.principle-list article {
  border-color: var(--strong-hovered);
}

.principle-list article > span {
  color: var(--brand);
}

.principles h2 {
  font-weight: 750;
}

.approach-steps article {
  border-top: 2px solid var(--border);
}

.approach-steps article:first-child {
  border-color: var(--brand);
}

.faq details {
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  border-radius: 16px;
}

.faq summary {
  border-radius: 4px;
  font-size: 1rem;
}

.faq summary:hover {
  color: var(--accent-hovered);
}

.faq summary:active {
  color: var(--accent-pressed);
}

.faq details[open] {
  border-color: var(--border);
}

input, textarea, select {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 52px;
  font-size: 1rem;
}

input:hover, textarea:hover, select:hover {
  border-color: var(--accent-hovered);
}

input::placeholder, textarea::placeholder {
  color: var(--muted);
}

.form-row {
  min-width: 0;
}

.contact form {
  background: var(--surface);
  border-radius: 24px 24px 24px 0;
  padding: 32px;
}

.form-status {
  color: var(--promo);
}

footer {
  background: var(--surface);
  color: var(--ink);
  border-top: 1px solid var(--border-subtle);
  border-radius: 0;
}

.footer-description, .footer-bottom {
  color: var(--muted);
}


.footer-bottom {
  border-color: var(--border);
}

.footer-bottom a, .footer-link {
  color: var(--ink);
  border-radius: 4px;
}

.footer-bottom a:hover, .footer-link:hover {
  color: var(--accent-hovered);
}

.footer-bottom a:active, .footer-link:active {
  color: var(--accent-pressed);
}

dialog {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 10px #0000001a;
}

.dialog-close {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 44px;
  height: 44px;
}

.dialog-close:hover {
  background: var(--surface-hovered);
  border-color: var(--border-hovered);
}

.dialog-close:active {
  background: var(--surface-pressed);
  border-color: var(--border-pressed);
}

dialog .dialog-note {
  background: var(--surface);
  border-radius: 12px;
}

:where(button, a, summary, input, textarea, select):focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible, input:focus, textarea:focus, select:focus {
  box-shadow: var(--focus-ring);
  outline: none;
}

.product-open:focus-visible, .work-tab:focus-visible, .language-nav a:focus-visible {
  box-shadow: var(--focus-ring);
}

html:lang(ja) {
  font-family: Hiragino Kaku Gothic ProN, Yu Gothic, Meiryo, sans-serif;
}

html:lang(ja) .hero h1 {
  letter-spacing: -.035em;
  font-family: inherit;
  font-weight: 900;
}

@media (width >= 1101px) {
  .hero h1, html:lang(en) .hero h1 {
    font-size: clamp(3rem, 4.3vw, 4.4rem);
  }

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

  .hero-intro {
    min-width: 0;
  }

  .hero-intro br {
    display: none;
  }
}

@media (width <= 1100px) {
  .nav-shell, .language-nav {
    width: calc(100% - 64px);
  }

  .nav-shell {
    gap: 18px;
  }

  .desktop-links {
    gap: 20px;
    font-size: .875rem;
  }

  .hero-heading {
    display: block;
  }

  .hero-intro {
    max-width: 620px;
    margin-top: 32px;
  }

  .hero-intro br {
    display: none;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .product-text, .compact-card .product-text {
    padding: 22px;
  }

  .contact {
    gap: 48px;
  }

  .contact form {
    padding: 26px;
  }
}

@media (width <= 850px) {
  .nav-shell {
    gap: 14px;
  }

  .desktop-links {
    gap: 14px;
    font-size: .8125rem;
  }

  .nav-contact {
    padding-inline: 16px;
  }

  .hero-workbench {
    padding: 18px;
  }

  .workbench-body {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .workflow-title {
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .about {
    gap: 40px;
  }

  .about-copy {
    padding-top: 0;
  }

  .contact {
    gap: 30px;
  }

  .contact form {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .product-text h3 {
    font-size: 1.35rem;
  }
}

@media (width <= 640px) {
  :root {
    scroll-padding-top: 150px;
  }

  .nav-shell, .language-nav {
    width: calc(100% - 32px);
  }

  .nav-shell {
    gap: 10px;
    min-height: 64px;
    padding: 8px 0;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    border-radius: 10px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    font-size: 1.9rem;
  }

  .brand-name {
    max-width: 130px;
    font-size: .8125rem;
  }

  .nav-contact {
    min-height: 44px;
    padding: 10px 12px;
    font-size: .75rem;
  }

  .menu-toggle {
    width: 36px;
    height: 44px;
    padding: 8px;
  }

  .language-nav a, .language-nav a:first-child, .language-nav a:last-child {
    min-height: 44px;
    padding: 8px 12px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    letter-spacing: -.045em;
    font-size: clamp(2.35rem, 8.3vw, 3.3rem);
    line-height: 1.18;
  }

  html:lang(ja) .hero h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.8rem);
    line-height: 1.35;
  }

  .hero-intro {
    margin-top: 28px;
  }

  .hero-workbench {
    border-radius: 16px;
    margin-top: 40px;
    padding: 16px 12px 12px;
  }

  .workbench-body {
    display: block;
  }

  .workbench-main {
    padding: 20px 16px 14px;
  }

  .workbench-sidebar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .work-tab {
    white-space: normal;
    border-radius: 12px;
    min-width: 85px;
    min-height: 44px;
  }

  .workflow-title .status-tag {
    order: -1;
  }

  .workflow-line {
    gap: 4px;
  }

  .workflow-line i {
    width: 8px;
    margin-left: 0;
    margin-right: 4px;
  }

  .workflow-line strong {
    font-size: .75rem;
  }

  .workflow-title h2 {
    font-size: 1.3rem;
  }

  .workbench-bottom {
    flex-wrap: wrap;
    gap: 4px;
  }

  .about {
    padding-block: 80px;
  }

  .about-copy {
    padding-top: 28px;
  }

  .filter {
    padding: 11px 14px;
    font-size: .8125rem;
  }

  .filter-row {
    align-items: flex-start;
  }

  .product-grid {
    gap: 24px;
  }

  .product-visual {
    min-height: 260px;
    padding: 26px 24px 40px;
  }

  .product-text, .compact-card .product-text {
    padding: 22px;
  }

  .product-text h3 {
    font-size: 1.35rem;
  }

  .product-text > p {
    font-size: .9375rem;
  }

  .about h2, .section-heading h2, .principles h2, .contact h2 {
    font-size: 1.9rem;
  }

  .principles-inner {
    padding-block: 64px;
  }

  .contact form {
    margin-top: 32px;
    padding: 24px 18px;
  }

  .contact .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    align-self: stretch;
  }


  dialog {
    padding: 46px 24px 24px;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
  }

  .draft-actions .button {
    white-space: normal;
    flex: 1;
  }
}

@media (width <= 370px) {
  .brand-name {
    max-width: 96px;
  }

  .nav-shell {
    gap: 6px;
  }

  .nav-contact {
    padding-inline: 10px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-caption {
    flex-wrap: wrap;
  }

  .hero-caption p:last-child {
    max-width: none;
  }

  .workbench-main {
    padding-inline: 12px;
  }

  .workflow-line small {
    font-size: .7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *, :before, :after {
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  button:focus-visible, a:focus-visible, summary:focus-visible, input:focus, textarea:focus, select:focus {
    outline-offset: 3px;
    outline: 2px solid highlight;
  }

  .hero h1 span {
    text-decoration-color: currentColor;
  }
}

@media print {
  .site-header, .hero-workbench, .filters, .product-visual, .contact form, dialog, .button {
    display: none !important;
  }

  .principles, footer {
    background: var(--canvas);
    color: var(--ink);
  }

  .principle-intro, .principle-list p, .principle-list article > span {
    color: var(--muted);
  }

  .product-open, .workbench-main {
    box-shadow: none;
  }

  .product-text {
    padding: 16px;
  }
}
/* Project catalogue: names, current status and one-line summaries. */
.hero-caption{margin-top:44px;padding-top:22px;border-top:1px solid var(--border)}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.compact-card .product-text{padding:24px 26px}
.compact-card .product-text h3{font-size:1.25rem}
.compact-card .product-text>p{font-size:.9375rem;line-height:1.65}
.compact-card .product-link{padding-top:16px;font-size:.8125rem}
@media(max-width:640px){.product-grid{grid-template-columns:1fr;gap:12px}.compact-card .product-text{padding:20px}.hero-caption{margin-top:32px}}

/* Logo: grid-built SS mark, semicircle bowls (Systemize · Save). Paths inherit text color; the last cell is the brand accent. */
.brand-mark{background:none;border-radius:0;width:30.6px;height:25px;padding:0;flex-shrink:0;letter-spacing:0;font-size:0;transform:none;display:inline-flex;color:inherit}
.brand-mark svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1}
.brand-mark .brand-cell{fill:var(--brand);stroke:none}
@media(max-width:640px){.brand-mark{width:26.2px;height:21.4px}}
@media(forced-colors:active){.brand-mark .brand-cell{fill:CanvasText}}
