@font-face {
  font-family: 'Landing Thai';
  src: url('assets/fonts/noto-sans-thai.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Landing Icons';
  src: url('assets/fonts/Ionicons.ttf') format('truetype');
  font-display: block;
}
.homepage {
  font-family: 'Landing Thai', 'Segoe UI', sans-serif;
  overflow-x: clip;
}
.homepage .icon {
  font-family: 'Landing Icons';
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  display: inline-block;
}
.homepage .wrap,
.homepage .header-inner,
.homepage .site-footer {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.homepage h1,
.homepage h2,
.homepage h3 {
  color: var(--teal);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.homepage h1 {
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.22;
  margin: 0 0 22px;
}
.homepage h1 span {
  display: block;
}
.homepage .coral {
  color: #c45140;
}
.homepage h2 {
  font-size: clamp(28px, 2.7vw, 39px);
  line-height: 1.35;
  margin-bottom: 16px;
}
.homepage h3 {
  font-size: 22px;
  line-height: 1.4;
}
.homepage p {
  line-height: 1.75;
}
.homepage .eyebrow {
  color: #ad4b3c;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 500;
}
.homepage .wordmark {
  color: #b44f3e;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.homepage .wordmark-mark {
  width: 36px;
  height: 36px;
}
.homepage .header-inner {
  min-height: 84px;
  gap: 20px;
}
.homepage .header-actions {
  gap: 18px;
}
.homepage .header-actions nav {
  gap: 22px;
}
.homepage .header-actions nav a {
  font-size: 14px;
  font-weight: 500;
}
.homepage .locale-switch {
  flex-shrink: 0;
}
.homepage .button {
  background: var(--coral);
  color: #38231e;
  box-shadow: none;
  gap: 12px;
  font-weight: 600;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
}
.homepage .button:hover {
  background: var(--peach);
  box-shadow: 0 6px 20px #3131310d;
  transform: translateY(-2px);
}
.homepage .button-small {
  padding: 10px 20px;
  white-space: nowrap;
}
.homepage .outline {
  border-color: #b45442;
  background: var(--white);
  color: #9c4435;
}
.homepage .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.homepage section[id] {
  scroll-margin-top: 108px;
}
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  align-items: center;
  min-height: 700px;
  gap: 8px;
  padding-block: 44px 30px;
}
.homepage .hero-copy {
  position: relative;
  z-index: 2;
}
.homepage .hero-lede {
  font-size: 18px;
  max-width: 490px;
  margin-bottom: 26px;
}
.homepage .hero-note {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  max-width: 400px;
  margin-top: 24px;
  text-align: left;
}
.hero-note .icon {
  font-size: 24px;
  color: #b45442;
}
.hero-stage {
  position: relative;
  min-width: 0;
  height: 610px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.hero-pets {
  position: absolute;
  width: 117%;
  max-width: none;
  height: auto;
  bottom: 0;
  left: -8%;
  z-index: 1;
}
.phone {
  width: 100%;
  min-width: 0;
  height: 490px;
  border: 5px solid #313131;
  border-radius: 30px;
  background: var(--cream);
  box-shadow:
    0 5px 0 #31313130,
    0 14px 28px #31313112;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--charcoal);
  text-align: left;
}
.hero-phone {
  width: 290px;
  height: 580px;
  z-index: 2;
  margin-top: 4px;
  flex-shrink: 0;
}
.sample-screen {
  padding: 14px 13px 8px;
  flex: 1;
  overflow: hidden;
  position: relative;
  font-size: 11px;
  line-height: 1.6;
}
.sample-screen h4 {
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 2px;
  color: var(--charcoal);
}
.sample-screen h5 {
  font-size: 12px;
  margin: 10px 0 6px;
}
.sample-screen small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}
.sample-screen .sample-brand {
  color: #b44f3e;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sample-pets {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-block: 13px;
  font-size: 9px;
  white-space: nowrap;
}
.sample-pets > span {
  display: flex;
  gap: 3px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 6px;
  background: white;
}
.sample-pets .chosen {
  background: var(--peach);
  border-color: var(--coral);
}
.sample-pets img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
}
.sample-pet-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: var(--peach);
}
.sample-pet-card > img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
}
.sample-pet-card strong {
  font-size: 19px;
}
.sample-screen .sample-link {
  color: #ad4b3c;
  padding-top: 3px;
}
.sample-task {
  display: grid;
  grid-template-columns: 28px 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 6px;
  margin-bottom: 6px;
  font-size: 10px;
}
.sample-task time {
  color: var(--teal);
  font-size: 9px;
}
.sample-task > .icon {
  color: #ad4b3c;
  font-size: 17px;
}
.sample-task em {
  grid-column: auto;
  justify-self: start;
}
.sample-screen em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  padding: 1px 6px;
  font-style: normal;
  border-radius: 20px;
}
.done {
  color: #2c6551;
  background: #e7f1ea;
}
.upcoming {
  color: var(--teal);
  background: var(--peach);
}
.sample-nav {
  display: flex;
  justify-content: space-around;
  background: white;
  padding: 10px 3px 12px;
  border-top: 1px solid var(--border);
}
.sample-nav > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  font-size: 7px;
  color: var(--muted);
}
.sample-nav .icon {
  font-size: 18px;
}
.sample-nav .active {
  color: var(--teal);
  font-weight: 700;
  background: #e7f1ea;
  border-radius: 8px;
}
.sample-nav > span {
  flex: 1;
  padding-block: 4px;
}
.sample-task > .icon {
  color: var(--teal);
}
.sample-task em .icon {
  display: none;
}
.sample-care {
  background: white;
  padding: 8px;
  border-radius: 10px;
}
.sample-care > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.sample-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-block: 15px;
}
.sample-event {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 5px;
  margin-top: 17px;
}
.sample-event > time {
  font-size: 9px;
  color: #b44f3e;
}
.sample-event b {
  display: block;
}
.sample-event img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 10px;
}
.sample-health-card {
  padding: 15px 12px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 15px;
}
.sample-health-card > .icon {
  color: var(--teal);
  font-size: 24px;
  margin-bottom: 8px;
}
.sample-health-card strong {
  display: block;
  font-size: 29px;
}
.sample-health-card strong small {
  display: inline;
  font-size: 14px;
}
.sample-record {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 10px;
}
.sample-total {
  background: var(--peach);
  padding: 15px;
  border-radius: 14px;
}
.sample-total strong {
  display: block;
  font-size: 26px;
  margin-block: 6px;
}
.sample-expense {
  display: flex;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.sample-expense .icon {
  color: #b44f3e;
  font-size: 20px;
}
.sample-watermark {
  margin-top: 12px;
  text-align: center;
}
.floating-card {
  position: absolute;
  z-index: 3;
  right: -6px;
  top: 150px;
  background: white;
  border-radius: 22px;
  box-shadow: 0 10px 25px #3131310a;
  padding: 18px;
  width: 156px;
  color: var(--teal);
}
.floating-card > .icon {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
}
.floating-card b {
  display: block;
  font-size: 15px;
}
.floating-card small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
.floating-note {
  position: absolute;
  right: -2px;
  top: 24px;
  max-width: 140px;
  color: #b44f3e;
  transform: rotate(-7deg);
  font-size: 17px;
  text-align: center;
}
.pain-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.9fr;
  gap: 20px;
  align-items: center;
  padding: 36px;
  background: #fceee7;
  border-radius: 32px;
  position: relative;
}
.pain-panel h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}
.chat-messages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chat-messages p {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 13px;
  margin: 0;
}
.chat-messages .icon {
  color: #b44f3e;
  font-size: 23px;
}
.chat-question {
  padding: 12px 16px;
  background: var(--peach);
  border-radius: 20px;
  font-size: 14px;
  margin: 14px 0 0;
  width: fit-content;
}
.resting-dog {
  width: 150%;
  height: auto;
  margin-left: -25%;
  align-self: end;
}
.answer-card {
  padding: 26px;
  background: #fffaf6;
  border-radius: 26px;
  z-index: 1;
}
.answer-card p {
  margin: 0;
  font-size: 16px;
  color: var(--teal);
}
.answer-card .brand-label {
  font-weight: 800;
  color: #b44f3e;
  font-size: 26px;
  line-height: 1.2;
}
.answer-card h2 {
  margin-bottom: 12px;
}
.landing-features {
  padding-block: 80px 56px;
}
.homepage .section-intro {
  max-width: 850px;
}
.homepage .sample-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}
.showcase-grid article {
  min-width: 0;
}
.showcase-grid article > p {
  font-size: 15px;
  color: var(--muted);
}
.feature-symbol {
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 28px;
  color: #a64738;
  background: var(--peach);
  padding: 9px;
  border-radius: 12px;
}
.how-panel {
  border-top: 1px solid var(--border);
  padding-block: 36px 60px;
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 40px;
}
.how-panel h2 {
  font-size: 29px;
}
.how-panel ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
  padding-left: 22px;
}
.how-panel li {
  padding-left: 4px;
}
.how-panel li::marker {
  color: #b44f3e;
  font-weight: 700;
}
.how-panel b {
  color: var(--teal);
}
.how-panel p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.safety-band {
  background: #edf6f3;
  padding-block: 50px;
}
.trust-pet {
  float: right;
  width: 150px;
  height: auto;
  margin-top: -15px;
}
.safety-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.safety-grid article {
  background: #ffffffcc;
  border-radius: 24px;
  padding: 26px;
}
.safety-grid .icon {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 16px;
}
.safety-grid h3 {
  font-size: 21px;
}
.safety-grid p {
  font-size: 15px;
  color: #516762;
  margin-bottom: 0;
}
.vet-note {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 38px;
}
.vet-note > .icon {
  font-size: 32px;
  color: var(--teal);
}
.vet-note h3 {
  font-size: 20px;
}
.vet-note p {
  font-size: 14px;
  color: var(--muted);
  max-width: 860px;
  margin: 0;
}
.vet-note a {
  white-space: nowrap;
}
.final-band {
  background: #fceee7;
}
.final-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  padding-block: 35px;
}
.final-inner > img {
  width: 100%;
  height: auto;
}
.final-inner p {
  color: var(--muted);
  max-width: 570px;
}
.homepage .site-footer {
  flex-wrap: wrap;
  padding-block: 32px;
  align-items: center;
  border: 0;
}
.homepage .footer-links {
  gap: 14px;
}
.homepage .footer-links a {
  font-size: 12px;
  font-weight: 500;
}
@media (min-width: 1100px) {
  .hero-phone .sample-task {
    grid-template-columns: 30px 20px 1fr auto;
  }
  .hero-phone .sample-task em {
    grid-column: auto;
  }
}
@media (max-width: 1100px) {
  .homepage .header-actions nav {
    gap: 12px;
  }
  .homepage .header-actions {
    gap: 10px;
  }
  .homepage .wordmark {
    font-size: 19px;
  }
  .homepage .header-inner {
    gap: 12px;
  }
  .homepage .button-small {
    padding-inline: 14px;
  }
  .floating-card {
    right: -16px;
    width: 125px;
    padding: 12px;
  }
  .hero-phone {
    width: 244px;
    height: 550px;
  }
  .hero-stage {
    height: 590px;
  }
  .showcase-grid {
    gap: 18px;
  }
  .phone {
    height: 470px;
  }
  .hero-phone {
    height: 550px;
  }
  .sample-pet-card > img {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 1000px) {
  .homepage .menu-button {
    display: block;
    flex-shrink: 0;
  }
  .homepage .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 20px 28px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
  }
  .homepage .header-actions.is-open {
    display: grid;
    gap: 14px;
  }
  .homepage .header-actions nav {
    display: grid;
    gap: 4px;
  }
  .homepage .header-actions nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .homepage .header-actions .button,
  .homepage .locale-switch {
    width: fit-content;
  }
  .homepage .menu-button .icon {
    font-size: 25px;
  }
  .floating-card,
  .floating-note {
    display: none;
  }
  .landing-hero {
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
  }
  .homepage h1 {
    font-size: 43px;
  }
  .pain-panel {
    grid-template-columns: 1.1fr 0.8fr;
  }
  .resting-dog {
    display: none;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
  .showcase-grid .phone {
    max-width: 280px;
    height: 510px;
    margin-inline: auto;
  }
  .how-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .safety-grid {
    gap: 14px;
  }
  .safety-grid article {
    padding: 20px;
  }
}
@media (max-width: 650px) {
  .homepage .wrap,
  .homepage .header-inner,
  .homepage .site-footer {
    width: calc(100% - 40px);
  }
  .homepage .header-inner {
    min-height: 74px;
  }
  .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
    gap: 20px;
  }
  .homepage h1 {
    font-size: clamp(37px, 9vw, 48px);
  }
  .homepage .hero-lede {
    font-size: 16px;
  }
  .homepage .eyebrow {
    font-size: 14px;
  }
  .homepage .hero-note {
    font-size: 13px;
  }
  .homepage .cta-row {
    gap: 10px;
  }
  .homepage .cta-row .button {
    padding-inline: 18px;
    font-size: 14px;
  }
  .hero-stage {
    height: 545px;
  }
  .hero-phone {
    width: 250px;
    height: 515px;
  }
  .hero-pets {
    width: 125%;
    left: -12%;
    bottom: -2px;
  }
  .pain-panel {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .resting-dog {
    display: block;
    width: 65%;
    margin: -20px auto -28px;
  }
  .answer-card {
    padding: 22px;
  }
  .landing-features {
    padding-block: 54px 30px;
  }
  .showcase-grid {
    gap: 32px 18px;
  }
  .showcase-grid article > h3 {
    font-size: 20px;
  }
  .showcase-grid article > p {
    font-size: 14px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-grid article {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 330px;
    margin-inline: auto;
    width: 100%;
  }
  .showcase-grid .phone {
    max-width: 280px;
    height: 510px;
  }
  .showcase-grid article > .feature-symbol {
    justify-self: start;
  }
  .how-panel ol {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .how-panel p {
    margin-bottom: 0;
  }
  .safety-grid {
    grid-template-columns: 1fr;
  }
  .safety-band {
    padding-block: 36px;
  }
  .vet-note {
    flex-wrap: wrap;
    gap: 14px;
  }
  .vet-note > div {
    flex: 1;
    min-width: 240px;
  }
  .final-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 14px 38px;
  }
  .final-inner img {
    max-width: 360px;
    margin-inline: auto;
  }
  .homepage .site-footer {
    gap: 22px;
  }
  .homepage .footer-links {
    justify-content: flex-start;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .homepage .button {
    transition: none;
  }
  .homepage .button:hover {
    transform: none;
  }
}

/* Keep the entire illustrative screen visible, including its sample-data label. */
.homepage .phone {
  height: 610px;
}
.homepage .hero-stage {
  height: 640px;
}
@media (min-width: 1100px) {
  .homepage .hero-phone {
    height: 580px;
  }
  .homepage .hero-stage {
    height: 610px;
  }
}
@media (min-width: 651px) and (max-width: 1000px) {
  .homepage .hero-pets {
    width: 110%;
    left: -5%;
  }
}
@media (max-width: 650px) {
  .homepage .hero-pets {
    width: 103%;
    left: -1.5%;
  }
  .trust-pet {
    width: 95px;
    margin: 0 0 10px 12px;
  }
}

/* Enlarge only the header lockup; preserve the supplied mark geometry. */
.homepage .site-header .wordmark {
  font-size: 25px;
}
.homepage .site-header .wordmark-mark {
  width: 40px;
  height: 40px;
}
@media (max-width: 1100px) {
  .homepage .site-header .wordmark {
    font-size: 21.5px;
  }
}
