:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #171816;
  --muted: #62645e;
  --orange: #df5000;
  --line: #dedfd8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 24px; z-index: 10; background: var(--ink); color: #fff; padding: 16px; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 110px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 28px; font-weight: 800; letter-spacing: -1.5px; }
.wordmark span { color: var(--orange); }
.maker-link { font-size: 13px; color: var(--muted); }
.maker-link span { margin-left: 8px; }
.maker-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; padding-block: 64px 80px; }
.app-label { display: flex; align-items: center; gap: 16px; margin-bottom: 36px; }
.app-label img { border: 1px solid #e9e4dc; border-radius: 13px; }
.app-label p { font-size: 11px; font-weight: 700; line-height: 1.7; letter-spacing: 1.5px; }
.app-label p span { color: var(--muted); font-weight: 400; }
h1 { font-size: clamp(48px, 5.7vw, 78px); line-height: 1.04; font-weight: 500; letter-spacing: -4px; }
h1 em { color: var(--orange); font-style: normal; }
.hero-description { max-width: 450px; margin-block: 28px 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.store-link { display: inline-block; border-radius: 10px; transition: transform 160ms ease; }
.store-link img { width: 180px; height: 60px; }
.store-link:hover { transform: translateY(-2px); }
.hero-visual { min-width: 0; padding: 28px 26px 24px; border-radius: 6px; background: #eeeade; }
.devices { position: relative; max-width: 440px; margin: 0 auto; padding: 0 65px 30px 0; }
.tablet { width: 100%; border: 8px solid #20211f; border-radius: 22px; box-shadow: 0 18px 32px #27251c21; }
.phone { position: absolute; right: 0; bottom: 0; width: 38%; border: 5px solid #20211f; border-radius: 22px; box-shadow: 0 12px 24px #27251c30; }
.tools-section { padding-block: 76px 80px; background: #fff; border-block: 1px solid var(--line); }
h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; font-weight: 500; letter-spacing: -1.8px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; margin-top: 58px; }
.tool-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 22px; color: var(--orange); font-size: 38px; line-height: 1; }
.pin-icon { width: 32px; height: 32px; margin-block: 3px 25px; border: 2px solid var(--orange); border-radius: 50%; font-size: 18px; }
h3 { margin-bottom: 14px; font-size: 22px; font-weight: 500; letter-spacing: -.6px; }
.tools-grid p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.screenshots-section { padding-block: 88px; scroll-margin-top: 30px; }
.screenshots-heading { margin-bottom: 42px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.screenshot-link { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow 160ms ease; }
.screenshot-link:hover { box-shadow: 0 8px 24px #17181614; }
.screenshot-link img { width: 100%; }
.download-section { padding-block: 64px; background: #e9e6dc; }
.download-inner { display: flex; justify-content: space-between; align-items: center; gap: 44px; }
.download-inner h2 { font-size: clamp(36px, 4vw, 52px); }
.download-inner > div > p:last-child { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.download-inner a:not(.store-link) { text-decoration: underline; text-underline-offset: 3px; }
.download-action { flex-shrink: 0; }
.download-action p { font-size: 11px !important; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: 36px; }
.site-footer .wordmark { font-size: 21px; letter-spacing: -1px; }
.site-footer p { color: var(--muted); font-size: 12px; line-height: 1.8; text-align: right; }
.site-footer p a { color: var(--ink); }
.footer-note { display: block; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .hero { gap: 30px; }
  h1 { font-size: 58px; letter-spacing: -3px; }
  .hero-visual { padding: 22px 18px; }
  .hero-description { font-size: 16px; }
  .tools-grid { gap: 32px; }
  .screenshot-grid { gap: 16px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 86px; }
  .wordmark { font-size: 25px; }
  .maker-link { font-size: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; gap: 36px; }
  .hero-copy { max-width: 530px; }
  .app-label { margin-bottom: 26px; }
  h1 { font-size: clamp(48px, 9vw, 66px); }
  .hero-description { max-width: 430px; margin-top: 22px; }
  .hero-visual { width: 100%; max-width: 530px; justify-self: center; padding: 25px; }
  .devices { max-width: 380px; }
  .tools-section { padding-block: 52px; }
  .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 36px; }
  .tools-grid article { padding-left: 54px; position: relative; }
  .tool-icon { position: absolute; left: 0; top: 0; }
  .tools-grid p { max-width: 460px; }
  h3 { margin-bottom: 8px; }
  .screenshots-section { padding-block: 52px; }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .download-inner { align-items: start; flex-direction: column; gap: 28px; }
  .download-section { padding-block: 48px; }
  .site-footer { align-items: start; }
}

@media (max-width: 380px) {
  .wrap { width: calc(100% - 36px); }
  .wordmark { font-size: 22px; }
  .maker-link { font-size: 11px; }
  .hero-visual { padding-inline: 16px; }
  .screenshot-grid { gap: 24px 12px; }
  .site-footer { flex-direction: column; gap: 16px; }
  .site-footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
