/* SocialAgent public home page.
 * Idea: the logo's two speech bubbles become the page's language: blue speaks for people and posts,
 * violet for SocialAgent's own replies. The hero is a conversation; the characters, their chats and their sponsors follow.
 * Type: Gabarito (display, close to the logo's rounded heavy letters) and Instrument Sans (text). */

:root {
  --ink: #0d1530;
  --ink-2: #3a4566;
  --muted: #5d6886;
  --paper: #f5f6fa;
  --surface: #ffffff;
  --mist: #e4e8f2;
  --rule: #d9deea;
  --blue: #1f5bff;
  --blue-deep: #1647cc;
  --blue-soft: #e3ebff;
  --violet: #7a35f5;
  --violet-soft: #efe6ff;
  --violet-wash: #f3eeff;
  --violet-line: #dccdfb;
  --amber: #a85300;
  --amber-soft: #fff0de;
  --c-kai: #0f7a6c; --c-kai-soft: #e1f4f0;
  --c-selin: #b2471b; --c-selin-soft: #fdebe2;
  --c-theo: #2b5bb8; --c-theo-soft: #e4ecfb;
  --c-ivy: #b0306f; --c-ivy-soft: #fbe6f0;
  --c-rio: #8a6400; --c-rio-soft: #fbf1d6;
  --band: #0d1530;
  --band-text: #eef1fa;
  --band-muted: #aab3cf;
  --focus: #1f5bff;
  --danger: #b42318;
  --shade-strong: rgb(13 21 48 / 0.7);
  --shade-none: rgb(13 21 48 / 0);
  --shade-deep: rgb(13 21 48 / 0.78);
  --shade-deeper: rgb(13 21 48 / 0.85);
  --shade-text: rgb(13 21 48 / 0.6);
  --shade-sticker: rgb(13 21 48 / 0.25);

  --font-display: "Gabarito", "Avenir Next", system-ui, sans-serif;
  --font-text: "Instrument Sans", "Avenir Next", system-ui, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 136px;
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s5); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet-soft); color: var(--ink); }

.skip { position: absolute; left: var(--s4); top: var(--s4); z-index: 10; padding: var(--s2) var(--s4); background: var(--surface); border-radius: 10px; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* Shared frame */
.nav, .hero, .accounts-inner, .contact, .footer { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Controls */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s5); border: 2px solid var(--ink); border-radius: 14px 14px 14px 4px; background: var(--ink); color: var(--surface); font: 600 1rem/1 var(--font-text); text-decoration: none; white-space: nowrap; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 120ms var(--ease); }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn:active { transform: translateY(1px); }
.btn--line { min-height: 42px; padding: 0 var(--s4); background: transparent; color: var(--ink); border-color: var(--rule); font-size: 0.9375rem; }
.btn--line:hover { background: var(--surface); border-color: var(--ink); }
.link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--violet); text-underline-offset: 5px; }
.link:hover { color: var(--violet); }

/* Nav */
.nav { display: flex; align-items: center; gap: var(--s6); min-height: 84px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; font: 800 1.5rem/1 var(--font-display); letter-spacing: -0.02em; }
.wordmark img { width: 32px; height: 32px; }
.wordmark--small { font-size: 1.25rem; }
.wordmark--small img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: var(--s5); margin-left: auto; font-size: 0.9375rem; }
.nav-links a { color: var(--ink-2); text-decoration: none; }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 6px; }

/* Hero: a headline beside a conversation */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s8); align-items: center; padding-block: var(--s8) var(--s10); }
.hero h1 { font-size: clamp(3rem, 1.2rem + 5.2vw, 6.25rem); line-height: 0.96; letter-spacing: -0.035em; max-width: 11ch; }
.lede { margin-top: var(--s5); max-width: 34ch; font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); margin-top: var(--s7); }

