/* Porch landing page. Colors, radii and lengths come from the Porch design system tokens (Paper theme). */

:root {
  --paper: #ece9e2;
  --surface: #f7f5f0;
  --ink: #1b1a18;
  --ink-2: #5c5851;
  --hairline: #d3cec3;
  --amber: #a34e0c;
  --amber-hover: #7e3d0b;
  --on-amber: #fbfaf7;
  --lamp: #e0a23a;
  --lamp-glow: #f0b45a;

  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'Instrument Sans', 'Helvetica Neue', sans-serif;

  --gutter: 24px;
  --card-pad: 14px;
  --row-gap: 8px;
  --tap: 44px;
  --button-height: 52px;
  --radius-input: 22px;
  --radius-button: 26px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0; min-height: 100%;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  padding: env(safe-area-inset-top, 0px) var(--gutter) env(safe-area-inset-bottom, 0px);
}
button, input { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

main {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; padding-block: 48px;
}

/* Wordmark: typed, never an image. Cover size and up. */
.wordmark {
  margin: 0;
  display: inline-flex; align-items: flex-start; gap: 0.06em;
  font-family: var(--font-serif); font-weight: 600; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(88px, 22vw, 180px);
  color: var(--ink);
}
.wordmark .lamp {
  width: 0.25em; height: 0.25em; border-radius: 50%; margin-top: 0.09em;
  background: var(--lamp); box-shadow: 0 0 0.5em var(--lamp-glow);
}

/* Signup: TextInput + PrimaryButton, once. */
.signup { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: var(--row-gap); }
.input {
  display: flex; align-items: center; height: var(--tap); padding: 0 var(--card-pad);
  border-radius: var(--radius-input); border: 1px solid var(--hairline); background: var(--surface); color: var(--ink-2); font-size: 14px;
}
.input:focus-within { border-color: var(--amber); }
.input input { flex-grow: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); text-align: center; }
.input input::placeholder { color: var(--ink-2); opacity: 1; }
.button-primary {
  height: var(--button-height); padding: 0 24px; width: 100%;
  border-radius: var(--radius-button); border: 0; background: var(--amber); color: var(--on-amber);
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.button-primary:hover { background: var(--amber-hover); }
.button-primary:focus-visible, .input input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.button-primary[disabled] { opacity: 0.7; cursor: default; }
.meta { margin: 6px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); text-align: center; text-wrap: pretty; }
