/* TaskGauge product styles · Build 18 hero revision 2 */
:root {
  --control-paper: #f4f1e9;
  --control-paper-deep: #eae5da;
  --control-ink: #241d1a;
  --control-brown: #60483e;
  --control-teal: #61a5a2;
  --control-teal-dark: #2e6e6d;
  --control-lavender: #7d73a8;
  --control-peach: #ffb58b;
  --control-peach-ink: #9b4e2d;
  --control-line: rgba(36, 29, 26, 0.16);
  --control-night: #211b19;
  --control-radius: 10px;
}

.control-page {
  background: var(--control-paper);
  color: var(--control-ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
}

.control-page main {
  overflow: hidden;
}

.control-page h1,
.control-page h2,
.control-page h3 {
  color: var(--control-ink);
}

.control-header {
  border-bottom-color: var(--control-line);
  background: rgba(244, 241, 233, 0.88);
}

.control-header .brand-lockup img {
  border-radius: 24%;
}

.control-header .site-nav a:hover,
.control-header .site-nav a:focus-visible {
  color: var(--control-teal-dark);
}

.control-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: 64px;
  min-height: 820px;
  padding: 88px max(42px, calc((100vw - 1240px) / 2)) 96px;
  border-bottom: 1px solid var(--control-line);
  isolation: isolate;
}

.control-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(36, 29, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 29, 26, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.control-hero::after {
  content: "";
  position: absolute;
  right: -10vw;
  top: 5%;
  z-index: -1;
  width: min(68vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(97, 165, 162, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(97, 165, 162, 0.18),
    0 0 0 110px rgba(125, 115, 168, 0.045),
    0 0 0 230px rgba(255, 181, 139, 0.035);
}

.control-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--control-teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.control-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 7.4vw, 106px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.control-hero h1 em {
  color: var(--control-teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 30px;
  color: rgba(36, 29, 26, 0.72);
  font-size: 20px;
  line-height: 1.68;
}

.control-page .hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.control-button {
  border: 1px solid var(--control-night);
  background: var(--control-night);
  color: white;
}

.control-button:hover,
.control-button:focus-visible {
  background: var(--control-teal-dark);
  border-color: var(--control-teal-dark);
}

.control-page .button-secondary {
  border-color: var(--control-line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--control-ink);
}

.availability {
  margin: 20px 0 0;
  color: rgba(36, 29, 26, 0.5);
  font-size: 13px;
  font-weight: 600;
}

.control-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(36, 29, 26, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 6px solid var(--control-paper);
  border-radius: 50%;
  background: var(--control-peach);
}

.orbit-one {
  width: 600px;
  height: 600px;
  transform: rotate(-12deg);
}

.orbit-one::after {
  right: 47px;
  top: 89px;
}

.orbit-two {
  width: 455px;
  height: 455px;
  border-color: rgba(125, 115, 168, 0.25);
  transform: rotate(28deg);
}

.orbit-two::after {
  left: 22px;
  bottom: 110px;
  background: var(--control-lavender);
}

.phone-shell {
  position: relative;
  z-index: 3;
  width: 340px;
  min-height: 660px;
  border: 7px solid #27211f;
  border-radius: 50px;
  padding: 16px 17px 20px;
  background: #f8f6f0;
  box-shadow: 0 34px 75px rgba(69, 48, 40, 0.24), 0 4px 0 rgba(255, 255, 255, 0.7) inset;
  transform: rotate(2deg);
}

.phone-shell::after {
  content: "";
  position: absolute;
  inset: -14px -13px;
  z-index: -1;
  border: 1px solid rgba(36, 29, 26, 0.2);
  border-radius: 57px;
}

.real-product-shell {
  width: 374px;
  height: 610px;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #352925;
  transform: rotate(1.4deg);
}

.hero-dashboard-image {
  display: block;
  width: 100%;
  height: auto;
}

.real-widget-canvas figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 10px 6px;
  background: rgba(33, 27, 25, 0.76);
  color: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 750;
}

.phone-bar b {
  width: 83px;
  height: 23px;
  border-radius: 20px;
  background: #27211f;
}

.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 3px 23px;
}

.phone-head small,
.phone-head strong {
  display: block;
}

.phone-head small {
  margin-bottom: 4px;
  color: var(--control-teal-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.phone-head strong {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.sync-pulse {
  position: relative;
  width: 35px;
  height: 35px;
  border: 1px solid rgba(97, 165, 162, 0.35);
  border-radius: 50%;
}

.sync-pulse::before,
.sync-pulse::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--control-teal);
}

.sync-pulse::after {
  inset: 4px;
  border: 1px solid var(--control-teal);
  background: transparent;
  animation: pulse-ring 2.6s ease-out infinite;
}

.account-card {
  margin-bottom: 13px;
  border: 1px solid rgba(36, 29, 26, 0.13);
  border-radius: 18px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(70, 54, 45, 0.075);
}

.account-top {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
}

.account-top strong,
.account-top small {
  display: block;
}

.account-top strong {
  font-size: 13px;
}

.account-top small,
.task-row small {
  margin-top: 2px;
  color: rgba(36, 29, 26, 0.5);
  font-size: 9px;
}

.account-top > b {
  color: var(--control-teal-dark);
  font-size: 13px;
}

.provider-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
}

.codex-dot {
  background: var(--control-teal);
  box-shadow: 0 0 0 4px rgba(97, 165, 162, 0.13);
}

.claude-dot {
  background: var(--control-peach);
  box-shadow: 0 0 0 4px rgba(255, 181, 139, 0.17);
}

.quota-track {
  height: 5px;
  margin: 12px 0 13px 19px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(97, 165, 162, 0.14);
}

.quota-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--control-teal);
}

