:root {
  color-scheme: light;
  --paper: #faf6ee;
  --white: #fffdf9;
  --cream: #f6eddf;
  --ink: #191714;
  --muted: #554c43;
  --line: #cdbca8;
  --pink: #fad9d3;
  --peach: #fcebe2;
  --edge: clamp(20px, 4.5vw, 72px);
  --content: 1400px;
  --radius: 22px;
  font: 16px/1.55 "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ac4700; outline-offset: 4px; }
.shell { width: min(var(--content), calc(100% - 2 * var(--edge))); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 2; background: var(--white); padding: 10px 16px; transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: clamp(78px, 7.5vw, 110px); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: clamp(32px, 3.8vw, 53px); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.brand img { width: 1em; height: 1em; }
.site-nav, .footer-nav { display: flex; align-items: center; gap: clamp(16px, 3.5vw, 60px); font-weight: 700; }
.site-nav > a:not(.button), .footer-nav a { text-decoration: none; }
.site-nav > a:hover:not(.button), .site-nav [aria-current="page"], .footer-nav a:hover { text-decoration: underline; }
.site-nav > a { font-size: clamp(15px, 1.62vw, 24px); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  min-height: 46px;
  padding: .65em 1.35em;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: var(--white);
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: #40352b; border-color: #40352b; }
.button.outline { background: transparent; color: var(--ink); border-color: #806d5d; }
.button.outline:hover { background: #f0e4d4; }
.button svg { width: .9em; height: .9em; flex: none; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

h1, h2, h3 { font-weight: 850; letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(34px, 4.45vw, 70px); }
h3 { font-size: clamp(23px, 2.3vw, 35px); letter-spacing: -.035em; }
.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; min-height: clamp(560px, 57vw, 850px); gap: clamp(12px, 2vw, 32px); padding-block: clamp(50px, 6vw, 92px); }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(48px, 7.5vw, 113px); line-height: .98; }
.hero h1 span { display: block; }
.hero-copy p { max-width: 33ch; margin-top: clamp(19px, 2.6vw, 39px); font-size: clamp(18px, 2.3vw, 34px); line-height: 1.26; letter-spacing: -.028em; }
.hero .actions { margin-top: clamp(24px, 3vw, 46px); }
.hero .button { font-size: clamp(15px, 1.8vw, 27px); padding: .7em 1.55em; }
.hero-art { position: relative; justify-self: center; width: 121%; max-width: 820px; margin-block: -46px; }
.hero-art img { width: 100%; aspect-ratio: 1; }

.demo { padding-block: clamp(52px, 6vw, 90px); background: var(--white); }
.demo h2, .features h2 { text-align: center; margin-bottom: clamp(28px, 3.5vw, 54px); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: stretch; gap: clamp(22px, 2.8vw, 42px); }
.topics { display: grid; border: 1px solid var(--line); border-radius: var(--radius); }
.topic { display: flex; gap: 18px; align-items: center; text-align: left; min-height: 75px; padding: 18px clamp(16px, 2.2vw, 34px); background: transparent; border: 0; font-size: clamp(18px, 1.85vw, 29px); line-height: 1.2; font-weight: 750; cursor: pointer; }
.topic:first-child { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.topic:last-child { border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px); }
.topic + .topic { border-top: 1px solid var(--line); }
.topic:hover, .topic[aria-pressed="true"] { background: var(--cream); }
.topic span { flex: 1; }
.topic::before { content: ""; flex: none; width: 1.05em; aspect-ratio: 1; border: 1px solid #b5785a; border-radius: 50%; }
.topic[aria-pressed="true"]::before { background: #ed8680; }
.topic svg { flex: none; width: 1em; height: 1em; }
.conversation { min-height: 252px; padding: clamp(20px, 2.5vw, 39px); background: var(--peach); border: 1px solid #e2ad98; border-radius: var(--radius); }
.conversation h3 { font-size: clamp(22px, 2.35vw, 34px); }
.messages { display: grid; gap: 13px; margin-top: 19px; }
.message { max-width: 92%; padding: .64em .9em; border-radius: 19px; font-size: clamp(16px, 1.56vw, 24px); line-height: 1.35; letter-spacing: -.012em; }
.message.you { justify-self: end; background: var(--paper); border: 1px solid #debea6; border-bottom-right-radius: 4px; }
.message.ella { justify-self: start; background: #facbc6; border-bottom-left-radius: 4px; }

.features { padding-block: clamp(48px, 5.8vw, 85px); background: var(--cream); }
.feature-grid, .plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2vw, 30px); }
.feature, .plan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.feature { overflow: hidden; }
.feature img { width: 100%; aspect-ratio: 1.68; object-fit: cover; object-position: center 85%; }
.feature:nth-child(3) img { object-position: center 55%; }
.feature h3 { display: grid; place-items: center; min-height: 80px; padding: 15px 12px; border-top: 1px solid var(--line); text-align: center; }

.faq-band { border-block: 1px solid var(--line); background: var(--cream); }
.faq-band .shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 25px; }
.faq-band h2 { font-size: clamp(25px, 3.2vw, 46px); }
.download { background: var(--pink); padding-block: clamp(52px, 7vw, 106px); text-align: center; }
.download-heading { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 14px); }
.download h2 { font-size: clamp(44px, 7.5vw, 113px); }
.download img { width: clamp(64px, 14vw, 202px); aspect-ratio: 1; margin-block: -22px; }
.download p { margin-top: 21px; font-size: clamp(18px, 2.35vw, 34px); line-height: 1.3; }
.download .actions { justify-content: center; margin-top: 29px; }
.download .button { min-width: clamp(120px, 16vw, 230px); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 26px; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; row-gap: 8px; }
.footer-credit > a:not(.brand) { font-weight: 650; }
.footer-nav { flex-wrap: wrap; gap: 12px clamp(13px, 2vw, 34px); }

.page-main { padding-block: clamp(46px, 6vw, 90px); }
.page-intro { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 18px; margin-bottom: clamp(30px, 4vw, 58px); }
.page-intro h1 { font-size: clamp(46px, 6.6vw, 99px); }
.page-intro p { max-width: 40ch; margin-top: 14px; font-size: clamp(18px, 2.1vw, 29px); line-height: 1.3; }
.page-intro img { justify-self: center; width: min(100%, 270px); margin-block: -32px; }
.page-intro--pricing { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.page-intro--pricing img { justify-self: end; width: min(100%, 520px); margin-block: -26px; }
.plan { display: flex; flex-direction: column; padding: clamp(20px, 2.7vw, 40px); }
.plan:nth-child(2) { background: var(--cream); }
.plan p { margin-top: 12px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; }
.plan ul { padding-inline-start: 20px; }
.plan li + li { margin-top: 6px; }
.plan .button { align-self: start; margin-top: auto; }
.note { max-width: 72ch; margin-top: 23px; color: var(--muted); }
.text-body { max-width: 790px; }
.text-body h2 { margin-top: 34px; font-size: clamp(26px, 3vw, 42px); }
.text-body p { margin-top: 12px; font-size: 17px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 17px; cursor: pointer; list-style: none; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: none; width: 22px; height: 22px; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { margin: 0 0 19px; max-width: 65ch; }

@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; row-gap: 8px; padding-block: 13px; }
  .site-nav { gap: clamp(9px, 2.5vw, 20px); }
  .site-nav > a { font-size: clamp(13px, 2.6vw, 16px); }
  .site-nav .button { min-height: 40px; padding-inline: .95em; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 45px 12px; min-height: 0; gap: 0; }
  .hero h1 { font-size: clamp(43px, 10vw, 76px); }
  .hero-copy p { max-width: 34ch; }
  .hero-art { width: min(105%, 460px); margin-block: -12px 0; }
  .demo-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature-grid { gap: 11px; }
  .feature h3 { font-size: clamp(16px, 3vw, 25px); min-height: 66px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 18px; }
}

@media (max-width: 420px) {
  .header-inner { column-gap: 6px; }
  .brand { font-size: 28px; gap: 4px; }
  .site-nav { gap: 8px; }
  .site-nav > a { font-size: 12px; }
  .site-nav .button { min-height: 36px; padding-inline: .65em; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature h3 { font-size: 24px; min-height: 62px; }
  .faq-band .shell { flex-wrap: wrap; }
  .download-heading { gap: 0; }
  .download h2 { font-size: 40px; }
  .page-intro { grid-template-columns: 1fr; }
  .page-intro img { display: none; }
}

@media (max-width: 650px) {
  .page-intro--pricing { grid-template-columns: 1fr; gap: 12px; }
  .page-intro--pricing img {
    display: block;
    justify-self: center;
    width: min(100%, 330px);
    margin-block: 0;
  }
}
