:root {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --ink: #1f1b16;
  --ink-2: #3b352c;
  --muted: #74695b;
  --faint: #a2978a;
  --line: #e4dbcb;
  --accent: #b54a1e;
  --accent-ink: #9a3d16;
  --mark: #ffe28f;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --surface: #1d1a16;
    --ink: #f2ebdd;
    --ink-2: #dcd2c1;
    --muted: #a89d8b;
    --faint: #7d7466;
    --line: #312b24;
    --accent: #e57f50;
    --accent-ink: #f29a70;
    --mark: #6b561c;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { display: flex; min-height: 100dvh; flex-direction: column; margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
p, h1, dl, dd, ul, ol { margin: 0; padding: 0; }
::selection { background: var(--mark); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.top, main, .foot { width: min(680px, calc(100% - 48px)); margin: 0 auto; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { border-radius: 6px; }
.brand span { font: 500 17px/1 var(--serif); }
.top-link { color: var(--muted); font-size: 15px; text-decoration: none; }
.top-link:hover { color: var(--ink); }

main { flex: 1; padding: 4vh 0 72px; }
h1 { font: 400 clamp(32px, 6vw, 44px)/1.12 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.lede { margin-top: 18px; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 40px; list-style: none; }
.steps li { position: relative; }
.steps li + li::before { content: '→'; position: absolute; top: 76px; left: -22px; color: var(--faint); font-size: 17px; }
.steps li > p { margin-top: 12px; font-size: 15px; font-weight: 500; }
.steps li > p b { display: inline-grid; width: 22px; height: 22px; place-items: center; margin-right: 8px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; }
.art { display: grid; height: 176px; place-items: center; border-radius: 16px; background: var(--surface); }
.art i { display: block; height: 3px; border-radius: 3px; background: var(--line); }
.art i.short { width: 60%; }

.art-book { grid-template-columns: 1fr 1fr; place-items: stretch; gap: 0; padding: 26px 14px; }
.art-book .page { display: flex; flex-direction: column; justify-content: center; gap: 13px; padding: 0 10px; }
.art-book .page + .page { border-left: 1px solid var(--line); }
.art-book .page p { display: flex; align-items: center; gap: 5px; }
.art-book .page p i { width: 10px; flex: none; }
.art-book mark { padding: 1px 3px; border-radius: 3px; background: var(--mark); color: var(--ink); font: 400 11.5px/1.2 var(--serif); }

.art-say { align-content: center; gap: 16px; }
.bubble { position: relative; padding: 7px 15px; border-radius: 999px; background: var(--ink); color: var(--bg); font: italic 400 16px var(--serif); }
.bubble::after { content: ''; position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.mic { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 0 15px color-mix(in srgb, var(--accent) 7%, transparent); }

.phone { display: flex; width: 124px; height: 148px; flex-direction: column; gap: 5px; padding: 18px 13px 0; border: 2px solid var(--ink); border-bottom: 0; border-radius: 18px 18px 0 0; align-self: end; background: var(--bg); }
.phone small { color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.phone strong { font: 500 16px/1.1 var(--serif); }
.phone em { margin-bottom: 8px; color: var(--accent-ink); font-size: 14px; font-style: normal; font-weight: 600; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; margin-top: 36px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 500; text-decoration: none; }
.btn:hover { background: var(--accent-ink); color: #fff; }

.tools-list { margin-top: 72px; list-style: none; border-top: 1px solid var(--line); }
.tools-list a { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.tools-list b { font-weight: 500; }
.tools-list span { color: var(--muted); }
.tools-list a:hover b { color: var(--accent-ink); }
.more { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 15px; text-underline-offset: 3px; }
.more:hover { color: var(--ink); }

.foot { display: flex; gap: 22px; padding: 20px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 13px; }
.foot a { color: var(--faint); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 600px) {
  .top, main, .foot { width: calc(100% - 40px); }
  .top { padding: 20px 0; }
  main { padding-top: 4vh; }
  .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
  .steps li { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 18px; }
  .steps li + li::before { content: none; }
  .steps li > p { margin: 0; }
  .art { height: 120px; }
  .art-book { padding: 18px 8px; }
  .art-book .page { gap: 10px; padding: 0 7px; }
  .art-book mark { font-size: 9px; }
  .art-say { gap: 12px; }
  .bubble { padding: 5px 12px; font-size: 14px; }
  .mic { width: 44px; height: 44px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent); }
  .mic svg { width: 20px; height: 20px; }
  .phone { width: 108px; height: 102px; padding: 12px 11px 0; gap: 3px; }
  .phone strong { font-size: 14px; }
  .phone em { font-size: 12.5px; margin-bottom: 5px; }
  .tools-list { margin-top: 56px; }
  .tools-list a { grid-template-columns: 1fr; gap: 0; padding: 13px 0; }
}