.quota-lavender {
  background: rgba(125, 115, 168, 0.14);
}

.quota-lavender i {
  background: var(--control-lavender);
}

.task-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  margin-left: 5px;
  border-top: 1px solid rgba(36, 29, 26, 0.08);
  padding-top: 12px;
}

.task-row strong,
.task-row small {
  display: block;
}

.task-row strong {
  font-size: 11px;
}

.state-bars {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 17px;
}

.state-bars i {
  width: 4px;
  border-radius: 3px;
  background: var(--control-teal);
  animation: working-bars 1.1s ease-in-out infinite alternate;
}

.state-bars i:nth-child(1) { height: 7px; }
.state-bars i:nth-child(2) { height: 16px; animation-delay: -0.55s; }
.state-bars i:nth-child(3) { height: 11px; animation-delay: -0.25s; }

.approval-mark {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--control-peach);
  color: var(--control-brown);
  font-size: 11px;
  font-weight: 850;
}

.phone-footer {
  display: flex;
  justify-content: space-between;
  margin: 22px 5px 0;
  color: rgba(36, 29, 26, 0.44);
  font-size: 8px;
  font-weight: 700;
}

.source-chip {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: 34px 1fr 8px;
  gap: 10px;
  align-items: center;
  min-width: 196px;
  border: 1px solid rgba(36, 29, 26, 0.14);
  border-radius: var(--control-radius);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(70, 54, 45, 0.13);
  backdrop-filter: blur(16px);
}

.source-chip-codex {
  left: 0;
  top: 132px;
}

.source-chip-claude {
  right: -12px;
  bottom: 138px;
}

.source-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--control-teal);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.source-chip-claude .source-mark {
  background: var(--control-peach);
  color: var(--control-brown);
}

.source-chip strong,
.source-chip small {
  display: block;
}

.source-chip strong {
  font-size: 12px;
}

.source-chip small {
  margin-top: 2px;
  color: rgba(36, 29, 26, 0.52);
  font-size: 9px;
}

.source-chip > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--control-teal);
  box-shadow: 0 0 0 5px rgba(97, 165, 162, 0.12);
}

