@font-face {
  font-family: 'Public Sans';
  src: url('/fonts/PublicSans-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('/fonts/PublicSans-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('/fonts/PublicSans-Black.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #f2ebdd;
  --green: #1e6b4c;
  --sage: #6d9773;
  --gold: #ffba00;
  --brown: #b46617;
  --ink: #234b38;
  --muted: #4c6554;
  --line: #c7cfbf;
  --white: #fff;
  --soft: #e3e7d9;
  font-family: 'Public Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  scroll-padding-top: 2rem;
  scrollbar-color: var(--sage) var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
::selection { color: var(--green); background: var(--gold); }
a { color: var(--green); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--green); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.1vw, 5.6rem); font-weight: 900; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); letter-spacing: -.035em; font-weight: 900; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
p { max-width: 70ch; }
p + p { margin-top: 1rem; }
ul, ol { padding-left: 1.4rem; }
li + li { margin-top: .6rem; }
strong { font-weight: 600; }
.wrap { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 10; padding: .7rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 100px; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--green); }
.wordmark img { width: 42px; height: 42px; border-radius: 9px; }
.wordmark span { font-size: 1.05rem; font-weight: 900; letter-spacing: .23em; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: .9rem; font-weight: 600; text-decoration: none; padding-block: .65rem; }
.site-nav a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .6rem; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .6rem; }
.button, .site-nav .button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 48px; padding: .75rem 1.25rem; border: 1px solid var(--green); border-radius: 8px; color: var(--white); background: var(--green); font-size: .95rem; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s, box-shadow .18s; }
.button:hover, .site-nav .button:hover { background: var(--ink); box-shadow: 0 4px 12px #234b3820; text-decoration: none; }
.button svg { width: 18px; height: 18px; }
.button-light { color: var(--green); background: var(--cream); border-color: var(--cream); }
.button-light:hover { color: var(--green); background: var(--white); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.text-link { font-size: .95rem; font-weight: 600; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; padding-block: 78px 88px; }
.hero h1 { font-size: clamp(2.8rem, 5.1vw, 4.75rem); }
.hero .intro { margin-top: 1.6rem; max-width: 43ch; }
.intro { font-size: 1.15rem; line-height: 1.7; }
.project-note { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; font-size: .78rem; color: var(--muted); }
.project-note::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.brand-figure { position: relative; background: var(--sage); border-radius: 120px 120px 12px 12px; padding: 38px 38px 25px; }
.brand-figure .brand-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 70px 70px 8px 8px; }
.brand-figure figcaption { color: #092b1d; display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; font-size: .85rem; font-weight: 600; }
.brand-figure figcaption svg { color: var(--gold); }
.section { padding-block: 80px; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6rem; }
.split h2 { max-width: 12ch; }
.prose p { margin-top: 1rem; }
.prose p:first-child { margin-top: 0; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.feature { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.feature svg { margin-bottom: 1rem; }
.feature p { color: var(--muted); font-size: .95rem; margin-top: .7rem; }
.tech-section { background: var(--soft); }
.tech-flow { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; list-style: none; padding: 2rem 0; margin: 2rem 0 0; border-block: 1px solid #b1bfa9; }
.tech-flow li { margin: 0; }
.tech-flow strong { display: block; color: var(--green); font-size: 1.1rem; }
.tech-flow span { color: var(--muted); font-size: .85rem; }
.tech-detail { margin-top: 1.5rem; font-size: .95rem; }
.closing { background: var(--green); color: var(--cream); padding: 3rem; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-block: 64px; }
.closing h2 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.closing p { margin-top: .8rem; }
.closing .button { flex: none; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; color: var(--muted); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.page-heading { padding-block: 72px 56px; max-width: 850px; }
.page-heading .intro { margin-top: 1.5rem; max-width: 58ch; }
.notice { padding: 1.1rem 1.4rem; border: 1px dashed #7a8f70; border-radius: 8px; font-size: .9rem; background: var(--soft); }
.team-list { padding-block: 12px 40px; }
.team-member { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 5rem; padding-block: 56px; border-bottom: 1px solid var(--line); }
.team-member:last-child { border-bottom: 0; }
.team-member:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.team-member:nth-child(even) .portrait { order: 2; }
.portrait { aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .8rem; border: 1px dashed #829b7e; background: var(--soft); border-radius: 12px; color: var(--muted); }
.portrait svg { width: 48px; height: 48px; stroke-width: 1.2; }
.portrait span { font-size: .8rem; }
.headshot { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.team-member:nth-child(even) .headshot { order: 2; }
.team-member h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.member-role { margin-block: .5rem 1.5rem; color: var(--muted); font-size: .9rem; }
.bio-placeholder { margin-top: 1rem; }
.member-contact { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.tutorial-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 5rem; align-items: start; padding-block: 2rem 5rem; }
.contents { position: sticky; top: 2rem; font-size: .88rem; }
.contents h2 { font-size: 1rem; letter-spacing: 0; font-weight: 600; }
.contents ol { padding-left: 1.2rem; margin-top: 1rem; }
.contents a { display: inline-block; padding-block: .3rem; }
.tutorial-body { min-width: 0; }
.tutorial-step { padding-block: 2.5rem; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.tutorial-step h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); margin-bottom: 1.3rem; }
.tutorial-step p + ol { margin-top: 1rem; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--green); color: var(--cream); border-radius: 50%; font-size: 1rem; font-weight: 600; vertical-align: middle; margin-right: .6rem; letter-spacing: 0; }
.expected { margin-top: 1.5rem; padding: 1rem 1.2rem; background: var(--soft); border-radius: 8px; font-size: .9rem; }
.gesture-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .93rem; }
.gesture-table th { text-align: left; font-weight: 600; color: var(--green); }
.gesture-table th, .gesture-table td { padding: 1rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.gesture-table th:first-child { padding-left: 0; width: 32%; }
.gesture-label { display: inline-flex; gap: .6rem; align-items: center; }
.gesture-label svg { width: 20px; height: 20px; }
.faq { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.faq h2 { margin-bottom: 1.5rem; font-size: 2rem; }
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 600; color: var(--green); padding-right: .5rem; }
details p { padding-top: .8rem; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .brand-figure { animation: settle .8s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes settle { from { transform: translateY(12px); box-shadow: 0 20px 30px #234b3800; } to { transform: translateY(0); box-shadow: 0 12px 30px #234b3810; } }
}
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 2.5rem; }
  .split { gap: 3rem; }
  .team-member { gap: 3rem; }
  .tutorial-layout { gap: 3rem; grid-template-columns: 185px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; gap: .5rem; padding-block: 1rem .6rem; }
  .wordmark img { width: 34px; height: 34px; }
  .wordmark span { font-size: .95rem; }
  .site-nav { width: 100%; justify-content: space-between; gap: .75rem; }
  .site-nav a { font-size: .82rem; }
  .site-nav .button { font-size: .8rem; min-height: 44px; padding: .6rem .85rem; }
  .site-nav .button svg { display: none; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 44px 48px; }
  .hero .intro { max-width: 45ch; }
  .intro { font-size: 1.05rem; }
  .brand-figure { max-width: 420px; width: 100%; justify-self: center; padding: 28px 28px 22px; border-radius: 100px 100px 12px 12px; }
  .project-note { margin-top: 1.5rem; }
  .section { padding-block: 48px; }
  .split, .feature-list { grid-template-columns: 1fr; gap: 2rem; }
  .split h2 { max-width: 20ch; }
  .feature-list { margin-top: 2rem; }
  .feature { padding-top: 1.2rem; }
  .tech-flow { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .tech-flow svg { transform: rotate(90deg); }
  .closing { flex-direction: column; align-items: flex-start; padding: 1.7rem; margin-block: 40px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .page-heading { padding-block: 44px 32px; }
  .team-member, .team-member:nth-child(even) { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 36px; }
  .team-member:nth-child(even) .portrait { order: 0; }
  .team-member:nth-child(even) .headshot { order: 0; }
  .portrait { aspect-ratio: 4 / 3; }
  .tutorial-layout { grid-template-columns: 1fr; gap: 2rem; padding-block: 1.5rem 3rem; }
  .contents { position: static; }
  .contents ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; margin-bottom: 0; }
  .contents li + li { margin-top: 0; }
  .tutorial-step { padding-block: 2rem; }
  .gesture-table th, .gesture-table td { padding-block: .8rem; }
}
