:root {
  color-scheme: dark;
  --night: #11130f;
  --night-soft: #1a1d17;
  --bone: #eee9d9;
  --muted: #a8ad9c;
  --plastic: #646b5d;
  --plastic-light: #7b8372;
  --plastic-dark: #373c34;
  --button: #4b5047;
  --lcd: #b9c89b;
  --lcd-dark: #28352a;
  --lcd-mid: #5f7257;
  --red: #b84435;
  --green: #4f855b;
  --shadow: rgba(0, 0, 0, 0.58);
  --site-accent: #bdc8a8;
  --site-accent-dark: #1d211b;
  --site-accent-glow: rgba(116, 132, 93, 0.17);
  --site-accent-wash: rgba(112, 127, 98, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--bone);
  background:
    radial-gradient(circle at 66% 28%, var(--site-accent-glow), transparent 32rem),
    radial-gradient(circle at 12% 85%, rgba(112, 76, 48, 0.11), transparent 28rem),
    var(--night);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

body[data-site-mode="family"] {
  --site-accent: #e58a62;
  --site-accent-dark: #1d1510;
  --site-accent-glow: rgba(229, 138, 98, 0.2);
  --site-accent-wash: rgba(229, 138, 98, 0.1);
}

.site-header {
  position: relative;
  z-index: 20;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  width: max-content;
  display: flex;
  flex-direction: column;
  color: var(--bone);
  text-decoration: none;
}

.wordmark span {
  margin: 0 0 -3px 3px;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
}

.wordmark strong {
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.header-cta {
  padding: 10px 13px;
  border: 1px solid var(--site-accent);
  border-radius: 4px;
  color: var(--site-accent);
  background: #21251e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--site-accent-dark);
  background: var(--site-accent);
}

.app-chooser {
  width: min(1160px, calc(100% - 88px));
  margin: 54px auto 0;
  scroll-margin-top: 28px;
}

.app-chooser-heading {
  max-width: 730px;
}

.app-chooser-heading .section-label {
  margin-bottom: 15px;
}

.app-chooser h2,
.family-app h2 {
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.app-chooser h2 {
  max-width: 13ch;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
}

.app-options {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #4a5144;
}

.app-option {
  position: relative;
  min-height: 470px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.app-option + .app-option {
  border-left: 1px solid #4a5144;
}

.app-option-family {
  background: #1c201a;
}

.app-option-personal.is-selected {
  background:
    radial-gradient(circle at 88% 12%, var(--site-accent-wash), transparent 18rem),
    #1c201a;
}

.app-option-family.is-selected {
  background:
    radial-gradient(circle at 88% 12%, var(--site-accent-wash), transparent 18rem),
    #1c201a;
}

.app-option.is-selected {
  box-shadow: inset 0 0 0 3px var(--site-accent);
}

.app-option-select {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.app-option:has(.app-option-select:focus-visible) {
  outline: 3px solid var(--site-accent);
  outline-offset: 4px;
}

.app-option-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8f9886;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.app-option-number {
  color: var(--site-accent);
  font-size: 12px;
}

.app-option h3 {
  max-width: 14ch;
  margin: 34px 0 0;
  color: #e7e3d5;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.app-option-for {
  margin: 14px 0 0 !important;
  color: var(--site-accent) !important;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.app-option > p:not(.app-option-for) {
  max-width: 44ch;
  margin: 24px 0 0;
  color: #abb2a1;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.app-option ul {
  margin: 25px 0 34px;
  padding: 0;
  color: #8f9787;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  list-style: none;
}

.app-option li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--site-accent);
}

.app-option-action {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #7e8a70;
  color: var(--site-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.app-option:hover .app-option-action,
.app-option:has(.app-option-select:focus-visible) .app-option-action {
  color: #fffdf1;
  border-color: var(--site-accent);
}

button,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.studio {
  width: min(1160px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 44px 80px;
  display: grid;
  grid-template-columns: minmax(270px, 430px) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
}

.intro {
  max-width: 440px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #9da889;
  font-size: 12px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.91;
  letter-spacing: -0.065em;
}

.research-jump {
  width: min(100%, 420px);
  max-width: 100%;
  margin-top: 24px;
  padding: 16px 18px 15px;
  display: grid;
  gap: 9px;
  border: 1px solid var(--site-accent);
  border-radius: 4px;
  color: var(--bone);
  background: linear-gradient(145deg, var(--site-accent-wash), rgba(31, 36, 29, 0.74));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.research-jump:hover,
.research-jump:focus-visible {
  border-color: var(--site-accent);
  background: linear-gradient(145deg, var(--site-accent-glow), rgba(36, 42, 33, 0.82));
  transform: translateY(-2px);
}

.research-jump-label {
  width: max-content;
  padding: 4px 6px;
  border-radius: 2px;
  color: var(--site-accent-dark);
  background: var(--site-accent);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.13em;
  line-height: 1;
}

.research-jump strong {
  max-width: 28ch;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.research-jump-action {
  color: var(--site-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.research-jump + .lede {
  margin-top: 22px;
}

.lede {
  max-width: 35rem;
  margin: 27px 0 0;
  color: #ced2c4;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.try-list {
  margin: 30px 0 0;
  padding: 0;
  color: #bcc2b2;
  list-style-position: inside;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.prototype-note {
  max-width: 37rem;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #34392f;
  color: #7f8777;
  font-size: 10px;
  line-height: 1.6;
  text-transform: uppercase;
}

.skin-picker {
  margin-top: 31px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.skin-choice {
  min-height: 66px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid #34392f;
  border-radius: 7px;
  color: #929a88;
  background: rgba(31, 35, 28, 0.72);
  text-align: left;
  cursor: pointer;
  transition: 150ms ease;
}

.skin-choice:hover,
.skin-choice:focus-visible {
  border-color: var(--site-accent);
  color: var(--bone);
  outline: none;
}

.skin-choice.is-selected {
  border-color: var(--site-accent);
  color: var(--bone);
  background: linear-gradient(145deg, var(--site-accent-wash), #2a3027);
  box-shadow: inset 0 0 0 1px var(--site-accent);
}

.skin-choice strong,
.skin-choice small {
  display: block;
}

.skin-choice strong {
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.15;
}

.skin-choice small {
  margin-top: 4px;
  color: #7f8776;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skin-silhouette {
  position: relative;
  width: 25px;
  height: 43px;
  margin: auto;
  display: block;
  border: 2px solid currentColor;
  border-radius: 6px 6px 9px 9px;
  opacity: 0.8;
}

.skin-silhouette::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 11px;
  height: 9px;
  border: 1px solid currentColor;
}

.skin-silhouette::after {
  content: "•••";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  font-size: 8px;
  letter-spacing: -0.12em;
  text-align: center;
}

.silhouette-candy {
  width: 20px;
  border-radius: 9px 9px 6px 6px;
}

.silhouette-rotary {
  width: 36px;
  height: 28px;
  margin-top: 12px;
  border-radius: 8px 8px 5px 5px;
}

.silhouette-rotary::before {
  top: 5px;
  left: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.silhouette-rotary::after {
  content: "";
  top: -10px;
  right: -4px;
  bottom: auto;
  left: -4px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.silhouette-cordless {
  width: 17px;
  height: 48px;
  border-radius: 8px 8px 11px 11px;
}

.silhouette-cordless::before {
  top: 9px;
  left: 3px;
  width: 7px;
  height: 8px;
}

.silhouette-cordless::after {
  bottom: 8px;
  font-size: 6px;
}

.phone-stage {
  position: relative;
  width: min(100%, 414px);
  margin: 30px auto 0;
  filter: drop-shadow(0 34px 45px rgba(0, 0, 0, 0.42));
  transition: width 240ms ease;
}

.phone-stage::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 12%;
  right: 12%;
  bottom: -24px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  filter: blur(18px);
}

.antenna {
  position: absolute;
  z-index: -1;
  top: -54px;
  right: 34px;
  width: 58px;
  height: 94px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border: 2px solid #292d27;
  border-radius: 19px 19px 8px 8px;
  background: linear-gradient(90deg, #40463c, #727a69 48%, #42483e);
  box-shadow: inset 5px 0 5px rgba(255, 255, 255, 0.07), inset -6px 0 7px rgba(0, 0, 0, 0.24);
}

.antenna span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #2f342d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone {
  position: relative;
  width: 100%;
  padding: 25px 28px 30px;
  overflow: hidden;
  border: 2px solid #343930;
  border-radius: 44px 44px 54px 54px;
  background:
    linear-gradient(100deg, transparent 0 6%, rgba(255, 255, 255, 0.09) 7%, transparent 13% 87%, rgba(0, 0, 0, 0.16) 90%),
    linear-gradient(165deg, var(--plastic-light), var(--plastic) 42%, #51584c 72%, #444a40);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.2),
    inset 8px 0 15px rgba(255, 255, 255, 0.035),
    inset -11px -5px 18px rgba(0, 0, 0, 0.18),
    0 0 0 1px #171916;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.phone-top {
  position: relative;
  min-height: 58px;
}

.speaker {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 128px;
  height: 31px;
  padding: 5px 11px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #383d35;
  border-radius: 15px;
  background: #454b41;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.38), 0 1px 0 rgba(255, 255, 255, 0.11);
}

.speaker i {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #252923;
}

.phone-brand {
  position: absolute;
  right: 2px;
  bottom: 8px;
  color: #30352d;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.phone-brand span {
  color: #c9d0ba;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.phone-brand small {
  margin: 0 0 -1px 1px;
  display: block;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: lowercase;
}

.screen-bezel {
  position: relative;
  padding: 14px;
  border: 2px solid #30352d;
  border-radius: 22px 22px 29px 29px;
  background: linear-gradient(145deg, #343a31, #555c50);
  box-shadow: inset 0 5px 12px rgba(0, 0, 0, 0.42), 0 2px 0 rgba(255, 255, 255, 0.12);
}

.lcd {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 2px solid #273027;
  border-radius: 10px 10px 15px 15px;
  color: var(--lcd-dark);
  background:
    linear-gradient(rgba(38, 51, 39, 0.045) 50%, transparent 50%) 0 0 / 100% 4px,
    radial-gradient(circle at 23% 18%, #d2dbb6, var(--lcd) 47%, #a4b28a 100%);
  box-shadow:
    inset 5px 7px 17px rgba(33, 45, 34, 0.34),
    inset -5px -5px 12px rgba(240, 255, 218, 0.27),
    0 0 0 1px #839174;
  text-shadow: 0 0 0.8px currentColor;
}

.lcd::after {
  content: "";
  position: absolute;
  z-index: 12;
  top: -42%;
  left: -27%;
  width: 125%;
  height: 72%;
  pointer-events: none;
  transform: rotate(-18deg);
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.13), transparent);
}

.screen-grain {
  position: absolute;
  z-index: 11;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cfilter id='g'%3E%3CfeTurbulence baseFrequency='.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.lcd-screen {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 13px 14px 14px;
  display: none;
}

.lcd-screen.is-active {
  display: flex;
  flex-direction: column;
  animation: lcd-enter 130ms steps(2, end);
}

@keyframes lcd-enter {
  0% { opacity: 0; transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}

.status-row {
  min-height: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid rgba(40, 53, 42, 0.5);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.signal {
  letter-spacing: -0.16em;
}

.battery {
  position: relative;
  width: 23px;
  height: 11px;
  border: 2px solid var(--lcd-dark);
}

.battery::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -4px;
  width: 2px;
  height: 4px;
  background: var(--lcd-dark);
}

.battery i {
  position: absolute;
  inset: 2px;
  background: var(--lcd-dark);
}

.setup-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pixel-kicker,
.commit-title {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.duration-value,
.countdown {
  margin: 10px 0 5px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 63px;
  line-height: 0.95;
  letter-spacing: 0.025em;
  font-variant-numeric: tabular-nums;
}

.duration-value.bump {
  animation: duration-bump 160ms steps(2, end);
}

@keyframes duration-bump {
  50% { transform: scale(1.06); opacity: 0.65; }
}

.screen-help,
.screen-footer {
  margin: 0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.lcd-primary {
  min-height: 34px;
  padding: 8px 10px;
  border: 2px solid var(--lcd-dark);
  color: var(--lcd);
  background: var(--lcd-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lcd-primary:hover:not(:disabled),
.lcd-primary:focus-visible:not(:disabled) {
  color: var(--lcd-dark);
  background: transparent;
}

.lcd-primary:disabled {
  cursor: not-allowed;
  opacity: 0.32;
}

.countdown {
  margin: 14px 0 12px;
  font-size: 36px;
  text-align: center;
}

.essential-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.essential-grid button {
  min-height: 68px;
  padding: 7px 4px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 2px solid var(--lcd-dark);
  color: var(--lcd-dark);
  background: rgba(40, 53, 42, 0.05);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.essential-grid button:hover,
.essential-grid button:focus-visible {
  color: var(--lcd);
  background: var(--lcd-dark);
}

.pixel-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.icon-phone::before {
  content: "";
  position: absolute;
  inset: 3px 5px;
  transform: rotate(-34deg);
  border: solid var(--lcd-dark);
  border-width: 5px 3px;
  border-radius: 50%;
}

.essential-grid button:hover .icon-phone::before,
.essential-grid button:focus-visible .icon-phone::before {
  border-color: var(--lcd);
}

.icon-texts {
  width: 26px;
  height: 19px;
  border: 3px solid currentColor;
}

.icon-texts::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 3px;
  border-top: 7px solid currentColor;
  border-right: 7px solid transparent;
}

.icon-maps {
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) scale(0.82);
}

.icon-maps::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-camera {
  width: 27px;
  height: 20px;
  margin-top: 3px;
  border: 3px solid currentColor;
}

.icon-camera::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 3px;
  width: 10px;
  height: 5px;
  background: currentColor;
}

.icon-camera::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.screen-footer {
  margin-top: 8px;
  text-align: center;
}

.game-launch,
.game-divider {
  display: none;
}

.skin-candy .game-launch,
.skin-candy .game-divider {
  display: inline;
}

.game-launch {
  padding: 0;
  font-size: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.service-content {
  flex: 1;
  min-height: 0;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-glyph {
  margin: 0 0 12px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 62px;
  line-height: 1;
}

.service-title {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.service-copy {
  max-width: 25ch;
  margin: 10px auto 0;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.5;
}

.service-action {
  width: 100%;
  margin-top: 12px;
}

.camera-viewfinder {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 162px;
  overflow: hidden;
  border: 3px solid var(--lcd-dark);
  background:
    linear-gradient(164deg, transparent 45%, var(--lcd-dark) 46% 59%, transparent 60%),
    radial-gradient(circle at 72% 25%, var(--lcd-dark) 0 12px, transparent 13px),
    linear-gradient(to top, rgba(40, 53, 42, 0.35) 0 30%, transparent 31%);
}

.camera-viewfinder::before,
.camera-viewfinder::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--lcd-dark);
  border-style: solid;
}

.camera-viewfinder::before {
  top: 8px;
  left: 8px;
  border-width: 3px 0 0 3px;
}

.camera-viewfinder::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 3px 3px 0;
}

.camera-viewfinder.captured {
  animation: camera-flash 550ms steps(2, end);
}

@keyframes camera-flash {
  0%, 34% { filter: brightness(2.4); }
  35%, 100% { filter: brightness(1); }
}

.camera-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--lcd);
  background: var(--lcd-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.commit-step {
  flex: 1;
  padding-top: 15px;
  display: none;
  flex-direction: column;
}

.commit-step.is-active {
  display: flex;
}

.commit-title {
  text-align: center;
  line-height: 1.35;
}

#reason-input {
  width: 100%;
  height: 114px;
  margin-top: 13px;
  padding: 10px;
  resize: none;
  outline: 0;
  border: 2px solid var(--lcd-dark);
  border-radius: 0;
  color: var(--lcd-dark);
  background: rgba(255, 255, 255, 0.07);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

#reason-input::placeholder {
  color: rgba(40, 53, 42, 0.52);
}

.reason-meta {
  margin: 6px 0 9px;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  font-weight: 900;
}

.hold-copy {
  margin: 10px 0 12px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.hold-button {
  position: relative;
  width: 154px;
  height: 154px;
  margin: 0 auto;
  overflow: hidden;
  flex: none;
  border: 4px solid var(--lcd-dark);
  border-radius: 50%;
  color: var(--lcd);
  background: var(--lcd-dark);
  user-select: none;
  touch-action: none;
  cursor: pointer;
}

.hold-button:active {
  transform: scale(0.985);
}

.hold-progress {
  position: absolute;
  inset: auto 0 0;
  height: 0%;
  background: var(--lcd-mid);
  transition: height 50ms linear;
}

.hold-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hold-label strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 54px;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

.hold-label small {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hold-warning {
  margin: 8px 0 0;
  font-size: 8px;
  font-weight: 900;
  text-align: center;
}

.complete-screen {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.complete-mark {
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border: 4px solid var(--lcd-dark);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 50px;
  font-weight: 900;
}

.complete-screen > p:not(.commit-title) {
  max-width: 24ch;
  margin: 11px auto 20px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.5;
}

.complete-screen .lcd-primary {
  width: 100%;
}

.game-screen {
  padding-bottom: 10px;
}

.game-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 3px solid var(--lcd-dark);
  background: rgba(40, 53, 42, 0.06);
}

#worm-canvas {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--lcd-dark);
  background: rgba(185, 200, 155, 0.78);
  text-align: center;
}

.game-overlay.is-hidden {
  display: none;
}

.game-overlay strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 39px;
  letter-spacing: 0.08em;
}

.game-overlay span {
  margin-top: 7px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.game-help {
  margin: 7px 0 0;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
}

.soft-keys {
  position: relative;
  height: 118px;
  margin: 19px 6px 11px;
  display: grid;
  grid-template-columns: 76px 1fr 76px;
  align-items: center;
  gap: 16px;
}

.soft-key,
.d-pad button,
.keypad button {
  position: relative;
  border: 1px solid #30342e;
  color: #d4d9c9;
  background: linear-gradient(#5b6256, #3e443b);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.13),
    inset 0 -3px 5px rgba(0, 0, 0, 0.18),
    0 4px 0 #30342d,
    0 7px 8px rgba(0, 0, 0, 0.27);
  cursor: pointer;
}

.soft-key:active,
.soft-key.is-pressed,
.d-pad button:active,
.d-pad button.is-pressed,
.keypad button:active,
.keypad button.is-pressed {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.18),
    0 1px 0 #30342d,
    0 2px 3px rgba(0, 0, 0, 0.28);
}

.soft-key {
  width: 72px;
  height: 52px;
  border-radius: 13px 13px 19px 19px;
  transform: rotate(4deg);
}

.soft-key:active,
.soft-key.is-pressed {
  transform: rotate(4deg) translateY(3px);
}

.soft-key span {
  display: block;
  transform: rotate(-24deg) scaleX(1.75);
  font-size: 20px;
}

.call-key span {
  color: #85b88a;
}

.end-key {
  transform: rotate(-4deg);
}

.end-key:active,
.end-key.is-pressed {
  transform: rotate(-4deg) translateY(3px);
}

.end-key span {
  color: #e07967;
  transform: rotate(24deg) scaleX(1.75);
}

.d-pad {
  position: relative;
  width: 124px;
  height: 116px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.d-pad::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #3a4037;
  box-shadow: 0 4px 0 #292d27, 0 7px 9px rgba(0, 0, 0, 0.34);
}

.d-pad button {
  z-index: 1;
  width: 42px;
  height: 42px;
  margin: auto;
  border: 0;
  border-radius: 50%;
  color: #c5cbbb;
  background: transparent;
  box-shadow: none;
  font-size: 11px;
}

.d-pad button:active,
.d-pad button.is-pressed {
  transform: scale(0.86);
  box-shadow: none;
}

.d-pad [data-direction="up"] { grid-column: 2; grid-row: 1; }
.d-pad [data-direction="left"] { grid-column: 1; grid-row: 2; }
.d-pad [data-direction="select"] {
  grid-column: 2;
  grid-row: 2;
  color: #818a77;
  background: #282c27;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
  font-size: 10px;
}
.d-pad [data-direction="right"] { grid-column: 3; grid-row: 2; }
.d-pad [data-direction="down"] { grid-column: 2; grid-row: 3; }

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px 18px;
}

.keypad button {
  min-height: 56px;
  padding: 5px 8px 4px;
  border-radius: 16px 16px 21px 21px;
}

.keypad strong,
.keypad small {
  display: block;
}

.keypad strong {
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
}

.keypad small {
  min-height: 10px;
  margin-top: 3px;
  color: #a7ae9f;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.phone-bottom {
  width: 80px;
  margin: 23px auto 0;
  display: flex;
  justify-content: space-between;
}

.phone-bottom span {
  width: 17px;
  height: 4px;
  border-radius: 4px;
  background: #343930;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
}

.side-button {
  position: absolute;
  z-index: -1;
  width: 13px;
  border: 2px solid #2d312b;
  background: #464c42;
}

.side-button-left {
  top: 246px;
  left: -10px;
  height: 78px;
  border-radius: 8px 0 0 8px;
}

.side-button-right {
  top: 191px;
  right: -10px;
  height: 55px;
  border-radius: 0 8px 8px 0;
}

.rotary-handset,
.rotary-hardware {
  display: none;
}

.story,
.evidence,
.manifesto,
.family-app,
.testflight,
.site-footer {
  width: min(1160px, calc(100% - 88px));
  margin-right: auto;
  margin-left: auto;
}

.story,
.evidence,
.manifesto,
.family-app,
.testflight {
  border-top: 1px solid #34392f;
}

.story {
  padding: clamp(88px, 12vw, 154px) 0;
}

.section-label {
  margin: 0 0 26px;
  color: var(--site-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.story h2,
.evidence h2,
.manifesto h2,
.testflight h2 {
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.story h2 {
  max-width: 14ch;
  font-size: clamp(47px, 7.5vw, 94px);
  line-height: 0.96;
}

.story-grid {
  margin-top: clamp(45px, 7vw, 82px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(34px, 8vw, 120px);
  color: #afb6a6;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.story-grid p {
  margin: 0;
}

.story-grid .story-lead {
  color: #e1dfd3;
}

.pull-quote {
  margin: clamp(90px, 14vw, 170px) 0 0;
  color: var(--site-accent);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(72px, 15vw, 184px);
  line-height: 0.79;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.evidence {
  scroll-margin-top: 28px;
  padding: clamp(88px, 12vw, 145px) 0;
}

.evidence-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(32px, 8vw, 120px);
  align-items: end;
}

.evidence-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.evidence h2 {
  max-width: 13ch;
  font-size: clamp(41px, 6vw, 76px);
  line-height: 0.98;
}

.evidence-heading > p:last-child {
  margin: 0;
  color: #9da493;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.evidence-cards {
  margin-top: clamp(50px, 8vw, 88px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #4a5144;
  border-bottom: 1px solid #4a5144;
}

.evidence-cards article {
  min-height: 390px;
  padding: 35px 30px 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #4a5144;
}

.evidence-cards article:last-child {
  border-right: 0;
}

.evidence-cards article > strong {
  color: var(--site-accent);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}

.evidence-cards h3 {
  margin: 13px 0 24px;
  color: #e2e0d4;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.evidence-cards p {
  margin: 0 0 28px;
  color: #9ea594;
  font-size: 11px;
  line-height: 1.7;
}

.evidence-cards a {
  width: max-content;
  margin-top: auto;
  color: var(--site-accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.evidence-cards a:hover,
.evidence-cards a:focus-visible {
  text-decoration: underline;
}

.evidence-note {
  max-width: 78ch;
  margin: 26px 0 0 auto;
  color: #747c6e;
  font-size: 9px;
  line-height: 1.65;
}

.manifesto {
  padding: clamp(88px, 12vw, 145px) 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: clamp(50px, 9vw, 140px);
}

.manifesto .section-label {
  grid-column: 1 / -1;
}

.manifesto h2 {
  color: var(--site-accent);
  font-size: clamp(57px, 8vw, 100px);
  line-height: 0.88;
}

.manifesto-lines {
  align-self: end;
  border-top: 1px solid #4a5144;
}

.manifesto-lines p {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #4a5144;
  color: #bac1b0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.family-app {
  scroll-margin-top: 28px;
  padding: clamp(88px, 12vw, 145px) 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 9vw, 130px);
}

.family-app h2 {
  max-width: 11ch;
  color: #e4dfd0;
  font-size: clamp(50px, 7vw, 88px);
  line-height: 0.91;
}

.family-app-intro > p:not(.section-label):not(.family-beta-note) {
  max-width: 48ch;
  margin: 32px 0 0;
  color: #aeb5a4;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.family-beta-note {
  max-width: 58ch;
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid #4a5144;
  color: var(--site-accent);
  font-size: 8px;
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: 0.09em;
}

.family-differences {
  align-self: end;
  margin: 0;
  border-top: 1px solid #4a5144;
}

.family-differences div {
  padding: 19px 0 18px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  border-bottom: 1px solid #4a5144;
}

.family-differences dt {
  color: var(--site-accent);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.family-differences dd {
  margin: 0;
  color: #c6cdba;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.testflight {
  padding: clamp(72px, 11vw, 124px) clamp(28px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) 1.45fr;
  align-items: center;
  gap: clamp(42px, 8vw, 110px);
  border-right: 1px solid #46503f;
  border-bottom: 1px solid #46503f;
  border-left: 1px solid #46503f;
  background: #20251e;
}

.beta-phone {
  width: min(100%, 260px);
  aspect-ratio: 0.56;
  padding: 42px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #465043;
  border-radius: 52px;
  color: #273026;
  background: linear-gradient(145deg, #c8d3b3, #899976);
  box-shadow: inset 7px 7px 17px rgba(255, 255, 255, 0.2), inset -8px -8px 18px rgba(0, 0, 0, 0.18), 0 20px 35px rgba(0, 0, 0, 0.25);
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  transform: rotate(-5deg);
}

.beta-phone span {
  width: 100%;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.beta-phone strong {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.testflight h2 {
  max-width: 15ch;
  font-size: clamp(43px, 6.5vw, 82px);
  line-height: 0.93;
}

.testflight div > p:not(.section-label) {
  max-width: 50ch;
  margin: 28px 0 0;
  color: #a9b09f;
  font-family: ui-rounded, "Arial Rounded MT Bold", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.cta-row {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.primary-cta,
.store-placeholder {
  min-height: 51px;
  padding: 12px 17px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-accent);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-align: center;
}

.primary-cta {
  color: var(--site-accent-dark);
  background: var(--site-accent);
  text-decoration: none;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  background: #e6e4d7;
}

.store-placeholder {
  color: #b3bba6;
  border-color: #535d4d;
}

.store-link {
  text-decoration: none;
}

.store-link:hover,
.store-link:focus-visible {
  color: var(--site-accent-dark);
  border-color: var(--site-accent);
  background: var(--site-accent);
}

.store-placeholder small {
  margin-bottom: 2px;
  font-size: 6px;
}

.site-footer {
  padding: 42px 0 55px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 38px;
  color: #71796a;
}

.site-footer p {
  margin: 0;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-wordmark {
  color: var(--site-accent);
}

.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  transform: translate(-50%, 30px);
  opacity: 0;
  border: 1px solid #56604d;
  border-radius: 3px;
  color: var(--bone);
  background: #22261f;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
  transition: 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 850px) {
  .site-header {
    width: min(100% - 48px, 560px);
  }

  .app-chooser {
    width: min(100% - 48px, 680px);
  }

  .app-options,
  .family-app {
    grid-template-columns: 1fr;
  }

  .app-option {
    min-height: 0;
  }

  .app-option + .app-option {
    border-top: 1px solid #4a5144;
    border-left: 0;
  }

  .studio {
    padding: 42px 24px 70px;
    grid-template-columns: 1fr;
    gap: 68px;
  }

  .intro {
    max-width: 560px;
    margin: 0 auto;
  }

  h1 {
    max-width: none;
  }

  .story,
  .evidence,
  .manifesto,
  .family-app,
  .testflight,
  .site-footer {
    width: min(100% - 48px, 680px);
  }

  .story-grid,
  .evidence-heading,
  .manifesto,
  .testflight {
    grid-template-columns: 1fr;
  }

  .evidence-cards {
    grid-template-columns: 1fr;
  }

  .evidence-cards article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #4a5144;
  }

  .evidence-cards article:last-child {
    border-bottom: 0;
  }

  .manifesto h2 {
    margin-bottom: 55px;
  }

  .beta-phone {
    width: 190px;
    margin: 0 auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 17px;
  }
}

@media (max-width: 480px) {
  .site-header {
    width: calc(100% - 32px);
    padding-top: 18px;
  }

  .header-cta {
    padding-inline: 9px;
    font-size: 7px;
  }

  .app-chooser {
    width: calc(100% - 32px);
    margin-top: 44px;
  }

  .app-option {
    padding: 26px 22px 28px;
  }

  .studio {
    padding: 26px 10px 52px;
    gap: 45px;
  }

  .intro {
    padding: 0 12px;
  }

  .lede {
    font-size: 17px;
  }

  .try-list,
  .prototype-note {
    display: none;
  }

  .story,
  .evidence,
  .manifesto,
  .family-app,
  .testflight,
  .site-footer {
    width: calc(100% - 32px);
  }

  .pull-quote {
    font-size: 21vw;
  }

  .testflight {
    padding-right: 20px;
    padding-left: 20px;
  }

  .phone-stage {
    width: min(100%, 402px);
  }

  .phone {
    padding-inline: 24px;
    border-radius: 38px 38px 50px 50px;
  }

  .soft-keys {
    grid-template-columns: 70px 1fr 70px;
    gap: 10px;
  }

  .keypad {
    gap: 12px 15px;
  }
}

.site-footer a {
  color: inherit;
  text-decoration-color: rgba(196, 207, 159, 0.45);
  text-underline-offset: 0.22em;
}

.legal-page {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(128px, 18vw, 210px) 0 100px;
}

.legal-page > h1 {
  max-width: 820px;
  margin: 16px 0 30px;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.91;
  letter-spacing: -0.055em;
}

.legal-updated {
  margin: 0 0 56px;
  color: var(--muted);
  font: 600 11px/1.5 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page section {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.6fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin: 0;
  color: var(--olive-bright);
  font: 700 12px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page section p {
  margin: 0;
  color: var(--cream);
  font: 500 clamp(17px, 2.4vw, 23px)/1.55 var(--body);
}

@media (max-width: 620px) {
  .legal-page section {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skin 02: a familiar northern-European candybar without copying a real device. */
.skin-candy {
  width: min(100%, 356px);
}

.skin-candy .antenna {
  display: none;
}

.skin-candy .antenna span {
  background: #1d292f;
}

.skin-candy .phone {
  min-height: 760px;
  padding: 21px 23px 29px;
  border-color: #142a33;
  border-radius: 49px 49px 56px 56px;
  background:
    radial-gradient(ellipse at 43% 8%, rgba(255, 255, 255, 0.11), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 14% 86%, rgba(0, 0, 0, 0.18)),
    linear-gradient(155deg, #294b59, #173846 48%, #102c38 100%);
  box-shadow:
    inset 0 3px 2px rgba(255, 255, 255, 0.2),
    inset 9px 0 13px rgba(255, 255, 255, 0.04),
    inset -10px -5px 19px rgba(0, 0, 0, 0.22),
    0 0 0 1px #10171a;
}

.skin-candy .phone-top {
  min-height: 54px;
}

.skin-candy .phone-top::before,
.skin-candy .phone-top::after {
  display: none;
}

.skin-candy .phone-top::before {
  left: -9px;
  border-width: 2px 0 0 2px;
  border-radius: 18px 0 0 0;
}

.skin-candy .phone-top::after {
  right: -9px;
  border-width: 2px 2px 0 0;
  border-radius: 0 18px 0 0;
}

.skin-candy .speaker {
  top: 5px;
  width: 98px;
  height: 20px;
  padding: 4px 10px;
  border-color: #102833;
  border-radius: 8px;
  background: #102a35;
}

.skin-candy .speaker i {
  height: 2px;
  background: #071b24;
}

.skin-candy .speaker i:nth-child(n + 5) {
  display: none;
}

.skin-candy .phone-brand {
  display: none;
}

.skin-candy .screen-bezel {
  padding: 15px 13px;
  border-color: #939b9d;
  border-radius: 28px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.55), transparent 22% 75%, rgba(0, 0, 0, 0.12)),
    linear-gradient(155deg, #d6dbda, #9ea8aa 72%, #818c8f);
  box-shadow: inset 0 4px 9px rgba(255, 255, 255, 0.42), 0 3px 0 rgba(0, 0, 0, 0.18);
}

.skin-candy .lcd {
  height: 276px;
  border-color: #30413e;
  border-radius: 14px;
  background:
    linear-gradient(rgba(29, 57, 51, 0.04) 50%, transparent 50%) 0 0 / 100% 4px,
    radial-gradient(circle at 30% 18%, #c8d7b1, #9caf8f 58%, #81987d);
}

.skin-candy .soft-keys {
  height: 102px;
  margin: 12px 7px 8px;
  grid-template-columns: 68px 1fr 68px;
  gap: 7px;
}

.skin-candy .soft-keys::before,
.skin-candy .soft-keys::after {
  content: "";
  position: absolute;
  z-index: 4;
  bottom: 11px;
  width: 39px;
  height: 26px;
  border: 1px solid #17272d;
  border-radius: 14px;
  background: linear-gradient(#586267, #343e43);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.1), 0 3px 0 #18272d;
}

.skin-candy .soft-keys::before { left: 14px; }
.skin-candy .soft-keys::after { right: 14px; }

.skin-candy .soft-key {
  align-self: start;
  width: 66px;
  height: 32px;
  transform: none;
  border-color: #17272d;
  border-radius: 18px;
  background: linear-gradient(#59646a, #343e43);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.1), 0 3px 0 #18272d, 0 5px 6px rgba(0, 0, 0, 0.23);
}

.skin-candy .soft-key:active,
.skin-candy .soft-key.is-pressed {
  transform: translateY(2px);
}

.skin-candy .soft-key span {
  display: none;
}

.skin-candy .d-pad::before {
  border: 2px solid #d4d7d4;
  background: radial-gradient(circle, #eef0ec 0 28%, #abb2b0 30% 67%, #747e7e 69% 100%);
  box-shadow: 0 4px 0 #505b5d, 0 7px 9px rgba(0, 0, 0, 0.31);
}

.skin-candy .d-pad button {
  color: #34494f;
}

.skin-candy .keypad {
  gap: 10px 14px;
}

.skin-candy .keypad button {
  min-height: 49px;
  border-color: #17272d;
  border-radius: 50%;
  color: #f0f1ec;
  background: linear-gradient(#525c61, #303a3f);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.1),
    inset 0 -3px 5px rgba(0, 0, 0, 0.18),
    0 4px 0 #17272d,
    0 6px 7px rgba(0, 0, 0, 0.25);
}

.skin-candy .keypad small {
  display: none;
}

.skin-candy .phone-bottom span {
  display: none;
}

.skin-candy .side-button {
  background: #2b3e49;
}

/* Skin 03: a glossy tabletop rotary telephone. */
.skin-rotary {
  width: min(100%, 490px);
  margin-top: 88px;
}

.skin-rotary .antenna,
.skin-rotary .soft-keys,
.skin-rotary .keypad,
.skin-rotary .side-button,
.skin-rotary .phone-bottom,
.skin-rotary .speaker {
  display: none;
}

.skin-rotary .rotary-handset {
  position: absolute;
  z-index: 5;
  top: -76px;
  left: -3%;
  width: 106%;
  height: 112px;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  filter: drop-shadow(0 12px 9px rgba(0, 0, 0, 0.42));
}

.rotary-ear,
.rotary-grip {
  display: block;
  border: 3px solid #421512;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(#a44338, #6e261f 70%, #531a16);
  box-shadow: inset 0 -7px 13px rgba(0, 0, 0, 0.25), inset 0 4px 5px rgba(255, 255, 255, 0.08);
}

.rotary-ear {
  height: 104px;
  border-radius: 40px 40px 28px 28px;
}

.rotary-ear-left {
  transform: rotate(-8deg);
}

.rotary-ear-right {
  transform: rotate(8deg);
}

.rotary-grip {
  height: 57px;
  margin: 0 -14px;
  border-radius: 27px;
}

.skin-rotary .phone {
  padding: 58px 43px 34px;
  overflow: visible;
  border-color: #421512;
  border-radius: 48px 48px 76px 76px;
  background:
    radial-gradient(circle at 50% 9%, rgba(255, 255, 255, 0.15), transparent 24%),
    linear-gradient(145deg, #9c4035, #742920 55%, #591d18);
  box-shadow:
    inset 0 4px 3px rgba(255, 255, 255, 0.13),
    inset 14px 0 22px rgba(255, 255, 255, 0.035),
    inset -15px -9px 26px rgba(0, 0, 0, 0.24),
    0 0 0 2px #26100e;
}

.skin-rotary .phone-top {
  min-height: 29px;
}

.skin-rotary .phone-brand {
  top: -34px;
  right: 50%;
  bottom: auto;
  transform: translateX(50%);
  color: #d79c7f;
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.skin-rotary .phone-brand span {
  color: #e4b89d;
}

.skin-rotary .screen-bezel {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 13px;
  border-color: #3d1915;
  border-radius: 17px;
  background: linear-gradient(#52201a, #351512);
  box-shadow: inset 0 5px 11px rgba(0, 0, 0, 0.5), 0 2px 0 rgba(255, 255, 255, 0.08);
}

.skin-rotary .lcd {
  height: 252px;
  border-radius: 4px;
  background:
    linear-gradient(rgba(45, 50, 34, 0.04) 50%, transparent 50%) 0 0 / 100% 4px,
    radial-gradient(circle at 23% 18%, #ddd9a7, #bdbb82 58%, #a3a26d);
}

.skin-rotary .duration-value {
  font-size: 54px;
}

.skin-rotary .countdown {
  font-size: 33px;
}

.skin-rotary .essential-grid {
  gap: 5px;
}

.skin-rotary .essential-grid button {
  min-height: 54px;
}

.skin-rotary .rotary-hardware {
  margin-top: 18px;
  display: block;
}

.rotary-dial {
  position: relative;
  width: 224px;
  height: 224px;
  margin: 0 auto;
  border: 7px solid #471813;
  border-radius: 50%;
  background: radial-gradient(circle, #d7cfaa 0 25%, #3e1713 26% 35%, #cfc8a7 36% 100%);
  box-shadow:
    inset 0 5px 12px rgba(255, 255, 255, 0.2),
    inset 0 -8px 12px rgba(0, 0, 0, 0.22),
    0 7px 0 #431712,
    0 11px 14px rgba(0, 0, 0, 0.29);
}

.dial-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 460ms cubic-bezier(0.3, 0.9, 0.45, 1.15);
}

.dial-ring.is-dialing {
  transform: rotate(var(--dial-turn, 84deg));
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.35, 1);
}

.dial-ring button {
  --angle: calc(var(--slot) * 30deg - 135deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px;
  transform: rotate(var(--angle)) translateY(-83px) rotate(calc(var(--angle) * -1));
  border: 3px solid #52201a;
  border-radius: 50%;
  color: #4a1b16;
  background: #eee8c9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.4);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.dial-center {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 4px solid #54201a;
  border-radius: 50%;
  color: #582018;
  background: #eee8c9;
  font-family: Georgia, serif;
}

.dial-center strong {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.dial-center small {
  margin-top: 3px;
  font-size: 6px;
  letter-spacing: 0.17em;
}

.finger-stop {
  position: absolute;
  z-index: 3;
  right: 9px;
  bottom: 30px;
  width: 16px;
  height: 54px;
  transform: rotate(42deg);
  border: 2px solid #30100e;
  border-radius: 8px;
  background: linear-gradient(90deg, #853429, #4e1a15);
}

.rotary-end {
  width: 224px;
  min-height: 39px;
  margin: 17px auto 0;
  display: block;
  border: 2px solid #35110e;
  border-radius: 7px;
  color: #e2c1a8;
  background: #4d1813;
  box-shadow: 0 4px 0 #32100d, 0 7px 8px rgba(0, 0, 0, 0.22);
  font-family: Georgia, serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.rotary-end:active,
.rotary-end.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #32100d;
}

/* Skin 04: a cream cordless handset left beside the family computer in 1996. */
.skin-cordless {
  width: min(100%, 314px);
}

.skin-cordless .antenna {
  top: -72px;
  right: 30px;
  width: 25px;
  height: 118px;
  padding: 8px 6px;
  border-color: #383832;
  border-radius: 11px 11px 4px 4px;
  background: linear-gradient(90deg, #575951, #aaa99a 52%, #55574f);
}

.skin-cordless .antenna span {
  height: 4px;
  background: #484a43;
}

.skin-cordless .phone {
  padding: 18px 19px 28px;
  border-color: #73746b;
  border-radius: 46px 46px 64px 64px;
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.42), transparent 18% 82%, rgba(0, 0, 0, 0.12)),
    linear-gradient(155deg, #dedccf, #aaa99d 56%, #8e8e83);
  box-shadow:
    inset 0 3px 2px rgba(255, 255, 255, 0.65),
    inset -9px -7px 16px rgba(0, 0, 0, 0.13),
    0 0 0 1px #4b4d46;
}

.skin-cordless .phone-top {
  min-height: 88px;
}

.skin-cordless .speaker {
  top: 1px;
  width: 118px;
  height: 44px;
  padding: 8px 12px;
  border-color: #85867d;
  background: #a9a99d;
  box-shadow: inset 0 4px 7px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.5);
}

.skin-cordless .speaker i {
  height: 3px;
  background: #62645c;
}

.skin-cordless .phone-brand {
  right: 50%;
  bottom: 11px;
  transform: translateX(50%);
  color: #62645d;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.skin-cordless .phone-brand span {
  color: #77796f;
}

.skin-cordless .screen-bezel {
  padding: 11px;
  border-color: #77786e;
  border-radius: 10px;
  background: #8f9085;
  box-shadow: inset 0 4px 9px rgba(0, 0, 0, 0.34), 0 2px 0 rgba(255, 255, 255, 0.46);
}

.skin-cordless .lcd {
  height: 266px;
  border-color: #55594b;
  border-radius: 4px;
  background:
    linear-gradient(rgba(65, 59, 31, 0.05) 50%, transparent 50%) 0 0 / 100% 4px,
    radial-gradient(circle at 25% 18%, #d5cf8b, #b6ae63 62%, #908a48);
}

.skin-cordless .lcd-screen {
  padding-inline: 11px;
}

.skin-cordless .duration-value {
  font-size: 54px;
}

.skin-cordless .countdown {
  font-size: 30px;
}

.skin-cordless .essential-grid {
  gap: 5px;
}

.skin-cordless .essential-grid button {
  min-height: 54px;
}

.skin-cordless .soft-keys {
  height: 87px;
  margin: 13px 0 8px;
  grid-template-columns: 55px 1fr 55px;
  gap: 3px;
}

.skin-cordless .soft-key {
  width: 51px;
  height: 37px;
  border-color: #686a61;
  border-radius: 8px 8px 13px 13px;
  background: linear-gradient(#cbc9bc, #98988e);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.45), 0 3px 0 #717269, 0 5px 6px rgba(0, 0, 0, 0.2);
}

.skin-cordless .d-pad {
  width: 100px;
  height: 87px;
}

.skin-cordless .d-pad::before {
  background: #999a90;
  box-shadow: 0 3px 0 #707168, 0 5px 7px rgba(0, 0, 0, 0.24);
}

.skin-cordless .d-pad button {
  width: 33px;
  height: 31px;
  color: #55574f;
}

.skin-cordless .keypad {
  gap: 8px 10px;
}

.skin-cordless .keypad button {
  min-height: 43px;
  padding: 4px 5px;
  border-color: #76776e;
  border-radius: 7px 7px 11px 11px;
  color: #464841;
  background: linear-gradient(#d3d1c4, #a1a197);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.53), 0 3px 0 #74756c, 0 5px 6px rgba(0, 0, 0, 0.18);
}

.skin-cordless .keypad strong {
  font-size: 18px;
}

.skin-cordless .keypad small {
  margin-top: 1px;
  color: #74766e;
  font-size: 6px;
}

.skin-cordless .phone-bottom {
  width: 106px;
  margin-top: 19px;
}

.skin-cordless .phone-bottom span {
  width: 27px;
  height: 5px;
  background: #6f7168;
}

.skin-cordless .side-button {
  background: #96968c;
  border-color: #686a61;
}

@media (max-width: 480px) {
  .skin-picker {
    margin-top: 23px;
  }

  .skin-choice {
    min-height: 59px;
    padding: 7px 8px;
    grid-template-columns: 30px 1fr;
    gap: 7px;
  }

  .skin-choice strong {
    font-size: 9px;
  }

  .skin-choice small {
    font-size: 6px;
  }

  .skin-rotary {
    margin-top: 76px;
  }

  .skin-rotary .phone {
    padding-inline: clamp(25px, 9vw, 40px);
  }

  .skin-rotary .rotary-handset {
    left: 0;
    width: 100%;
    grid-template-columns: 82px 1fr 82px;
  }

  .skin-rotary .lcd {
    height: 246px;
  }
}

/* Family keeps the same neutral site and swaps the single olive accent for orange. */
body[data-site-mode="family"] .app-options,
body[data-site-mode="family"] .app-option + .app-option,
body[data-site-mode="family"] .evidence-cards,
body[data-site-mode="family"] .evidence-cards article,
body[data-site-mode="family"] .manifesto-lines,
body[data-site-mode="family"] .manifesto-lines p,
body[data-site-mode="family"] .family-beta-note,
body[data-site-mode="family"] .family-differences,
body[data-site-mode="family"] .family-differences div {
  border-color: rgba(229, 138, 98, 0.34);
}

body[data-site-mode="family"] .testflight {
  border-color: rgba(229, 138, 98, 0.52);
  background:
    radial-gradient(circle at 84% 18%, rgba(229, 138, 98, 0.1), transparent 25rem),
    #20251e;
}

body[data-site-mode="family"] .beta-phone {
  border-color: #9b5c42;
  color: #2a1710;
  background: linear-gradient(145deg, #efb095, #c86f4d);
}

body[data-site-mode="family"] .toast {
  border-color: #9b5c42;
}

body[data-site-mode="family"] .site-footer a {
  text-decoration-color: rgba(229, 138, 98, 0.58);
}