.chat { display: grid; gap: var(--s4); }
.msg { max-width: 82%; animation: arrive 520ms var(--ease) both; animation-delay: calc(var(--i) * 420ms + 150ms); }
.msg p { padding: var(--s4) var(--s5); font: 600 clamp(1.125rem, 0.95rem + 0.7vw, 1.5rem)/1.35 var(--font-display); letter-spacing: -0.01em; }
.who { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s2); font-size: 0.875rem; color: var(--muted); }
.who img { width: 18px; height: 18px; border-radius: 5px; }
.msg--in { justify-self: start; }
.msg--in p { background: var(--blue); color: var(--surface); border-radius: 24px 24px 24px 6px; }
.msg--out { justify-self: end; text-align: right; }
.msg--out .who { justify-content: flex-end; color: var(--violet); font-weight: 600; }
.msg--out p { background: var(--violet); color: var(--surface); border-radius: 24px 24px 6px 24px; text-align: left; }
.msg--typing { padding: var(--s4) var(--s5); background: var(--violet-soft); border-radius: 24px 24px 6px 24px; }
.dots { display: flex; gap: 6px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); animation: blink 1.2s ease-in-out infinite; }
.dots span:nth-child(2) { animation-delay: 0.15s; }
.dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* Conversations: one DM thread with notes pinned to the lines they explain */
.talk { background: var(--violet-wash); border-block: 1px solid var(--violet-line); }
.talk-inner { width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--s10) var(--gutter); }
.talk-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4) var(--s8); align-items: end; margin-bottom: var(--s8); }
.talk h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); line-height: 1; letter-spacing: -0.03em; max-width: 12ch; }
.talk-head p { color: var(--ink-2); max-width: 44ch; font-size: 1.125rem; }

.thread { display: grid; gap: var(--s7); }
.turn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.lines { grid-column: 2; grid-row: 1; display: grid; gap: var(--s3); }
.b { max-width: 88%; padding: var(--s3) var(--s5); font: 600 clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem)/1.4 var(--font-display); letter-spacing: -0.005em; }
.b .who { margin: 0 0 var(--s1); font: 500 0.8125rem/1.3 var(--font-text); letter-spacing: 0; color: inherit; opacity: 0.85; }
.b--in { justify-self: start; background: var(--surface); color: var(--ink); border: 1px solid var(--violet-line); border-radius: 22px 22px 22px 6px; }
.b--in .who { color: var(--muted); opacity: 1; }
.b--out { justify-self: end; background: var(--violet); color: var(--surface); border-radius: 22px 22px 6px 22px; }

.note { grid-row: 1; position: relative; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); max-width: 30ch; }
.note strong { display: block; margin-bottom: var(--s1); font: 800 1.125rem/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.note::after { content: ""; position: absolute; top: 0.7em; width: var(--s5); border-top: 2px solid var(--violet); }
.note--left { grid-column: 1; justify-self: end; text-align: right; }
.note--left::after { left: calc(100% + var(--s2)); }
.note--right { grid-column: 3; justify-self: start; }
.note--right::after { right: calc(100% + var(--s2)); }

/* Chat-app system notices closing the thread */
.system { display: grid; justify-items: center; gap: var(--s4); margin-top: var(--s9); padding-top: var(--s8); border-top: 1px solid var(--violet-line); }
.system li { display: flex; align-items: center; gap: var(--s4); width: min(100%, 720px); padding: var(--s4) var(--s6) var(--s4) var(--s4); background: var(--surface); border: 1px solid var(--violet-line); border-radius: 999px; }
.system p { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.system strong { font: 800 1.0625rem/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.system-icon { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--violet-soft); }
.system-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.system-icon--apps { display: flex; align-items: center; justify-content: center; width: 72px; border-radius: 28px; }
.system-icon--apps img { width: 26px; height: 26px; border-radius: 7px; }
.system-icon--apps img + img { margin-left: -6px; box-shadow: 0 0 0 2px var(--violet-soft); }

/* AI disclosure band between the hero and the creators */
.disclose { background: var(--violet-soft); border-block: 1px solid var(--violet-line); }
.disclose p { display: flex; align-items: center; gap: var(--s4); width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--s5) var(--gutter); font: 600 clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem)/1.4 var(--font-display); color: var(--ink); }
.disclose-mark { flex-shrink: 0; width: 30px; height: 24px; background: var(--violet); border-radius: 12px 12px 12px 3px; }
.disclose + .cast { border-top: 0; }
.ai-tag { display: inline-block; margin-left: var(--s2); padding: 1px 7px; border: 1px solid var(--violet); border-radius: 6px; color: var(--violet); background: var(--surface); font: 700 0.6875rem/1.4 var(--font-text); vertical-align: 2px; }
.spon-story .ai-tag { border-color: var(--surface); color: var(--ink); text-shadow: none; }

