/* umanz.com. The look approved on 2026-11-09 (docs/design): keep its sizes. */

@font-face { font-family: Play; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/play-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF }
@font-face { font-family: Play; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/play-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
@font-face { font-family: Play; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/play-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF }
@font-face { font-family: Play; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/play-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }

:root { color-scheme: dark;
  --bg: #0A1838; --sheet: #14275A; --well: #0A1838; --text: #F2F5FF; --muted: #AEBBE0; --name: #FFFFFF;
  --accent: #FFC93C; --on-accent: #0A1838; --tile: #FFFFFF; --on-tile: #0A1838; --rule: #2A3F7A; --error: #FFA9A9 }

* { box-sizing: border-box; margin: 0 }
html { -webkit-text-size-adjust: 100% }
body { font-family: Play, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--text) }
a { color: inherit }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px }

/* The first screen */
.page { position: relative; min-height: 100vh; max-width: 1440px; margin: 0 auto; padding: 150px 88px 96px }
main { min-height: calc(100vh - 246px); display: grid; grid-template-columns: 1.08fr 1fr; gap: 80px; align-items: center }
.top { position: absolute; top: 48px; left: 88px; right: 88px; display: flex; justify-content: space-between; align-items: center }
.tile { width: 64px; height: 64px; border-radius: 30%; background: var(--tile); color: var(--on-tile);
  font-weight: 700; font-size: 34px; line-height: 64px; text-align: center }
.switch { font-weight: 700; font-size: 18px; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px }
h1 { font-weight: 700; font-size: 128px; line-height: 0.95; letter-spacing: -0.01em; margin-left: -6px; color: var(--name) }
.lede { text-wrap: balance; font-size: 27px; line-height: 1.4; color: var(--muted); max-width: 20em; margin-top: 36px }
.foot { position: absolute; bottom: 44px; left: 88px; font-size: 16px; color: var(--muted) }

/* The form's sheet */
.sheet { background: var(--sheet); border-radius: 40px; padding: 48px 48px 44px }
h2 { font-weight: 700; font-size: 26px; line-height: 1.2; margin-bottom: 28px }
label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 8px }
input, textarea { display: block; width: 100%; font: 400 18px/1.4 Play, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text);
  background: var(--well); border: 2px solid transparent; border-radius: 16px; padding: 15px 18px; margin-bottom: 20px }
textarea { height: 132px; resize: vertical; min-height: 132px; max-height: 420px }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent) }
.button { display: inline-block; font: 700 19px/1 Play, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--on-accent); background: var(--accent);
  border: 0; border-radius: 999px; padding: 20px 34px; margin-top: 4px; cursor: pointer; text-decoration: none }
.button:focus-visible { outline-color: var(--text); border-radius: 999px }
.note, .sent-text, .panel-sheet p { text-wrap: pretty }
.note { font-size: 15.5px; line-height: 1.5; color: var(--muted); margin-top: 26px; padding-top: 22px; border-top: 2px solid var(--rule) }
.note a { color: var(--text); font-weight: 700; text-underline-offset: 3px }

/* A refused field, and a message that could not be sent */
[aria-invalid=true] { border-color: var(--error) }
.error { font-size: 15.5px; line-height: 1.4; color: var(--error); margin: -12px 0 20px }
.error-top { margin: -8px 0 24px; padding: 14px 18px; border: 2px solid var(--error); border-radius: 16px }

/* After a message is sent */
.sent-text { font-size: 18px; line-height: 1.5; margin-bottom: 28px }

/* The trap for robots: people never see or reach it */
.website { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden }

/* Privacy: a panel that opens over the page when its link is followed */
.panel { display: none }
.panel:target { display: flex; position: fixed; inset: 0; z-index: 10; align-items: center; justify-content: center; padding: 48px }
.backdrop { position: absolute; inset: 0; background: rgba(4, 10, 26, .78); cursor: default }
.panel-sheet { position: relative; width: 100%; max-width: 720px; max-height: 100%; overflow: auto; overscroll-behavior: contain;
  background: var(--sheet); border-radius: 40px; padding: 44px 48px 48px }
.panel-sheet h2 { margin: 0 120px 24px 0 }
.panel-sheet p { font-size: 17px; line-height: 1.55; margin-top: 16px }
.panel-sheet .updated { color: var(--muted); font-size: 15.5px; margin-top: 24px }
.close { position: absolute; top: 36px; right: 40px; font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid var(--rule); border-radius: 999px; padding: 9px 20px }
@media (prefers-reduced-motion: no-preference) {
  .panel:target .panel-sheet { animation: rise .18s ease-out }
  @keyframes rise { from { transform: translateY(24px); opacity: 0 } }
}

@media (max-width: 760px) {
  /* The sheet reaches the bottom of the screen even when it holds little (after a message is sent) */
  .page { padding: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column }
  main { display: flex; flex-direction: column; align-items: stretch; gap: 0; flex: 1; min-height: 0 }
  .sheet { flex: 1 }
  .top { position: static; padding: 22px 24px 0 }
  .tile { width: 52px; height: 52px; font-size: 28px; line-height: 52px }
  .switch { font-size: 17px }
  .hero { padding: 44px 24px 44px }
  h1 { font-size: 64px; margin-left: -3px }
  .lede { font-size: 20px; margin-top: 22px }
  .sheet { border-radius: 34px 34px 0 0; padding: 36px 24px 26px }
  h2 { font-size: 22px; margin-bottom: 24px }
  .button { display: block; width: 100%; text-align: center }
  .foot { position: static; background: var(--sheet); padding: 0 24px 32px; font-size: 15px }
  .panel:target { padding: 48px 0 0; align-items: flex-end }
  .panel-sheet { max-width: none; border-radius: 34px 34px 0 0; padding: 32px 24px 36px }
  .panel-sheet h2 { margin-right: 110px }
  .close { top: 24px; right: 20px }
}

@media print {
  .panel { display: block }
  .backdrop, .close, .switch { display: none }
}
