:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #26332f;
  background: #fcfbf7;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: #23564e; text-underline-offset: 0.2em; }
a:hover { color: #97703d; }
a:focus-visible { outline: 3px solid #a67a43; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -60px; left: 18px; z-index: 5; padding: 10px 14px; color: #fff; background: #18463e; }
.skip-link:focus { top: 10px; color: #fff; }

.site-header { background: #fcfbf7; border-bottom: 1px solid #e4e7df; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.wordmark { color: #19453d; font-size: 1rem; font-weight: 760; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.wordmark span { margin-left: 9px; color: #7d8880; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
nav { display: flex; flex-wrap: wrap; gap: 24px; }
nav a { color: #42554e; font-size: 0.88rem; font-weight: 600; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.intro { background: linear-gradient(125deg, #f7f3e9, #edf1e9); border-bottom: 1px solid #dfe5d9; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); align-items: center; gap: 70px; padding-block: 108px 112px; }
.eyebrow, .section-label { margin: 0; color: #8e7046; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.15em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 670px; margin: 17px 0 22px; color: #183d36; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 5.5vw, 5.1rem); font-weight: 500; letter-spacing: -0.055em; line-height: 1.07; }
.lead { max-width: 570px; margin-bottom: 30px; color: #46564e; font-size: 1.11rem; line-height: 1.75; }
.primary-link { display: inline-flex; align-items: center; gap: 16px; padding: 14px 19px; border-radius: 8px; color: #fff; background: #1d4b41; font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.primary-link:hover { color: #fff; background: #153e36; }
.primary-link span { font-size: 1.15rem; line-height: 1; }
.app-visual { display: grid; place-items: center; justify-self: center; width: min(100%, 390px); aspect-ratio: 1; border: 1px solid #d8dfd0; border-radius: 28px; background: radial-gradient(circle at 50% 40%, #f9f8f0 0, #e6ebdf 65%, #dce5d8 100%); }
.app-icon-frame { display: grid; place-items: center; width: 68%; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 56%); box-shadow: 0 0 0 1px rgb(255 255 255 / 76%), 0 20px 40px rgb(31 59 42 / 10%); }
.app-icon-frame img { width: 70%; height: auto; border-radius: 22%; box-shadow: 0 14px 25px rgb(35 42 26 / 20%); }
.visual-caption { align-self: start; margin-top: -23px; color: #506457; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }

.app-section { padding-block: 95px 87px; scroll-margin-top: 24px; }
.app-section .section-label { margin-bottom: 18px; }
.app-card { padding: 38px 42px 40px; border: 1px solid #e2e6dc; border-radius: 18px; background: #fff; box-shadow: 0 12px 28px rgb(30 48 37 / 4%); }
.app-title-row { display: flex; align-items: center; gap: 19px; margin-bottom: 27px; }
.app-title-row img { flex: 0 0 72px; border-radius: 18px; }
.platform { margin-bottom: 4px; color: #8d7048; font-size: 0.73rem; font-weight: 740; letter-spacing: 0.12em; text-transform: uppercase; }
.app-card h2 { margin-bottom: 0; color: #1f4239; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.85rem, 3.3vw, 2.55rem); font-weight: 500; letter-spacing: -0.035em; }
.app-card > p { max-width: 760px; color: #47574f; line-height: 1.8; }
.feature-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 27px; padding: 0; list-style: none; }
.feature-list li { padding: 8px 12px; border: 1px solid #dfe6dc; border-radius: 999px; color: #385449; background: #f8faf6; font-size: 0.81rem; font-weight: 650; }
.text-link { font-size: 0.93rem; font-weight: 720; }

.developer-section { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 70px; padding-block: 64px 100px; border-top: 1px solid #dfe5dc; }
.developer-section h2 { margin: 13px 0 0; color: #1d4139; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 500; letter-spacing: -0.04em; }
.developer-section > div:last-child > p { max-width: 600px; color: #48584f; line-height: 1.75; }
.developer-section dl { margin: 30px 0 0; }
.developer-section dl div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-top: 1px solid #e4e8e0; }
.developer-section dt { color: #67776c; font-size: 0.82rem; font-weight: 700; }
.developer-section dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 0.88rem; }
code { color: #344b40; font-size: 0.9em; }

.site-footer { border-top: 1px solid #e0e5dc; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-block: 27px; color: #65736a; font-size: 0.82rem; }
.footer-inner a { font-weight: 600; }

@media (max-width: 800px) {
  .intro-grid { grid-template-columns: 1fr; gap: 45px; padding-block: 76px; }
  .app-visual { width: min(100%, 310px); }
  .developer-section { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 36px, 1120px); }
  .header-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; padding-block: 18px; }
  nav { gap: 16px; }
  nav a { font-size: 0.82rem; }
  .intro-grid { padding-block: 62px; }
  h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
  .lead { font-size: 1rem; }
  .app-section { padding-block: 65px 60px; }
  .app-card { padding: 24px 22px 28px; }
  .app-title-row { gap: 14px; }
  .app-title-row img { width: 60px; height: 60px; flex-basis: 60px; }
  .developer-section { padding-block: 47px 72px; }
  .developer-section dl div { grid-template-columns: 1fr; gap: 5px; }
  .footer-inner { flex-direction: column; gap: 7px; }
}

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