/* One question, six characters */
.cast { width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--s9) var(--gutter); border-top: 1px solid var(--rule); }
.cast-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4) var(--s8); align-items: end; }
.cast h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); line-height: 1; letter-spacing: -0.03em; max-width: 12ch; }
.cast-head p { color: var(--ink-2); max-width: 44ch; font-size: 1.125rem; }
.cast-question { width: fit-content; max-width: 100%; margin: var(--s8) 0 var(--s6); padding: var(--s4) var(--s6); background: var(--blue); color: var(--surface); border-radius: 26px 26px 26px 6px; font: 800 clamp(1.375rem, 1rem + 1.4vw, 2.25rem)/1.2 var(--font-display); letter-spacing: -0.02em; }
.cast-question .who { display: block; margin-bottom: var(--s1); font: 500 0.875rem/1.3 var(--font-text); letter-spacing: 0; color: var(--blue-soft); }
.cast-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.cast-list li { --c: var(--violet); --c-soft: var(--violet-soft); display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; }
.cast-list .cast-kai { --c: var(--c-kai); --c-soft: var(--c-kai-soft); }
.cast-list .cast-selin { --c: var(--c-selin); --c-soft: var(--c-selin-soft); }
.cast-list .cast-theo { --c: var(--c-theo); --c-soft: var(--c-theo-soft); }
.cast-list .cast-ivy { --c: var(--c-ivy); --c-soft: var(--c-ivy-soft); }
.cast-list .cast-rio { --c: var(--c-rio); --c-soft: var(--c-rio-soft); }
.cast-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cast-id { display: flex; align-items: center; gap: var(--s3); }
.cast-id > span:last-child { display: grid; min-width: 0; }
.cast-id strong { font: 800 1.25rem/1.2 var(--font-display); letter-spacing: -0.01em; }
.cast-id strong + span { font-size: 0.875rem; color: var(--muted); }
.cast-avatar { display: grid; place-items: center; flex-shrink: 0; overflow: hidden; width: 48px; height: 48px; border-radius: 16px 16px 16px 4px; background: var(--c); color: var(--surface); font: 800 1.375rem/1 var(--font-display); }
.cast-reply { padding: var(--s3) var(--s4); background: var(--c-soft); color: var(--ink); border-radius: 18px 18px 6px 18px; font: 600 1.0625rem/1.45 var(--font-display); }

/* Ethics and safety: the same voice, changing tone when it matters */
.care { width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--s9) var(--gutter) var(--s10); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s8); align-items: center; }
.care h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); line-height: 1; letter-spacing: -0.03em; max-width: 11ch; }
.care-lede { margin-top: var(--s5); max-width: 38ch; font-size: 1.1875rem; color: var(--ink-2); }
.care-points { margin: var(--s7) 0 0; display: grid; gap: var(--s5); }
.care-points div { padding-left: var(--s5); border-left: 3px solid var(--ink); }
.care-points dt { font: 800 1.1875rem/1.3 var(--font-display); letter-spacing: -0.01em; }
.care-points dd { margin: var(--s1) 0 0; color: var(--ink-2); max-width: 44ch; }
.care-thread { display: grid; gap: var(--s4); padding: var(--s7) var(--s6); background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; }
.care-turn { display: flex; align-items: center; gap: var(--s3); margin-block: var(--s3); font-size: 0.875rem; color: var(--muted); }
.care-turn::before, .care-turn::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }
.b--calm { background: var(--ink); color: var(--band-text); font-weight: 600; }

/* Sponsors: posts and stories yes, messages no */
.spon .cast-selin { --c: var(--c-selin); --c-soft: var(--c-selin-soft); }
.spon .cast-kai { --c: var(--c-kai); --c-soft: var(--c-kai-soft); }
.spon { width: 100%; max-width: var(--max); margin-inline: auto; padding: var(--s9) var(--gutter) var(--s10); border-top: 1px solid var(--rule); }
.spon-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4) var(--s8); align-items: end; margin-bottom: var(--s8); }
.spon h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); line-height: 1; letter-spacing: -0.03em; max-width: 12ch; }
.spon-pitch { display: grid; justify-items: start; gap: var(--s5); }
.spon-pitch p { color: var(--ink-2); max-width: 44ch; font-size: 1.125rem; }
.spon-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 1fr); grid-template-rows: 1fr auto; gap: var(--s4) var(--s6); }
.spon-item { margin: 0; display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--s4); }
.spon-item figcaption { color: var(--ink-2); font-size: 0.9375rem; max-width: 36ch; }
.spon-item figcaption strong { display: block; margin-bottom: var(--s1); font: 800 1.1875rem/1.2 var(--font-display); color: var(--ink); }

