/* news.patrickriceco.com: tokens and shapes from Sales And Marketing/Website-Rebrand/DESIGN-SYSTEM.md */
:root {
  --paper: #fafbf8; --panel: #f0f2ec; --sage: #e5e9df; --line: #d4dacd; --rule: #e6e9e1;
  --ink: #30332c; --muted: #5b6155; --accent: #647653; --play: #f15100; --play-hover: #d74700;
  --error: #9b352c; --field: #cdd4c5;
  --font: Manrope, 'Manrope Fallback', Arial, sans-serif;
  --wrap: 1280px; --gutter: 112px; --curve: 96px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: calc(var(--gutter) - 32px); padding-right: calc(var(--gutter) - 32px); }

.head { height: 112px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 750;
  letter-spacing: -.04em; text-decoration: none; color: #111; }

.signup { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start;
  padding-top: 20px; padding-bottom: 64px; border-bottom: 1px solid var(--rule); }
h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05;
  margin: 0; max-width: 12ch; text-wrap: balance; }
.lead { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 34em; margin: 26px 0 0; text-wrap: pretty; }

.panel { background: var(--panel); border-radius: 8px 8px var(--curve) 8px; padding: 34px 40px 40px;
  margin-top: 34px; max-width: 560px; }
.field { margin-bottom: 18px; }
label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 7px; }
.opt { font-weight: 500; color: var(--muted); }
input[type=text], input[type=email] { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit;
  font-size: 17px; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 5px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 15px 28px; border: 0; border-radius: 7px; background: var(--play); color: #fff; font: inherit;
  font-size: 15px; font-weight: 650; cursor: pointer; margin-top: 6px;
  box-shadow: 0 14px 28px -16px rgba(241,81,0,.55); transition: background-color .14s, scale .1s; }
.button:hover { background: var(--play-hover); }
.button:active { scale: .97; }
.button:focus-visible { outline: 2px solid var(--play); outline-offset: 3px; }
.button:disabled { opacity: .7; cursor: default; }
.note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.note.bad { color: var(--error); }
.done h2 { font-size: 28px; font-weight: 500; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 10px; }
.done p { margin: 0; color: var(--muted); font-size: 16px; }
.done b { color: var(--ink); font-weight: 650; }
.done:focus { outline: none; }

.frame { position: relative; margin: 0; height: 540px; border-radius: 8px var(--curve) 8px 8px;
  overflow: hidden; background: var(--sage); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.frame figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--paper);
  border-radius: 6px; padding: 10px 14px; line-height: 1.3; }
.frame figcaption strong { display: block; font-size: 15px; font-weight: 650; }
.frame figcaption span { font-size: 13px; color: var(--muted); }

.foot { padding-top: 32px; padding-bottom: 36px; font-size: 13px; color: var(--muted); }
.foot p { margin: 0 0 8px; }
.foot a { margin-right: 22px; text-decoration: none; border-bottom: 1px solid var(--line); }
.foot a:hover { color: var(--ink); border-color: var(--ink); }

.single { max-width: 760px; padding-top: 40px; padding-bottom: 72px; }
.single h1 { max-width: 14ch; }
.single .button { margin-top: 30px; text-decoration: none; }
.single .quiet { display: inline-block; margin: 30px 0 0 22px; font-size: 15px; font-weight: 650;
  text-decoration: none; border-bottom: 1.5px solid var(--accent); }

@media (max-width: 1100px) { :root { --gutter: 96px; --curve: 72px; } .frame { height: 480px; } }
@media (max-width: 900px) {
  .head { height: 88px; }
  .signup { grid-template-columns: 1fr; gap: 32px; padding-top: 8px; padding-bottom: 40px; }
  .frame { height: 360px; }
}
@media (max-width: 760px) {
  :root { --gutter: 52px; --curve: 48px; }
  body { font-size: 15px; }
  .brand { font-size: 18px; }
  h1 { font-size: clamp(34px, 10vw, 46px); }
  .lead { font-size: 17px; margin-top: 18px; }
  .panel { padding: 26px 20px 30px; margin-top: 26px; }
  .button { width: 100%; }
  .frame { height: 240px; }
  .single .quiet { margin-left: 0; display: block; width: max-content; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:active { scale: 1; } }