.trust-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1240px;
  margin: -32px auto 0;
  border: 1px solid var(--control-line);
  border-radius: var(--control-radius);
  background: rgba(250, 248, 242, 0.95);
  box-shadow: 0 18px 44px rgba(70, 54, 45, 0.09);
}

.trust-rail article {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 90px;
  padding: 20px 24px;
}

.trust-rail article + article {
  border-left: 1px solid var(--control-line);
}

.trust-rail span,
.node-number {
  color: var(--control-peach-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 15px;
}

.trust-rail strong {
  font-size: 14px;
  line-height: 1.35;
}

.system-section,
.film-section,
.capabilities-section,
.privacy-section,
.download-section,
.setup-section {
  padding: 118px max(42px, calc((100vw - 1240px) / 2));
}

.film-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(97, 165, 162, 0.12), transparent 30%),
    radial-gradient(circle at 90% 92%, rgba(255, 181, 139, 0.12), transparent 28%),
    var(--control-paper);
}

.film-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: end;
  gap: 72px;
  margin-bottom: 44px;
}

.film-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 740;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.film-heading > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: rgba(36, 29, 26, 0.65);
  font-size: 18px;
  line-height: 1.72;
}

.film-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(36, 29, 26, 0.2);
  border-radius: 30px;
  background: #ece8df;
  box-shadow: 0 36px 90px rgba(69, 48, 40, 0.19);
}

.film-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #faf8f2;
}

.film-meta {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.film-meta span {
  border: 1px solid rgba(36, 29, 26, 0.13);
  border-radius: 999px;
  padding: 8px 11px 7px;
  background: rgba(250, 248, 242, 0.85);
  color: rgba(36, 29, 26, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.download-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 80px;
  align-items: center;
  background: var(--control-night);
  color: white;
}

.download-intro h2,
.download-card h3 {
  color: white;
}

.download-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 76px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.download-intro > p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 17px;
  line-height: 1.72;
}

.download-support-link {
  margin-top: 18px;
  padding-left: 0;
  color: var(--control-teal);
}

.download-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 181, 139, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.download-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.release-badge {
  border: 1px solid rgba(97, 165, 162, 0.48);
  border-radius: 999px;
  padding: 6px 9px;
  color: #9fd0cd;
}

.download-product {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.download-product img {
  border-radius: 22%;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.24);
}

.download-product h3 {
  margin: 0 0 5px;
  font-size: 22px;
}

.download-product p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.download-button {
  display: flex;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--control-teal);
  background: var(--control-teal);
  color: #132321;
}

.download-button:hover,
.download-button:focus-visible {
  border-color: #8bc4c1;
  background: #8bc4c1;
}

.release-details {
  margin: 24px 0 0;
}

.release-details > div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 0;
  font-size: 12px;
}

.release-details dt {
  color: rgba(255, 255, 255, 0.38);
}

.release-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.checksum-row code {
  display: block;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  line-height: 1.55;
}

.beta-warning {
  margin: 14px 0 0;
  border-left: 2px solid var(--control-peach);
  padding: 3px 0 3px 13px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.55;
}

.setup-steps a {
  color: var(--control-teal-dark);
}

.section-intro {
  max-width: 800px;
  margin-bottom: 60px;
}

.section-intro h2,
.privacy-title-wrap h2,
.widget-copy h2,
.control-cta h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 740;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.section-intro > p:last-child,
.widget-copy > p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(36, 29, 26, 0.65);
  font-size: 18px;
  line-height: 1.72;
}

.mesh-diagram {
  display: grid;
  grid-template-columns: 1fr 110px 1fr 110px 1fr;
  align-items: stretch;
  border-top: 1px solid var(--control-line);
  border-bottom: 1px solid var(--control-line);
}

.mesh-node {
  position: relative;
  min-height: 365px;
  padding: 28px;
}

.mesh-node + .mesh-link,
.mesh-link + .mesh-node {
  border-left: 1px solid var(--control-line);
}

