/* Budo — sibling of the Sand & Signal Studios site: warm ivory, serif headings,
   restrained dark buttons, fine borders, quiet green-gray panels. */
:root {
  color-scheme: light;
  --ink: #25241f;
  --paper: #faf9f5;
  --muted: #615f58;
  --line: #d9d7cd;
  --accent: #ae553d;
  --panel: #f0efe8;
  --sage: #e6e8dc;
  --sage-ink: #3c4736;
  --sand: #f1ebe5;
  --band: #f0eee5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--sans);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.65; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; overflow-wrap: anywhere; }
p, li, summary, dd, dt { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #e2e4d6; }
.wrap { width: min(calc(100% - 112px), 1180px); margin-inline: auto; }

/* Skip link */
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); z-index: 30; }
.skip-link:focus { transform: none; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; min-height: 96px; flex-wrap: wrap; padding-block: 20px; }
.wordmark { font-family: var(--serif); font-size: 31px; letter-spacing: -.045em; line-height: 1.05; text-decoration: none; display: inline-block; padding-block: 4px; }
.wordmark span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.site-header nav { display: flex; gap: 29px; align-items: center; flex-wrap: wrap; }
.site-header nav a { font-size: 14px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-header nav a:hover, .site-header nav a[aria-current=page] { text-decoration: underline; }
.site-header nav .nav-contact { background: var(--ink); color: var(--paper); padding: 8px 19px; border-radius: 7px; }
.site-header nav .nav-contact[aria-current=page] { text-decoration: none; }

/* Shared type and controls */
.eyebrow { font-size: 13px; letter-spacing: .035em; color: var(--muted); }
.chip { display: inline-block; font-size: 12px; color: #5d554b; border: 1px solid #cfcdc1; border-radius: 6px; padding: 4px 10px; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 9px 20px; font-size: 14px; line-height: 1.5; border-radius: 7px; text-decoration: none; border: 1px solid var(--line); text-align: center; max-width: 100%; overflow-wrap: anywhere; }
.button-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-dark:hover, .site-header nav .nav-contact:hover { background: #49483f; }
.button-outline:hover { background: #eeede5; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 29px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; min-height: 44px; }
.small { font-size: 14px; color: var(--muted); }
.email { overflow-wrap: anywhere; }

/* Home: hero */
.hero { padding-top: 92px; padding-bottom: 93px; text-align: center; }
.hero .chip { margin-bottom: 30px; }
.hero h1 { font-size: clamp(52px, 6.1vw, 84px); line-height: 1.06; letter-spacing: -.04em; }
.hero-description { font-size: 19px; color: var(--muted); line-height: 1.6; max-width: 600px; margin: 28px auto 0; }
.hero .actions { justify-content: center; }
.landscape { margin: -48px auto 0; }
.landscape img { width: 100%; aspect-ratio: 3.6/1; object-fit: cover; object-position: center bottom; }

/* Home: section heading */
.section { padding-block: 98px 105px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 40px; }
.section-heading h2 { font-size: 44px; margin-top: 16px; }
.section-heading > p { font-size: 15px; color: var(--muted); padding-bottom: 4px; }

/* Home: three steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.step { background: var(--panel); border-radius: 14px; padding: 34px 30px 0; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.step:nth-child(2) { background: var(--sage); }
.step:nth-child(3) { background: var(--sand); }
.step .step-number { margin-top: 0; font-family: var(--mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step:nth-child(2) .step-number { color: #4f5a48; }
.step h3 { font-size: 30px; line-height: 1.15; margin-top: 16px; }
.step p { color: var(--muted); margin-top: 14px; font-size: 16px; }
.step:nth-child(2) p { color: #4f5a48; }
.step figure { margin-top: auto; padding-block: 32px 30px; }
.shot { width: min(100%, 272px); margin-inline: auto; }
/* Apple's bezel is shown whole: no crop, shadow or border (marketing guidelines). */
.shot img { display: block; width: 100%; height: auto; }

/* Home: free plan panel */
.plan { background: var(--panel); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; }
.plan > * { min-width: 0; }
.plan-name { background: var(--sage); padding: 42px 44px 48px; min-height: 440px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; color: var(--sage-ink); }
.plan-name .eyebrow { color: #4f5a48; }
.plan-word { font-family: var(--serif); font-size: clamp(74px, 9vw, 136px); line-height: 1.1; letter-spacing: -.07em; }
.plan-tagline { font-family: var(--serif); font-size: 23px; line-height: 1.4; letter-spacing: -.025em; }
.plan-detail { padding: 44px 45px; }
.plan-detail h2 { font-size: 33px; line-height: 1.18; margin-bottom: 18px; }
.plan-detail > p { max-width: 520px; color: var(--muted); }
.plan-detail .small { margin-top: 16px; }

/* A receipt-style list with dotted leaders: a nod to the app. */
.tally { font-family: var(--mono); font-size: 14px; margin: 26px 0 6px; border-block: 1px dashed #bdbbb0; padding-block: 12px; max-width: 520px; }
.tally div { display: flex; align-items: baseline; gap: 10px; padding-block: 5px; }
.tally dt { display: flex; align-items: baseline; flex: 1 1 auto; min-width: 0; gap: 10px; text-transform: uppercase; letter-spacing: .03em; font-size: 13px; }
.tally dt::after { content: ""; flex: 1 1 24px; min-width: 16px; border-bottom: 1px dotted #9d9b91; transform: translateY(-4px); }
.tally dd { flex: 0 0 auto; text-align: right; }
.tally .total { font-size: 15px; font-weight: 700; }

/* Home: questions */
.faq { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; padding-block: 85px 100px; }
.faq .eyebrow { margin-bottom: 22px; }
.faq h2 { font-size: 45px; }
.faq-list { max-width: 600px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 60px; padding-block: 10px; font-family: var(--serif); font-size: 21px; letter-spacing: -.02em; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-size: 20px; color: var(--muted); flex: 0 0 auto; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 32px 22px 0; }

/* Closing band */
.closing { background: var(--band); padding: 73px 0 80px; text-align: center; }
.closing h2 { font-size: 54px; margin: 22px 0; }
.closing p:not(.eyebrow) { color: var(--muted); max-width: 560px; margin-inline: auto; }
.closing .actions { justify-content: center; }

/* Document pages: privacy, support, terms */
.page-hero { padding-top: 76px; padding-bottom: 56px; text-align: center; }
.page-hero h1 { font-size: clamp(46px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -.04em; margin-top: 18px; }
.page-hero .intro { font-size: 19px; color: var(--muted); max-width: 620px; margin: 24px auto 0; }
.page-hero .chip { margin-top: 26px; }
.page-hero .actions { justify-content: center; }
.page-hero .email-line { margin-top: 14px; }
.doc { width: min(calc(100% - 112px), 740px); margin: 0 auto; padding-bottom: 100px; }
.doc section { border-top: 1px solid var(--line); padding-top: 40px; margin-top: 44px; }
.doc section:first-of-type { margin-top: 0; }
.doc h2 { font-size: 32px; letter-spacing: -.035em; margin-bottom: 18px; }
.doc h2 .num { color: var(--muted); margin-right: .35em; }
.doc h3 { font-size: 22px; letter-spacing: -.02em; margin: 26px 0 10px; }
.doc p + p, .doc p + ul, .doc ul + p, .doc ol + p { margin-top: 16px; }
.doc ul, .doc ol { padding-left: 22px; margin: 14px 0 0; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--muted); }
.doc strong { font-weight: 700; }

/* Quiet panels used on document pages */
.panel { background: var(--panel); border-radius: 14px; padding: 32px 36px; margin-bottom: 56px; }
.panel-sage { background: var(--sage); color: var(--sage-ink); }
.panel h2 { font-size: 26px; margin-bottom: 14px; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { padding: 9px 0; border-top: 1px solid rgba(60, 71, 54, .18); }
.panel li:first-child { border-top: 0; padding-top: 0; }
.panel li + li { margin-top: 0; }

/* Terms table of contents */
.toc ol { columns: 2; column-gap: 40px; padding-left: 0; list-style: none; margin: 0; font-size: 15px; }
.toc li { break-inside: avoid; }
.toc li + li { margin-top: 0; }
.toc a { display: flex; gap: 10px; min-height: 44px; align-items: center; padding-block: 4px; text-decoration: none; line-height: 1.35; }
.toc a span { color: var(--muted); min-width: 1.6em; }
.toc a:hover { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; padding-block: 40px 44px; font-size: 13px; color: var(--muted); }
.footer-brand { font-family: var(--serif); font-size: 24px; color: var(--ink); letter-spacing: -.045em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; justify-self: end; }
.footer-nav a { font-size: 14px; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.footer-made a { color: var(--ink); }
.footer-copy { justify-self: end; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .doc { width: min(calc(100% - 64px), 740px); }
  .hero { padding-top: 76px; }
  .desktop-break { display: none; }
  .steps { gap: 16px; }
  .step { padding: 28px 22px 0; }
  .step h3 { font-size: 26px; }
  .plan-name { padding: 30px; }
  .plan-detail { padding: 32px; }
  .plan-detail h2 { font-size: 29px; }
  .faq { gap: 35px; }
  .faq h2 { font-size: 39px; }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .step { padding: 30px 26px 0; }
  .step h3 { font-size: 29px; }
  .shot { width: min(100%, 250px); }
}

@media (max-width: 720px) {
  .wrap, .doc { width: calc(100% - 40px); }
  .site-header { position: static; }
  html { scroll-padding-top: 16px; }
  .header-inner { padding-block: 16px; min-height: 80px; gap: 12px; flex-wrap: nowrap; }
  .wordmark { font-size: 27px; }
  .site-header nav { gap: 18px; flex-wrap: nowrap; flex-shrink: 0; }
  .site-header nav a { font-size: 13px; }
  .site-header nav .nav-contact { padding: 7px 14px; }
  .hero { padding-top: 52px; padding-bottom: 62px; }
  .hero .chip { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(42px, 9vw, 62px); }
  .hero-description { font-size: 17px; margin-top: 22px; max-width: 450px; }
  .landscape { margin-top: -18px; }
  .landscape img { aspect-ratio: 2.2/1; }
  .section { padding-block: 62px 60px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 27px; }
  .section-heading h2 { font-size: 37px; }
  .section-heading > p br { display: none; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .plan-name { min-height: 260px; padding: 29px; gap: 25px; }
  .plan-word { font-size: clamp(72px, 22vw, 110px); }
  .plan-tagline { font-size: 21px; }
  .plan-detail { padding: 31px 24px; }
  .plan-detail h2 { font-size: 29px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 52px 60px; }
  .faq h2 { font-size: 37px; }
  summary { font-size: 19px; }
  details p { padding-right: 0; }
  .closing { padding: 52px 0 58px; }
  .closing h2 { font-size: 40px; }
  .page-hero { padding-top: 44px; padding-bottom: 40px; }
  .page-hero .intro { font-size: 17px; }
  .doc { padding-bottom: 64px; }
  .doc h2 { font-size: 28px; }
  .doc section { padding-top: 32px; margin-top: 36px; }
  .panel { padding: 26px 22px; margin-bottom: 44px; }
  .toc ol { columns: 1; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); padding-block: 30px 34px; gap: 10px; }
  .footer-nav, .footer-copy { justify-self: start; }
}

@media (max-width: 440px) {
  .site-header nav a:first-child { display: none; }
  .wordmark span { letter-spacing: .14em; }
  .hero h1 { font-size: 40px; }
  .page-hero h1 { font-size: 42px; }
  .tally { font-size: 13px; }
  .tally dt { font-size: 12px; letter-spacing: 0; }
}

@media (max-width: 350px) {
  .wordmark { font-size: 24px; }
  .wordmark span { font-size: 10px; letter-spacing: .08em; }
  .site-header nav { gap: 12px; }
  .site-header nav .nav-contact { padding: 7px 11px; }
  .hero h1 { font-size: 36px; }
  .page-hero h1 { font-size: 38px; }
  .closing h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .site-header nav .nav-contact { transition: background .15s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.section-gap { margin-top: 100px; }
@media (max-width: 720px) { .section-gap { margin-top: 60px; } }
.toc li, .toc li:first-child { padding: 0; border-top: 0; }
.toc h2 { margin-bottom: 10px; }
h1, h2, .intro, .hero-description, .closing p { text-wrap: balance; }
