@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --white: #fffefb;
  --ink: #142332;
  --muted: #4e605d;
  --green: #264f41;
  --green-hover: #173b30;
  --sage: #e6eee3;
  --line: #d2dbd1;
  --display: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.58; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: .99; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2.8rem, 5.1vw, 5.1rem); }
h3 { font-size: 1.27rem; line-height: 1.22; letter-spacing: -.02em; }
:focus-visible { outline: 2px solid #7552cf; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - clamp(36px, 8vw, 128px))); margin-inline: auto; }
.section { padding-block: clamp(65px, 8.4vw, 126px); }
section[id] { scroll-margin-top: 25px; }

.skip { position: absolute; left: 12px; top: -8rem; z-index: 2; padding: .7rem 1rem; background: var(--white); color: var(--ink); }
.skip:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.6rem; align-items: center; min-height: 84px; }
.logo { display: inline-flex; align-items: center; justify-self: start; }
.logo img { object-fit: contain; }
nav { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); align-items: center; font-size: .9rem; font-weight: 600; }
nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.login-link { justify-self: end; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 51px; padding: .72rem 1.12rem; border: 1px solid transparent; border-radius: 8px; background: var(--green); color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.22; }
.button:hover { background: var(--green-hover); }
.button span, .text-link span { font-size: 1rem; }
.button-outline { border-color: var(--green); background: transparent; color: var(--green); }
.button-outline:hover { background: var(--sage); }
.button-small { min-height: 43px; padding-inline: .9rem; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: .32em; text-decoration-color: #8fa69a; }
.text-link:hover { text-decoration-color: currentColor; }

.hero { display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: clamp(28px, 5.1vw, 78px); padding-block: clamp(50px, 6.2vw, 91px) 56px; }
.hero h1 { margin-block: 14px 21px; font-size: clamp(3.8rem, 7.2vw, 7.45rem); line-height: .88; text-wrap: initial; }
.hero h1 em { display: block; font-weight: 400; color: var(--green); }
.eyebrow { font-size: .76rem; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; }
.hero-description { max-width: 43ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-top: 30px; }
.hero-media { position: relative; width: 100%; min-width: 0; min-height: 370px; border-radius: 13px; background: #dfe6d7; aspect-ratio: 1.26; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; object-position: 59% center; }
.hero-appointment { position: absolute; right: clamp(12px, 2.4vw, 35px); left: clamp(12px, 2.4vw, 35px); bottom: clamp(12px, 2.4vw, 35px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.75); border-radius: 10px; background: #fffefb; }
.appointment-date { display: inline-flex; align-items: center; gap: 2px; padding: 7px 8px; border-radius: 6px; background: var(--sage); color: var(--green); font-size: 1.13rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.appointment-date span { font-size: .75rem; }
.appointment-label { display: grid; gap: 1px; line-height: 1.35; }
.appointment-label strong { font-size: .95rem; }
.appointment-label span { color: var(--muted); font-size: .79rem; }
.appointment-status { padding: .3rem .52rem; border-radius: 5px; color: var(--green); background: var(--sage); font-size: .76rem; font-weight: 700; }

.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.feature-strip li { padding: 17px 20px; text-align: center; color: var(--green); font-size: .88rem; font-weight: 700; }
.feature-strip li + li { border-left: 1px solid var(--line); }
.split-heading { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(20px, 5vw, 68px); align-items: end; }
.split-heading p, .closing p { max-width: 49ch; color: var(--muted); font-size: 1.05rem; }
.workflow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.9vw, 40px); list-style: none; margin: 42px 0 0; padding: 0; }
.workflow-list li { border-top: 1px solid var(--line); padding-block: 20px 0; }
.workflow-list p { margin-top: .65rem; color: var(--muted); }
.step-number { display: block; margin-bottom: 14px; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--green); }

.demo-section { background: var(--green-hover); color: var(--white); }
.demo-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(25px, 7vw, 110px); align-items: start; padding-block: clamp(54px, 7.7vw, 110px); }
.demo-intro h2 { max-width: 12ch; }
.demo-intro > p { max-width: 43ch; margin-top: 18px; color: #e0eadf; }
.demo-intro .demo-note { color: #c7dacf; font-size: .85rem; }
.scenario-controls { display: grid; margin-top: 22px; border-top: 1px solid #7e998a; }
.scenario { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: .73rem .68rem; border: 0; border-bottom: 1px solid #7e998a; background: transparent; color: var(--white); text-align: left; cursor: pointer; }
.scenario:hover, .scenario[aria-pressed="true"] { background: #3a6254; }
.scenario:focus-visible { outline-color: #d6c6fb; }
.chat { align-self: stretch; display: flex; flex-direction: column; color: var(--ink); background: var(--white); border-radius: 12px; overflow: hidden; }
.chat-header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-header strong, .chat-header div span { display: block; }
.chat-header strong { font-size: .94rem; }
.chat-header div span { color: var(--muted); font-size: .78rem; }
.chat-reset { min-height: 43px; padding-inline: 8px; border: 0; background: none; color: var(--green); cursor: pointer; font-size: .8rem; text-decoration: underline; text-underline-offset: .2em; }
.chat-log { height: 238px; overflow: auto; padding: 17px; background: #eff1e9; scrollbar-color: #9aab9f transparent; }
.message { width: fit-content; max-width: min(89%, 43ch); margin: 0 0 11px; padding: 10px 12px; border: 1px solid #d6e0d4; border-radius: 10px; font-size: .9rem; line-height: 1.48; }
.message:focus { outline: 2px solid #7552cf; outline-offset: -2px; }
.visitor { margin-left: auto; background: #dce9da; border-bottom-right-radius: 2px; }
.assistant { background: var(--white); border-bottom-left-radius: 2px; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 17px; }
.chat-choices button { min-height: 43px; padding: 5px 10px; border: 1px solid #759386; border-radius: 6px; color: var(--green); background: var(--white); cursor: pointer; font-size: .8rem; font-weight: 700; }
.chat-choices button:hover { background: var(--sage); }
.chat-noscript { padding: 10px 15px; font-size: .83rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 37px; }
.plan { display: flex; flex-direction: column; align-items: start; padding: clamp(22px, 4vw, 46px); border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.plan-2 { background: var(--sage); }
.plan h3 { font-size: 1.45rem; }
.plan-price { margin-block: 13px 6px; font-family: var(--display); font-size: clamp(3.15rem, 5.2vw, 5.2rem); line-height: .95; letter-spacing: -.035em; }
.plan-price span { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.plan-description { color: var(--muted); }
.plan ul { display: grid; gap: 11px; margin: 18px 0 22px; padding: 17px 0 0 20px; width: 100%; border-top: 1px solid var(--line); }
.plan li::marker { color: var(--green); }
.plan .button { margin-top: auto; }
.pricing-note { margin-top: 17px; color: var(--muted); font-size: .85rem; }

.faq-section { background: #eef1e9; }
.faq-layout { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(26px, 5.2vw, 80px); }
.faq-layout details { border-top: 1px solid #bccbbf; }
.faq-layout details:last-child { border-bottom: 1px solid #bccbbf; }
.faq-layout summary { cursor: pointer; font-weight: 700; padding-block: 16px; }
.faq-layout summary::marker { color: var(--green); }
.faq-layout details p { max-width: 62ch; padding: 0 13px 17px 0; color: var(--muted); }
.closing { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; }
.closing div { flex: 1 1 25rem; }
.closing p { margin-top: 17px; }
.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-block: 28px; }
.footer-inner p { font-size: .83rem; color: #d6dedf; margin-top: 4px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; font-size: .88rem; }

@media (max-width: 950px) {
  .hero { grid-template-columns: .96fr 1.04fr; gap: 24px; }
  .hero h1 { font-size: clamp(3.1rem, 7.6vw, 5.3rem); }
  .hero-media { min-height: 340px; }
  .hero-appointment { padding: 12px; gap: 8px; }
  .appointment-date { display: none; }
  .hero-appointment { grid-template-columns: 1fr auto; }
}

@media (max-width: 700px) {
  .header-inner { display: flex; justify-content: space-between; gap: 6px 15px; min-height: 0; flex-wrap: wrap; padding-block: 12px 0; }
  .header-inner .logo img { width: 112px; height: 32px; }
  .login-link { min-height: 42px; font-size: .8rem; }
  .header-inner nav { order: 1; width: 100%; gap: 14px 22px; padding-block: 8px 10px; border-top: 1px solid var(--line); }
  .header-inner nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .hero, .split-heading, .demo-layout, .faq-layout { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 28px; }
  .hero h1 { max-width: 11ch; font-size: clamp(3.15rem, 11vw, 5.1rem); margin-block: 12px 15px; }
  .hero-actions { margin-top: 22px; }
  .hero-media { aspect-ratio: 1.4; min-height: 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip li { padding-block: 8px; text-align: left; }
  .feature-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-list { grid-template-columns: 1fr; gap: 18px; margin-top: 29px; }
  .workflow-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 6px 10px; align-items: start; padding-top: 12px; }
  .workflow-list h3 { align-self: center; }
  .workflow-list p { grid-column: 2; margin-top: 0; }
  .step-number { margin: 0; }
  .demo-intro h2 { max-width: 100%; }
  .chat-header { padding-inline: 12px; gap: 8px; }
  .chat-header img { width: 36px; height: 36px; }
  .chat-reset { font-size: .74rem; }
  .pricing-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .closing div { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