.mesh-node > strong {
  display: block;
  margin: 26px 0 8px;
  font-size: 23px;
}

.mesh-node > p {
  margin-bottom: 0;
  color: rgba(36, 29, 26, 0.68);
  font-size: 14px;
  line-height: 1.62;
}

.node-number {
  display: block;
  margin-bottom: 26px;
}

.mesh-link {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 365px;
}

.mesh-link span {
  position: relative;
  z-index: 2;
  border: 1px solid var(--control-line);
  border-radius: 20px;
  padding: 6px 9px;
  background: var(--control-paper);
  color: rgba(36, 29, 26, 0.7);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mesh-link i {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--control-line);
}

.mesh-link i::after {
  content: "";
  position: absolute;
  right: 8px;
  top: -4px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--control-ink);
  border-right: 1px solid var(--control-ink);
  transform: rotate(45deg);
}

.mac-illustration,
.mini-phone,
.relay-illustration {
  height: 102px;
}

.mac-illustration {
  position: relative;
  width: 132px;
  border: 3px solid var(--control-ink);
  border-radius: 8px;
  background: rgba(97, 165, 162, 0.15);
}

.mac-illustration::after {
  content: "";
  position: absolute;
  left: 48px;
  bottom: -24px;
  width: 30px;
  height: 20px;
  border-bottom: 3px solid var(--control-ink);
  border-left: 3px solid var(--control-ink);
  border-right: 3px solid var(--control-ink);
}

.mac-illustration i {
  position: absolute;
  inset: 12px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, var(--control-teal) 58%, transparent 58%) 0 0 / 100% 8px no-repeat,
    linear-gradient(90deg, var(--control-lavender) 35%, transparent 35%) 0 22px / 100% 8px no-repeat,
    linear-gradient(90deg, var(--control-peach) 72%, transparent 72%) 0 44px / 100% 8px no-repeat;
}

.relay-illustration {
  display: grid;
  place-content: center;
  grid-template-columns: repeat(3, 32px);
  gap: 8px;
}

.relay-illustration i {
  width: 32px;
  height: 82px;
  border: 2px solid var(--control-ink);
  border-radius: 16px;
  background: repeating-linear-gradient(180deg, transparent 0 13px, var(--control-line) 13px 14px);
}

.relay-illustration i:nth-child(2) {
  margin-top: -14px;
  background-color: rgba(125, 115, 168, 0.15);
}

.mini-phone {
  position: relative;
  width: 56px;
  border: 3px solid var(--control-ink);
  border-radius: 13px;
  background: white;
}

.mini-phone::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 5px;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: var(--control-ink);
}

.mini-phone i {
  position: absolute;
  inset: 19px 8px 10px;
  background:
    linear-gradient(var(--control-teal), var(--control-teal)) 0 0 / 100% 8px no-repeat,
    linear-gradient(var(--control-lavender), var(--control-lavender)) 0 19px / 72% 8px no-repeat,
    linear-gradient(var(--control-peach), var(--control-peach)) 0 38px / 88% 8px no-repeat;
}

.capabilities-section {
  background: #faf8f2;
  border-top: 1px solid var(--control-line);
  border-bottom: 1px solid var(--control-line);
}

.compact-intro {
  margin-bottom: 48px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--control-line);
  border-left: 1px solid var(--control-line);
}

.capability-grid article {
  min-height: 300px;
  border-right: 1px solid var(--control-line);
  border-bottom: 1px solid var(--control-line);
  padding: 34px;
}

.capability-grid h3 {
  max-width: 460px;
  margin: 54px 0 16px;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.capability-grid p {
  max-width: 510px;
  color: rgba(36, 29, 26, 0.68);
  font-size: 15px;
  line-height: 1.68;
}

.capability-feature {
  background: var(--control-paper);
}

.capability-index {
  color: var(--control-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.meter-pair {
  display: grid;
  gap: 13px;
  max-width: 480px;
  margin-top: 30px;
}

.meter-pair > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 16px;
}

.meter-pair span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.meter-pair b {
  font-size: 12px;
}

.meter-pair small {
  color: rgba(36, 29, 26, 0.68);
  font-size: 9px;
}

.meter-pair > div > i {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(36, 29, 26, 0.07);
}

.meter-pair em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--control-teal);
}