.spon-bar { display: flex; align-items: center; gap: var(--s3); }
.spon-bar .cast-avatar { width: 40px; height: 40px; font-size: 1.125rem; }
.spon-bar > span:last-child { display: grid; }
.spon-bar strong { font: 800 1.0625rem/1.2 var(--font-display); }
.spon-bar strong + span { font-size: 0.8125rem; }

.spon-post { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s4) 0 var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; color: var(--ink); overflow: hidden; }
.spon-post .spon-bar { padding-inline: var(--s4); }
.spon-post .spon-bar strong + span { color: var(--ink-2); }
.spon-actions { display: flex; gap: var(--s4); padding-inline: var(--s4); }
.spon-actions svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.spon-actions .spon-save { margin-left: auto; }
.spon-caption { padding-inline: var(--s4); font-size: 0.9375rem; line-height: 1.5; }
.spon-caption strong { font-weight: 600; margin-right: var(--s1); }

.spon-story { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: var(--s4); min-height: 520px; padding: var(--s4) var(--s5) var(--s6); background: var(--ink); color: var(--surface); border-radius: 24px; overflow: hidden; }
.spon-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.spon-story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--shade-strong), var(--shade-none) 26%, var(--shade-none) 38%, var(--shade-deep) 72%, var(--shade-deeper)); }
.spon-story .cast-avatar { background: var(--surface); color: var(--c); }
.spon-story .spon-bar strong + span { color: var(--surface); }
.spon-story .spon-bar, .spon-story .spon-story-text { text-shadow: 0 1px 8px var(--shade-text); }
.spon-progress { display: flex; gap: var(--s1); }
.spon-progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--surface); opacity: 0.4; }
.spon-progress span:first-child { opacity: 1; }
.spon-story .spon-story-text { margin-top: auto; font: 800 clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem)/1.1 var(--font-display); letter-spacing: -0.02em; }

/* Ad details: shop bar, discount sticker and story shop button */
.spon-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.ad-cta { display: flex; align-items: center; justify-content: space-between; margin-top: calc(var(--s3) * -1); padding: var(--s3) var(--s4); background: var(--blue); color: var(--surface); font-weight: 600; font-size: 0.9375rem; }
.ad-cta svg { width: 18px; height: 18px; fill: none; stroke: var(--surface); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ad-sticker { display: grid; gap: var(--s1); width: fit-content; max-width: 100%; padding: var(--s3) var(--s4); background: var(--surface); color: var(--ink); border-radius: 16px; transform: rotate(-3deg); font-size: 0.875rem; line-height: 1.35; box-shadow: 0 8px 20px var(--shade-sticker); }
.ad-sticker strong { font: 800 1.125rem/1.1 var(--font-display); }
.ad-sticker span { justify-self: start; margin-top: var(--s1); padding: 3px var(--s2); background: var(--c-kai-soft); color: var(--c-kai); border-radius: 8px; font-weight: 700; }
.ad-story-cta { display: inline-flex; flex-direction: column; align-items: center; align-self: center; gap: 2px; margin-top: var(--s2); padding: var(--s2) var(--s5); background: var(--surface); color: var(--ink); border-radius: 999px; font-weight: 700; font-size: 0.9375rem; }
.ad-story-cta svg { width: 18px; height: 18px; margin-top: -4px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.spon-dm { display: grid; gap: var(--s3); align-content: center; padding: var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: 24px; }
.spon-dm .b { max-width: 92%; font-size: 1.0625rem; }
.spon-none { margin-top: var(--s4); padding: var(--s3) var(--s4); border: 1px dashed var(--muted); border-radius: 14px; color: var(--ink-2); font-size: 0.9375rem; text-align: center; }

.accounts h2, .contact h2 { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); line-height: 1; letter-spacing: -0.03em; }

/* Your messages, your call */
.accounts { background: var(--band); color: var(--band-text); }
.accounts-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); padding-block: var(--s10); }
.accounts h2 { max-width: 11ch; }
.promises { display: grid; gap: var(--s7); }
.promises li { font-size: 1.25rem; line-height: 1.5; max-width: 46ch; }
.promises li::before { content: ""; display: block; margin-bottom: var(--s4); width: 28px; height: 22px; background: var(--violet); border-radius: 11px 11px 11px 2px; }
.promises li:nth-child(odd)::before { background: var(--blue); border-radius: 11px 11px 2px 11px; }
.promises a { color: var(--surface); text-decoration-color: var(--band-muted); text-underline-offset: 4px; }
.promises a:hover { text-decoration-color: var(--surface); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; padding-block: var(--s10) var(--s9); }
.contact-lede { margin-top: var(--s4); color: var(--ink-2); font-size: 1.125rem; }
.email { display: inline-block; margin-top: var(--s5); font: 800 clamp(1.5rem, 0.9rem + 1.8vw, 2.5rem)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
.email:hover { color: var(--violet); }
.contact-note { margin-top: var(--s6); max-width: 40ch; color: var(--ink-2); }
.contact-note a { color: var(--ink); text-underline-offset: 4px; }
.contact-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin-top: var(--s5); }
.contact-links a { color: var(--ink-2); text-underline-offset: 4px; }
.contact-links a:hover { color: var(--ink); }

