@font-face {
  font-family: Brush Sans;
  src: url("brush-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #182826;
  --muted: #53625d;
  --rule: #d5d9d1;
  --teal: #006b74;
  font: 100%/1.55 "Brush Sans", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(76rem, calc(100% - 10vw)); min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
header { display: flex; align-items: center; min-height: 5.5rem; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; gap: .6rem; align-items: center; color: inherit; text-decoration: none; font-size: 1.5rem; font-weight: 760; letter-spacing: -.06em; }
.brand img { width: 2.3rem; height: 2.3rem; }
main { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(1.5rem, 4vw, 5rem); padding-block: clamp(3rem, 8vh, 8rem); }
h1 { margin: 0 0 1.1rem; font-size: clamp(3.5rem, 6.7vw, 6rem); line-height: 1.12; font-weight: 735; letter-spacing: -.075em; }
p { margin: 0; }
.greeting { display: flex; gap: .55rem; align-items: baseline; margin-bottom: .45rem; color: var(--teal); }
.greeting span { font: 600 1rem/1.4 system-ui, sans-serif; }
.greeting i { font: italic 1.05rem/1.4 Georgia, serif; }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.48rem); line-height: 1.5; letter-spacing: -.033em; max-width: 26rem; }
.lead strong { color: var(--teal); font-weight: 700; white-space: nowrap; }
.capabilities { color: var(--muted); max-width: 28rem; margin: .9rem 0 0; padding-inline-start: 1.1rem; }
.capabilities li + li { margin-top: .35rem; }
.capabilities li::marker { color: var(--teal); font-size: .8em; }
.buttons { display: grid; gap: .8rem; max-width: 24.5rem; margin-top: 1.9rem; }
.button { min-height: 3.5rem; padding: .7rem 1.2rem; display: flex; justify-content: center; align-items: center; gap: .7rem;
  border-radius: 1.2rem; text-decoration: none; font-weight: 670; letter-spacing: -.023em; line-height: 1.35;
  transition: transform 140ms, box-shadow 140ms; }
.button svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.whatsapp { color: white; background: linear-gradient(#147f84,#006672); border: 1px solid #075c63;
  box-shadow: inset 0 1px 1px #ffffff66, 0 2px 0 #064c54, 0 5px 10px #153b3520; }
.telegram { color: var(--ink); background: linear-gradient(#fdfcf8,#eeede8); border: 1px solid #cfcec6;
  box-shadow: inset 0 1px 1px white, 0 2px 0 #c9c8c0, 0 5px 10px #3f45331a; }
.telegram svg { color: var(--teal); }
.button[href]:hover { transform: translateY(-1px); }
.button[href]:active { transform: translateY(1px); }
.button.disabled { background: #e9e8e3; color: #5d6662; border: 1px solid var(--rule); box-shadow: none; }
.hint { margin-top: 1rem; color: var(--muted); font-size: .875rem; }
.studio { position: relative; isolation: isolate; aspect-ratio: 1.13; width: 100%; max-width: 36rem; justify-self: center; }
.studio::before { content: ""; position: absolute; inset: 3% 4% 1%; border-radius: 50%;
  background: radial-gradient(ellipse at 43% 29%,#fffcf7 0%,#eeede6 64%,#deded5 100%);
  border: 1px solid #e1e1d8; box-shadow: inset 1px 2px 2px #fffefa, 0 3px 5px #39403608; }
.studio img { position: absolute; height: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(1px 4px 3px #574c3825); }
.studio::after { content: ""; position: absolute; z-index: -1; left: 12%; right: 10%; bottom: 7%; height: 13%;
  border-radius: 50%; background: radial-gradient(ellipse,#675c4238 0%,transparent 70%); }
.studio .angle { width: 20%; height: 54%; left: 13%; bottom: 20%; transform: rotate(-8deg); }
.studio .cheek { width: 22%; height: 58%; right: 10%; bottom: 20%; transform: rotate(8deg); }
.studio .round { width: 37%; height: 80%; left: 32%; bottom: 12%; }
footer { display: flex; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--rule); padding: 1.3rem 0; }
footer a { color: var(--muted); font-size: .875rem; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 2.75rem); max-width: 34rem; }
  header { min-height: 3.9rem; } .brand { font-size: 1.25rem; } .brand img { width: 1.95rem; height: 1.95rem; }
  main { display: flex; flex-direction: column-reverse; justify-content: center; gap: 1.05rem; padding: 1.25rem 0 2rem; }
  .studio { width: min(74%,16rem); aspect-ratio: 1.32; }
  .copy { width: 100%; }
  h1 { font-size: clamp(2.9rem, 13vw, 4rem); margin-bottom: .75rem; }
  .lead { font-size: 1.14rem; } .capabilities { margin-top: .65rem; }
  .buttons { margin-top: 1.35rem; max-width: none; } .button { min-height: 3.1rem; }
  .hint { margin-top: .9rem; } footer { padding-block: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* Long-form pages use the same shell, with a reading column beside the title. */
main.policy {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  align-content: start;
}
.policy h1 { font-size: clamp(2.75rem, 5.4vw, 5.1rem); line-height: 1.04; text-wrap: balance; }
.policy-copy { width: 100%; max-width: 64ch; font-size: 1.0625rem; line-height: 1.65; overflow-wrap: anywhere; }
.policy-copy p + p { margin-top: 1em; }
.policy-copy h2 { margin: 1.8em 0 .45em; font-size: 1.3em; line-height: 1.22; letter-spacing: -.035em; }
.policy-copy h2:first-child { margin-top: 0; }
.policy-copy a, footer a[aria-current="page"] { color: var(--teal); text-underline-offset: .18em; }
footer a[aria-current="page"] { font-weight: 670; }
@media (max-width: 720px) {
  main.policy { display: block; padding: 2.25rem 0 2.75rem; }
  .policy h1 { margin-bottom: 1.5rem; }
  .policy-copy { font-size: 1rem; }
}

/* Anyoung additions: five choices, disabled buttons, dark mode, focus. */
.buttons { max-width: 26rem; }
.webapp { color: white; background: linear-gradient(#147f84,#006672); border: 1px solid #075c63;
  box-shadow: inset 0 1px 1px #ffffff66, 0 2px 0 #064c54, 0 5px 10px #153b3520; }
.button.disabled { cursor: not-allowed; }
.button.disabled small { font-size: .8125rem; font-weight: 600; opacity: .85; }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.back { display: inline-block; margin-top: 1.4rem; color: var(--teal); text-underline-offset: .18em; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper: #121a19; --ink: #eaf0ed; --muted: #a7b5af; --rule: #2e3b38; --teal: #5cc8cf; }
  .lead strong, .greeting { color: var(--teal); }
  .telegram { color: var(--ink); background: linear-gradient(#26322f,#1d2826); border-color: #3b4a46;
    box-shadow: inset 0 1px 1px #ffffff18, 0 2px 0 #0c1211, 0 5px 10px #00000040; }
  .button.disabled { background: #1c2523; color: #8d9b95; border-color: var(--rule); }
  .studio::before { background: radial-gradient(ellipse at 43% 29%,#2a3633 0%,#202b29 64%,#192220 100%); border-color: #2e3b38; box-shadow: none; }
  .studio img { filter: drop-shadow(1px 4px 3px #00000060); }
  a:focus-visible, .button:focus-visible { outline-color: #8fe3e8; }
}