.meter-pair > div:last-child em {
  background: var(--control-lavender);
}

.widget-story {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
  gap: 74px;
  align-items: center;
  padding: 124px max(42px, calc((100vw - 1240px) / 2));
  background: var(--control-night);
  color: white;
}

.light-eyebrow {
  color: var(--control-teal);
}

.widget-copy h2 {
  color: white;
}

.widget-copy > p {
  color: rgba(255, 255, 255, 0.65);
}

.widget-copy ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.widget-copy li {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding: 14px 0 14px 23px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 14px;
}

.widget-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--control-peach);
}

.widget-canvas {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 42px;
  padding: 28px;
  background:
    radial-gradient(circle at 90% 15%, rgba(125, 115, 168, 0.24), transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(97, 165, 162, 0.16), transparent 38%),
    #2c2421;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.27), inset 0 1px rgba(255, 255, 255, 0.08);
}

.real-widget-canvas {
  aspect-ratio: 647 / 760;
  min-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #322824;
}

.real-widget-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.widget-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding-bottom: 20px;
}

.widget-topline > span {
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 11px;
  color: white;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.widget-topline img {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 24%;
}

.widget-topline small {
  color: var(--control-teal);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.widget-topline button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.widget-topline button:hover,
.widget-topline button:focus-visible {
  background: rgba(97, 165, 162, 0.25);
}

.widget-topline button.is-refreshing {
  animation: refresh-spin 700ms ease;
}

.widget-body {
  display: grid;
  grid-template-columns: 0.72fr 1.45fr;
  gap: 26px;
  padding-top: 24px;
}

.widget-quota {
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  padding-right: 26px;
}

.widget-quota > small,
.widget-tasks > small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.widget-quota > strong {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 15px 0 29px;
  color: white;
  font-size: 17px;
}

.widget-quota .provider-dot {
  margin: 0;
}

.widget-quota > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.widget-quota > div b {
  color: white;
  font-size: 12px;
}

.widget-quota > em {
  display: block;
  height: 5px;
  margin: 6px 0 18px;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
}

.widget-quota > em i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--control-teal);
}

.widget-quota > em:nth-of-type(2) i {
  background: var(--control-lavender);
}

.reset-copy {
  display: block;
  margin-top: 4px;
  letter-spacing: 0 !important;
  text-transform: none;
}

.widget-tasks > small {
  display: flex;
  justify-content: space-between;
}

.widget-tasks > small b {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: -7px;
  border-radius: 50%;
  background: rgba(97, 165, 162, 0.16);
  color: var(--control-teal);
  font-size: 10px;
}

.widget-tasks > div {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 17px 0;
}

.widget-tasks span strong,
.widget-tasks span small {
  display: block;
}

.widget-tasks span strong {
  overflow: hidden;
  color: white;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.widget-tasks span small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 9px;
}

.widget-tasks > div > b {
  color: var(--control-teal);
  font-size: 11px;
}

.task-state {
  height: 41px;
  border-radius: 5px;
}

