/* The marketing page has its own composition; demo controls keep their existing layout. */
body[data-view="site"] {
  font-family:
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
body[data-view="site"] .site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  border: 0;
  backdrop-filter: none;
}
body[data-view="site"] .header-inner {
  max-width: 1264px;
  padding: 23px 44px 12px;
}
body[data-view="site"] .brand {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
}
body[data-view="site"] .brand img {
  display: block;
}
body[data-view="site"] .language-picker button {
  min-width: 44px;
  min-height: 48px;
}
#marketing .section-wrap {
  max-width: 1264px;
}
#marketing .button {
  border-radius: 6px;
  font-weight: 650;
  min-height: 48px;
}
.landing-hero {
  display: block;
  position: relative;
  isolation: isolate;
  min-height: 645px;
  padding-top: 150px;
  padding-bottom: 65px;
  overflow: clip;
}
.landing-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  margin: auto;
  text-align: center;
}
.landing-hero h1 {
  font-size: clamp(78px, 7.8vw, 108px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -5px;
  margin: 0 0 25px;
  max-width: none;
}
.landing-lead {
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 25px;
  color: var(--ink);
}
.landing-hero .hero-cta {
  min-height: 56px;
  padding: 14px 25px;
  font-size: 17px;
  gap: 25px;
}
.landing-hero .hero-cta .icon {
  margin: 0;
}
.landing-copy > .micro {
  margin: 12px 0 0;
  font-size: 12px;
  color: #52665a;
}
.landing-still-life {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.everyday-object {
  display: block;
  position: absolute;
  width: 280px;
  height: 280px;
  background-image: url("/images/everyday-objects-v1.webp");
  background-size: 200% 200%;
  background-repeat: no-repeat;
}
.object-books {
  left: -15px;
  top: -8px;
  background-position: 0 0;
}
.object-swim {
  right: -12px;
  top: -2px;
  background-position: 100% 0;
}
.object-groceries {
  left: -25px;
  bottom: 4px;
  width: 310px;
  height: 310px;
  background-position: 0 100%;
}
.object-keys {
  right: 0;
  bottom: 20px;
  width: 225px;
  height: 225px;
  background-position: 100% 100%;
}
.hero-example {
  width: min(100%, 300px);
  margin: 24px auto 0;
  text-align: left;
  pointer-events: auto;
}
.hero-example > .micro {
  display: block;
  padding-top: 5px;
  font-size: 11px;
}
.book-connector {
  position: absolute;
  left: -37px;
  top: 15px;
  transform: rotate(-15deg);
}
.mini-task {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
a.mini-task {
  border: 1px solid #7a9788;
  border-radius: 6px;
  padding: 13px 15px;
  background: var(--white);
  min-height: 72px;
}
a.mini-task:hover {
  background: #f0f3eb;
}
.mini-task > span:last-child {
  min-width: 0;
}
.mini-task strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.mini-task small {
  display: block;
  font-size: 12px;
  margin-top: 3px;
  color: #52665a;
}
.mini-task .icon {
  width: 26px;
  height: 26px;
}
.landing-how {
  position: relative;
  padding-top: 36px;
  padding-bottom: 24px;
}
.landing-how::before,
.landing-examples::before,
.landing-participate::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 44px;
  right: 44px;
  height: 1px;
  background: #a5b7a9;
}
.landing-how h2 {
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 650;
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: -1.6px;
}
.landing-flow {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 65px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.landing-flow li {
  position: relative;
  min-width: 0;
}
.landing-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  left: calc(100% + 19px);
  top: 87px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}
.landing-flow h3 {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 48px;
  font-size: 17px;
  margin: 0 0 13px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.flow-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  font-size: 15px;
  font-weight: 600;
}
.flow-message {
  background: #ecece8;
  border-radius: 10px 10px 10px 0;
  margin: 0;
  padding: 19px 21px;
  font-size: 16px;
  line-height: 1.55;
}
.flow-task {
  border: 1px solid #91a59a;
  border-radius: 6px;
  background: var(--white);
  padding: 15px;
}
.flow-counter {
  display: block;
  font-size: 11px;
  color: #52665a;
  text-align: right;
  margin: 6px 0 10px;
}
.flow-task .button {
  font-size: 14px;
  padding: 11px 8px;
}
.flow-owner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 12px;
  background: var(--white);
}
.flow-owner > .avatar {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
}
.flow-owner strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
}
.flow-owner small {
  display: block;
  font-size: 11px;
  color: #52665a;
  margin-top: 5px;
  line-height: 1.5;
}
.unfilled-status {
  width: 17px;
  height: 17px;
  border: 1px solid #698071;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.flow-disclaimer {
  text-align: center;
  margin: 16px 0 0;
}
.landing-examples {
  position: relative;
  padding-top: 23px;
  padding-bottom: 21px;
}
.landing-examples h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin: 0 0 7px;
}
.landing-example-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.landing-example-links a,
.landing-more-examples a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 57px;
  padding: 8px 20px;
  font-size: 15px;
  text-decoration: none;
}
.landing-example-links a:first-child {
  padding-left: 0;
}
.landing-example-links a:not(:last-child) {
  border-right: 1px solid var(--line);
}
.landing-example-links a > .icon:last-child,
.landing-more-examples a > .icon:last-child {
  width: 18px;
  margin-left: auto;
}
.landing-example-links a:hover,
.landing-more-examples a:hover {
  text-decoration: underline;
}
.landing-more-examples {
  font-size: 12px;
  color: #52665a;
}
.landing-more-examples summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.landing-more-examples summary::after {
  content: "+";
  font-size: 18px;
}
.landing-more-examples[open] summary::after {
  content: "−";
}
.landing-more-examples > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 600px;
}
.landing-more-examples a {
  padding-left: 0;
  color: var(--ink);
}
.landing-participate {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-top: 31px;
  padding-bottom: 45px;
}
.landing-participate section {
  min-width: 0;
}
.landing-participate h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
}
.landing-participate .feedback-intro {
  padding: 0;
}
.landing-participate p:not(.micro):not(.form-status) {
  font-size: 14px;
  line-height: 1.6;
  color: #52665a;
  margin: 0 0 20px;
  max-width: none;
}
.landing-participate .local-note {
  font-size: 12px !important;
  margin: 0 0 14px !important;
}
.landing-participate label,
.landing-participate legend {
  font-size: 13px;
  font-weight: 500;
}
.landing-participate fieldset {
  margin-bottom: 15px;
}
.landing-rating {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.landing-rating label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  cursor: pointer;
}
.landing-rating input {
  accent-color: var(--green);
  width: 20px;
  height: 20px;
  margin: 0;
}
.landing-participate textarea,
.landing-participate input[type="email"] {
  border-radius: 6px;
  font-size: 16px;
  background: var(--white);
}
.landing-participate textarea {
  min-height: 90px;
}
.landing-participate .button {
  font-size: 14px;
  gap: 10px;
}
.landing-participate .checkbox {
  margin: 15px 0;
  font-size: 12px;
}
.landing-participate .checkbox input {
  width: 20px;
  height: 20px;
}
.landing-participate .betaOptional {
  font-size: 12px;
}
.landing-participate .feedback-comment .micro {
  font-size: 11px;
  margin: 8px 0 15px;
}
.landing-participate .form-status {
  font-size: 13px;
}
.landing-beta-content > div > .micro {
  margin-bottom: 18px;
}
body[data-view="site"] .site-footer {
  max-width: 1176px;
  padding: 16px 0 25px;
  gap: 28px;
}
body[data-view="site"] .site-footer .brand {
  font-size: 17px;
  margin-right: auto;
}
body[data-view="site"] .site-footer > p {
  display: none;
}
body[data-view="site"] .site-footer > a:not(.brand) {
  margin-left: 0;
  font-size: 12px;
  min-height: 48px;
}
@media (max-width: 1150px) and (min-width: 961px) {
  .landing-hero {
    min-height: 610px;
    padding-top: 135px;
  }
  .landing-hero h1 {
    font-size: 94px;
  }
  .landing-copy {
    width: 580px;
  }
  .landing-lead {
    font-size: 18px;
  }
  .everyday-object {
    width: 235px;
    height: 235px;
  }
  .object-groceries {
    width: 240px;
    height: 240px;
    left: -15px;
    bottom: 15px;
  }
  .object-keys {
    width: 190px;
    height: 190px;
  }
  .landing-flow {
    gap: 42px;
  }
  .landing-flow li:not(:last-child)::after {
    left: calc(100% + 8px);
  }
  .landing-flow h3 {
    font-size: 16px;
    gap: 10px;
  }
  .landing-participate {
    gap: 60px;
  }
}
@media (max-width: 1264px) {
  body[data-view="site"] .site-footer {
    margin-left: 44px;
    margin-right: 44px;
  }
}
@media (max-width: 960px) {
  body[data-view="site"] .header-inner {
    padding: 15px 24px 8px;
  }
  #marketing .section-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .landing-hero {
    min-height: 0;
    padding-top: 21px;
    padding-bottom: 13px;
  }
  .landing-copy {
    width: min(100%, 520px);
  }
  .landing-hero h1 {
    font-size: clamp(55px, 14.8vw, 80px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 18px;
  }
  .landing-lead {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .landing-lead br {
    display: none;
  }
  .landing-hero .hero-cta {
    font-size: 15px;
    min-height: 52px;
    padding: 12px 16px;
    width: 100%;
    max-width: 350px;
    gap: 15px;
  }
  .landing-copy > .micro {
    margin-top: 10px;
    font-size: 11px;
  }
  .landing-still-life {
    position: relative;
    inset: auto;
    width: min(100%, 450px);
    height: 188px;
    margin: 14px auto 0;
  }
  .everyday-object {
    width: 178px;
    height: 178px;
  }
  .object-books {
    left: -18px;
    top: -6px;
  }
  .object-swim {
    right: -20px;
    top: -3px;
  }
  .object-groceries,
  .object-keys {
    display: none;
  }
  .hero-example {
    width: 236px;
    margin-top: 16px;
  }
  .hero-example a.mini-task {
    padding: 10px 12px;
    min-height: 59px;
  }
  .hero-example .mini-task strong {
    font-size: 12px;
  }
  .hero-example .mini-task small {
    font-size: 11px;
  }
  .hero-example > .micro {
    padding-top: 3px;
    font-size: 10px;
  }
  .book-connector {
    left: 28px;
    top: -25px;
    transform: rotate(65deg);
  }
  .landing-how {
    padding-top: 27px;
    padding-bottom: 20px;
  }
  .landing-how::before,
  .landing-examples::before,
  .landing-participate::before {
    left: 24px;
    right: 24px;
  }
  .landing-how h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.9px;
    max-width: 490px;
    margin: 0 auto 24px;
  }
  .landing-flow {
    display: block;
    max-width: 490px;
    margin: auto;
  }
  .landing-flow li {
    margin-bottom: 36px;
  }
  .landing-flow li:last-child {
    margin-bottom: 0;
  }
  .landing-flow li:not(:last-child)::after {
    left: 16px;
    top: calc(100% + 5px);
    font-size: 26px;
    transform: rotate(90deg);
  }
  .landing-flow h3 {
    font-size: 16px;
    min-height: 40px;
    margin-bottom: 10px;
    gap: 12px;
  }
  .flow-number {
    width: 31px;
    height: 31px;
    font-size: 14px;
  }
  .flow-message {
    font-size: 16px;
  }
  .flow-task {
    padding: 14px;
  }
  .flow-owner {
    padding: 14px;
  }
  .landing-example-links {
    grid-template-columns: 1fr 1fr;
  }
  .landing-example-links a {
    padding: 10px 13px;
    font-size: 14px;
    gap: 10px;
  }
  .landing-example-links a:nth-child(2n + 1) {
    padding-left: 0;
  }
  .landing-example-links a:nth-child(2n) {
    border-right: 0;
  }
  .landing-example-links a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .landing-participate {
    gap: 45px;
  }
  .landing-participate h2 {
    font-size: 23px;
  }
  .landing-rating {
    gap: 14px;
  }
  .landing-rating label {
    gap: 7px;
  }
  body[data-view="site"] .site-footer {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 600px) {
  .landing-participate {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .landing-beta {
    padding-top: 29px;
    border-top: 1px solid var(--line);
  }
  .landing-participate h2 {
    font-size: 24px;
  }
  .landing-examples h2 {
    font-size: 17px;
  }
  .landing-example-links {
    grid-template-columns: 1fr;
  }
  .landing-example-links a {
    padding: 9px 0;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .landing-example-links a:last-child {
    border-bottom: 0;
  }
  .landing-more-examples > div {
    display: block;
  }
  .landing-example-links a,
  .landing-more-examples a {
    font-size: 15px;
  }
  .landing-participate p:not(.micro):not(.form-status) {
    font-size: 14px;
  }
  .landing-rating {
    gap: 24px;
  }
  body[data-view="site"] .site-footer {
    gap: 14px;
  }
}
@media (max-width: 360px) {
  .landing-hero h1 {
    font-size: 53px;
    letter-spacing: -2.5px;
  }
  .landing-lead {
    font-size: 16px;
  }
  .landing-hero .hero-cta {
    font-size: 14px;
    gap: 11px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .landing-rating {
    gap: 14px;
  }
}

/* Keep the optional feedback field quiet and the photo colors subordinate to the headline. */
.object-swim {
  filter: saturate(0.7);
}
.landing-participate .feedback-comment {
  border: 0;
  margin-top: 0;
}
.landing-rating [data-icon] {
  display: none;
}

/* A shared soft surface anchors the existing still life. */
.landing-still-life::before {
  content: "";
  position: absolute;
  inset: 20px -30px 10px;
  border-radius: 48%;
  background: radial-gradient(ellipse at 50% 62%, #dcd6c35c, #ebe6d533 52%, transparent 72%);
  z-index: -1;
}
.everyday-object { filter: drop-shadow(0 9px 7px #403c2512); }
.book-connector { display: none; }
.landing-flow li:not(:last-child)::after { content: none; }

/* One feedback form replaces the former feedback/beta columns. */
#feedback.landing-participate {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
}
.tally-feedback { min-width: 0; }
.tally-feedback iframe { display: block; width: 100%; height: 620px; border: 0; }
.tally-feedback iframe[hidden] { display: none; }
#feedback .tally-fallback { margin: 8px 0; }
@media (max-width: 760px) {
  #feedback.landing-participate { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tally-feedback iframe { height: 680px; }
}

.landing-product {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  min-width: 48px;
  min-height: 48px;
}
@media (max-width: 760px) {
  .social-links { flex-basis: 100%; }
}
.landing-preview {
  padding-top: 28px;
  padding-bottom: 28px;
}
.landing-preview h2 { font-size: 24px; margin: 0 0 12px; }
.landing-preview p { max-width: 760px; margin: 12px 0; }
#feedback .tally-fallback a { display: inline-flex; align-items: center; min-height: 48px; }
@media (max-width: 600px) {
  .landing-product { font-size: 15px; }
}

.mini-task-arrow { flex-shrink: 0; margin-left: auto; }
a.mini-task .mini-task-arrow .icon { width: 18px; height: 18px; }

/* Keep small copy readable, including the compact phone layout. */
#marketing .micro,
#marketing .hero-example .mini-task small { font-size: 13px; }
.site-footer, .site-footer p, .site-footer a { color: #4e6254; }
body[data-view="site"] .site-footer > a:not(.brand),
.site-footer p { font-size: 13px; }
.site-demo-link { display: none; }
body[data-view="site"] .site-demo-link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 650; white-space: nowrap;
}
@media (max-width: 760px) {
  body[data-view="site"] .header-inner { padding: 10px 16px; gap: 10px; }
  body[data-view="site"] .brand { font-size: 20px; gap: 6px; }
  body[data-view="site"] .brand img { width: 24px; height: 24px; }
}

.app-availability { margin-top: 24px; }
.app-availability > p { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.store-preview-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.store-preview-badge {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 132px; padding: 8px 16px; border: 1px solid #30463c;
  border-radius: 8px; background: #18251f; color: #fffefb;
  text-align: left; line-height: 1.35;
}
.store-preview-badge small { font-size: 12px; }
.store-preview-badge strong { font-size: 18px; font-weight: 600; }
