:root {
  color-scheme: light dark;
  --paper: #faf7ee;
  --surface: #f2e8db;
  --ink: #322820;
  --muted: #6f5c50;
  --line: #e3d4c7;
  --accent: #9b412d;
  --on-accent: #fff;
  --protector: #0b675e;
  --protector-deep: #07544e;
  --green-surface: #e3f3e8;
  --green-ink: #17643d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Malgun Gothic", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131519;
    --surface: #20232a;
    --ink: #f5f4f1;
    --muted: #b5b4bc;
    --line: #30333a;
    --accent: #ffc267;
    --on-accent: #21170d;
    --protector: #273333;
    --protector-deep: #1b2324;
    --green-surface: #233d30;
    --green-ink: #8ae0aa;
  }
}
* { box-sizing: border-box; }
body { max-width: 1216px; padding: 0 clamp(18px, 5vw, 66px); margin: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
button, select { font: inherit; }
a:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
header, footer, nav, .brand { display: flex; align-items: center; gap: 16px; }
header, footer { justify-content: space-between; border-bottom: 1px solid var(--line); padding: 18px 0; }
.brand { gap: 10px; font-size: 1.25rem; font-weight: 750; }
.brand img { border-radius: 8px; }
nav { font-size: .9rem; }
select {
  appearance: none;
  max-width: 100%;
  padding: 9px 35px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(45deg, transparent 50%, var(--muted) 51%) calc(100% - 16px) center / 5px 5px no-repeat,
    linear-gradient(135deg, var(--muted) 49%, transparent 50%) calc(100% - 11px) center / 5px 5px no-repeat var(--surface);
}
.hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; padding: clamp(48px, 8vw, 105px) 0; }
h1 { font-size: clamp(2.45rem, 5.3vw, 4.65rem); line-height: 1.05; letter-spacing: -.052em; overflow-wrap: anywhere; }
h1 em { color: var(--accent); font-style: normal; }
p { color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.hero-copy p { margin: 22px 0 26px; max-width: 34rem; font-size: 1.1rem; }
.button { display: inline-block; border-radius: 12px; padding: 12px 17px; background: var(--accent); color: var(--on-accent); font-weight: 720; }
.preview { display: grid; gap: 13px; justify-items: start; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
figcaption { color: var(--green-ink); background: var(--green-surface); padding: 5px 9px; border-radius: 7px; font-size: .9rem; font-weight: 650; }
.sample { width: 100%; position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; isolation: isolate; }
.sample img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 34% 20%, var(--protector), var(--protector-deep)); }
.sample[data-covered="false"] .cover { display: none; }
.cover span { width: 52px; height: 45px; margin-top: 12px; border: 2px solid #d4eee3; border-radius: 11px; position: relative; }
.cover span::before { content: ""; position: absolute; left: 10px; right: 10px; bottom: 100%; height: 22px; border: 2px solid #d4eee3; border-bottom: 0; border-radius: 16px 16px 0 0; }
.cover span::after { content: ""; position: absolute; inset: 17px 21px; border-radius: 10px; background: #d4eee3; }
.demo-toggle { cursor: pointer; font-size: .9rem; font-weight: 650; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 9px 13px; }
.section { border-top: 1px solid var(--line); padding: 30px 0 44px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.025em; margin-bottom: 17px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.features article { background: var(--surface); border: 1px solid var(--line); padding: 18px; border-radius: 14px; }
.pricing { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.pricing h2 { margin-bottom: 8px; }
.pricing dl { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 3px 17px; }
.pricing dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; }
.pricing dl div + div { border-top: 1px solid var(--line); }
.pricing dd { color: var(--accent); font-weight: 780; font-size: 1.45rem; }
footer { border-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; flex-wrap: wrap; padding-bottom: 24px; }
footer nav { color: var(--ink); flex-wrap: wrap; }
.policy { padding: 62px 0 72px; max-width: 42rem; }
.policy h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-bottom: 20px; }
.policy .button { margin-top: 26px; }
.store-terms a { text-decoration: underline; }
@media (max-width: 730px) {
  .hero, .pricing, .features { grid-template-columns: 1fr; }
  .hero { gap: 25px; }
  header { flex-wrap: wrap; }
}
@media (max-width: 430px) {
  header nav { gap: 10px; flex-wrap: wrap; }
  .hero-copy p { font-size: 1rem; }
}

.policy p + p { margin-top: 14px; }

body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.inner-page { padding: clamp(42px, 7vw, 84px) 0; }
.inner-page h1 { margin-bottom: 26px; }
[aria-current="page"] { color: var(--accent); font-weight: 720; }