.contact-box { padding: var(--s6); background: var(--surface); border: 1px solid var(--rule); border-radius: 28px; }
.contact-form { display: grid; gap: var(--s4); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field span { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--font-text); }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; padding-right: var(--s7); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%235d6886' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-radius: 14px; }
.field-error { color: var(--danger); font-size: 0.9375rem; }
.field-hint { padding: var(--s3) var(--s4); background: var(--violet-wash); border-radius: 12px; color: var(--ink-2); font-size: 0.9375rem; }
.contact-form .btn { justify-self: start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; background: var(--ink-2); border-color: var(--ink-2); }

.contact-sent { display: grid; gap: var(--s3); min-height: 320px; align-content: center; }
.contact-sent:focus { outline: none; }
.sent-to { font-size: 0.875rem; color: var(--muted); }
.b--sent { justify-self: end; max-width: 92%; background: var(--blue); color: var(--surface); border-radius: 22px 22px 6px 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
.sent-state { justify-self: end; font-size: 0.8125rem; color: var(--muted); }
.contact-sent .link { justify-self: start; margin-top: var(--s4); background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); padding-block: var(--s6); border-top: 1px solid var(--rule); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s5); font-size: 0.9375rem; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { margin-left: auto; color: var(--muted); font-size: 0.875rem; text-align: right; max-width: 46ch; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--s7); padding-block: var(--s6) var(--s9); }
  .hero h1 { max-width: 13ch; }
  .chat { max-width: 640px; }
  .accounts-inner { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .accounts h2 { max-width: none; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .cast-head { grid-template-columns: minmax(0, 1fr); }
  .cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care { grid-template-columns: minmax(0, 1fr); }
  .care-thread { max-width: 640px; }
  .spon-head { grid-template-columns: minmax(0, 1fr); }
  .spon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spon-item:last-child { grid-column: 1 / -1; max-width: 520px; }
  .talk-head { grid-template-columns: minmax(0, 1fr); }
  .turn { grid-template-columns: minmax(0, 1fr); gap: var(--s4); max-width: 640px; }
  .lines, .note--left, .note--right { grid-column: 1; }
  .lines { grid-row: 1; }
  .note--left, .note--right { grid-row: 2; justify-self: stretch; text-align: left; max-width: none; padding-left: var(--s4); border-left: 2px solid var(--violet); }
  .note::after { content: none; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav .btn--line { margin-left: auto; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .msg { max-width: 92%; }
  .b { max-width: 94%; }
  .talk-inner { padding-block: var(--s9); }
  .contact-box { padding: var(--s5) var(--s4); border-radius: 22px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form .btn { justify-self: stretch; justify-content: center; }
  .cast { padding-block: var(--s9) var(--s8); }
  .cast-list { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
  .cast-question { margin-top: var(--s7); }
  .care { padding-block: var(--s8) var(--s9); }
  .care-thread { padding: var(--s5) var(--s4); border-radius: 22px; }
  .spon { padding-block: var(--s8) var(--s9); }
  .spon-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s7); }
  .spon-story { aspect-ratio: auto; min-height: 380px; }
  .spon-post { min-height: 380px; }
  .system { justify-items: stretch; margin-top: var(--s8); padding-top: var(--s7); }
  .system li { align-items: flex-start; padding: var(--s4); border-radius: 24px; }
  .system-icon { width: 44px; height: 44px; }
  .system-icon--apps { width: 60px; }
  .footer-note { margin-left: 0; width: 100%; text-align: left; }
  .disclose p { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg, .dots span { animation: none; }
  .btn { transition: none; }
}