.working-state { background: var(--control-teal); }
.waiting-state { background: var(--control-peach); }
.done-state { background: #91b6a5; }

.refresh-note {
  position: absolute;
  right: 29px;
  bottom: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 8px;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  align-items: start;
}

.privacy-title-wrap {
  position: sticky;
  top: 120px;
}

.privacy-title-wrap .text-link {
  padding-left: 0;
  color: var(--control-teal-dark);
}

.boundary-board {
  border: 1px solid var(--control-line);
}

.boundary-board article {
  padding: 36px;
}

.boundary-board article + article {
  border-top: 1px solid var(--control-line);
}

.boundary-board article > span {
  display: block;
  margin-bottom: 22px;
  color: var(--control-teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.boundary-no {
  background: rgba(255, 181, 139, 0.11);
}

.boundary-no > span {
  color: var(--control-brown) !important;
}

.boundary-board ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-board li {
  position: relative;
  border-top: 1px solid rgba(36, 29, 26, 0.09);
  padding: 14px 0 14px 29px;
  font-size: 15px;
}

.boundary-board li::before {
  content: "+";
  position: absolute;
  left: 2px;
  color: var(--control-teal-dark);
  font-size: 18px;
  line-height: 1;
}

.boundary-no li::before {
  content: "—";
  color: var(--control-brown);
}

.setup-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  background: #faf8f2;
  border-top: 1px solid var(--control-line);
}

.setup-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  border-top: 1px solid var(--control-line);
  padding: 24px 0;
}

.setup-steps li:last-child {
  border-bottom: 1px solid var(--control-line);
}

.setup-steps > li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--control-line);
  border-radius: 50%;
  color: var(--control-teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.setup-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.setup-steps p {
  margin: 0;
  color: rgba(36, 29, 26, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.control-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 112px 24px 120px;
  text-align: center;
}

.control-cta img {
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
  border-radius: 24%;
  box-shadow: 0 18px 38px rgba(70, 54, 45, 0.15);
}

.control-cta > p {
  margin-bottom: 16px;
  color: var(--control-teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.control-cta > span {
  margin-bottom: 30px;
  color: rgba(36, 29, 26, 0.68);
  font-size: 14px;
}

.control-questions {
  padding: 118px max(42px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--control-line);
  background: var(--control-paper-deep);
}

.control-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--control-line);
  border-left: 1px solid var(--control-line);
}

.control-question-grid article {
  min-width: 0;
  min-height: 230px;
  border-right: 1px solid var(--control-line);
  border-bottom: 1px solid var(--control-line);
  padding: 32px;
  background: rgba(250, 248, 242, 0.5);
}

.control-question-grid h3 {
  margin-bottom: 14px;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.control-question-grid p {
  margin-bottom: 0;
  color: rgba(36, 29, 26, 0.7);
  font-size: 15px;
  line-height: 1.68;
}

.control-product-links a:hover,
.control-product-links a:focus-visible {
  color: white;
}

.control-footer {
  background: var(--control-night);
}

.control-footer p,
.control-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.policy-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 112px 42px 120px;
}

.policy-main > header {
  margin-bottom: 66px;
  border-bottom: 1px solid var(--control-line);
  padding-bottom: 42px;
}

.policy-main > header h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 740;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.policy-main > header > p:last-child {
  color: rgba(36, 29, 26, 0.5);
  font-size: 14px;
}

.policy-copy {
  max-width: 760px;
}

.policy-copy h2 {
  margin: 48px 0 14px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.policy-copy p,
.policy-copy li {
  color: rgba(36, 29, 26, 0.69);
  font-size: 16px;
  line-height: 1.75;
}

.policy-copy code {
  border: 1px solid var(--control-line);
  border-radius: 4px;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.86em;
}

@keyframes pulse-ring {
  from { opacity: 0.8; transform: scale(0.5); }
  to { opacity: 0; transform: scale(1.6); }
}

@keyframes working-bars {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

@keyframes refresh-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1120px) {
  .control-hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
  }

  .source-chip-codex { left: -20px; }
  .source-chip-claude { right: -15px; }

  .trust-rail {
    width: calc(100% - 84px);
  }

  .mesh-diagram {
    grid-template-columns: 1fr 62px 1fr 62px 1fr;
  }

  .mesh-node {
    padding: 24px 18px;
  }

  .widget-story {
    grid-template-columns: 1fr;
  }

  .widget-copy {
    max-width: 780px;
  }

  .widget-canvas {
    width: min(100%, 760px);
  }
}

@media (max-width: 860px) {
  .control-hero {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .control-hero::before {
    mask-image: linear-gradient(#000, transparent 70%);
  }

  .control-stage {
    min-height: 690px;
  }

  .trust-rail {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .trust-rail article + article {
    border-top: 1px solid var(--control-line);
    border-left: 0;
  }

  .mesh-diagram {
    grid-template-columns: 1fr;
  }

  .mesh-node,
  .mesh-link {
    min-height: 0;
  }

  .mesh-node {
    padding: 34px;
  }

  .mesh-link {
    height: 70px;
    border-top: 1px solid var(--control-line);
    border-left: 0 !important;
  }

  .mesh-link + .mesh-node {
    border-top: 1px solid var(--control-line);
    border-left: 0;
  }

  .mesh-link i {
    left: 50%;
    right: auto;
    top: 0;
    width: 1px;
    height: 70px;
  }

  .mesh-link i::after {
    right: -3px;
    top: auto;
    bottom: 8px;
    transform: rotate(135deg);
  }

  .capability-grid,
  .film-heading,
  .privacy-section,
  .download-section,
  .setup-section,
  .control-question-grid {
    grid-template-columns: 1fr;
  }

  .privacy-title-wrap {
    position: static;
  }

  .setup-section {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .control-header .brand-lockup span {
    font-size: 16px;
  }

  .control-header .site-nav {
    gap: 12px;
  }

  .control-header .site-nav a {
    font-size: 13px;
  }

  .control-header .site-nav a:nth-child(n + 4) {
    display: none;
  }

  .control-hero,
  .film-section,
  .system-section,
  .capabilities-section,
  .privacy-section,
  .download-section,
  .setup-section,
  .control-questions,
  .widget-story {
    padding-left: 20px;
    padding-right: 20px;
  }

  .control-hero h1 {
    font-size: clamp(49px, 16vw, 72px);
  }

  .film-heading {
    gap: 26px;
  }

  .film-frame {
    border-radius: 20px;
  }

  .film-meta {
    display: none;
  }

  .control-stage {
    min-height: 570px;
    transform: scale(0.86);
    margin: -36px -40px;
  }

  .orbit-one { width: 520px; height: 520px; }
  .orbit-two { width: 410px; height: 410px; }
  .phone-shell { width: 320px; min-height: 620px; }
  .real-product-shell {
    width: 350px;
    height: 580px;
  }
  .source-chip { min-width: 178px; }
  .source-chip-codex { left: -2px; }
  .source-chip-claude { right: -2px; }

  .trust-rail {
    width: calc(100% - 40px);
  }

  .section-intro h2,
  .privacy-title-wrap h2,
  .widget-copy h2,
  .control-cta h2 {
    font-size: 42px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid article {
    min-height: 260px;
    padding: 27px;
  }

  .control-question-grid article {
    min-height: 0;
    padding: 27px;
  }

  .widget-canvas {
    min-height: 0;
    border-radius: 28px;
    padding: 22px;
  }

  .real-widget-canvas {
    padding: 0;
  }

  .widget-body {
    grid-template-columns: 1fr;
  }

  .widget-quota {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    padding: 0 0 20px;
  }

  .widget-quota > strong {
    margin-bottom: 18px;
  }

  .privacy-section {
    gap: 30px;
  }

  .download-section {
    gap: 38px;
  }

  .download-card {
    padding: 24px 20px;
  }

  .download-card-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .boundary-board article {
    padding: 26px 22px;
  }

  .policy-main {
    padding: 72px 20px 90px;
  }
}

@media (max-width: 480px) {
  .control-stage {
    transform: scale(0.7);
    margin: -95px -110px;
  }

  .source-chip { display: none; }
  .mesh-node { padding: 28px 22px; }
  .meter-pair > div { grid-template-columns: 104px 1fr; }
  .widget-story { gap: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .sync-pulse::after,
  .state-bars i,
  .widget-topline button.is-refreshing {
    animation: none;
  }
}
