:root {
  color-scheme: light;
  --paper: #f8f5ed;
  --ink: #143937;
  --muted: #45605b;
  --petrol: #123d3c;
  --mint: #deeee3;
  --apricot: #ffc9a3;
  --line: #c5d5c9;
  --sans: "Instrument Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Noto Serif", serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box }
body, h1, h2, h3, p, figure { margin: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 20px }
a { color: inherit; text-decoration: none }
button { font: inherit; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent }
:where(a, button):focus-visible { outline: 3px solid #ba573a; outline-offset: 4px }
[hidden] { display: none !important }
.skip { position: absolute; z-index: 20; left: 16px; top: -80px; background: var(--paper); padding: 10px 20px; border-radius: 6px }
.skip:focus { top: 10px }
.wrap { width: min(1200px, calc(100% - 104px)); margin-inline: auto }
.masthead { min-height: 83px; display: flex; align-items: center; gap: 48px; border-bottom: 1px solid var(--line) }
.brand { display: inline-flex; gap: 9px; align-items: center; font-weight: 680; font-size: 24px; letter-spacing: -.075em; white-space: nowrap }
.brand img { display: block; border-radius: 23%; object-fit: contain }
.masthead nav { margin-left: auto; display: flex; gap: 31px; font-size: 14px; font-weight: 540 }
.masthead nav a:is(:hover, :focus-visible), .footer a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .25em }
.nav-open { border: 1px solid #819a90; min-height: 39px; display: inline-flex; align-items: center; gap: 18px; padding: 8px 17px; border-radius: 24px; font-size: 13px; font-weight: 650 }
.nav-open:hover { background: var(--mint) }
.hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(22px, 3.2vw, 60px);
  margin-block: 24px clamp(36px, 5vw, 72px);
  padding: clamp(20px, 3.3vw, 54px);
  overflow: hidden;
  border-radius: 30px;
  color: #fffaf0;
  background: radial-gradient(ellipse at 85% 30%, #417968, transparent 62%), linear-gradient(120deg, #153d3b, #1a4b46 70%, #527161);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 76%; aspect-ratio: 1;
  left: -39%; bottom: -96%;
  border-radius: 50%;
  border: clamp(18px, 3vw, 46px) solid #d5f3d914;
  box-shadow: inset 0 1px 3px #d4e5cf47, 0 -2px 6px #9ecebd33;
  pointer-events: none;
}
.hero em { color: #b6e4cc }
.hero .button { background: #d6f1dc; color: #143b36 }
.hero .button:hover { background: #edf9e9 }
.hero .text-link { border-color: #9cbbab; color: #f1eee0 }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px }
.topics button { padding: .62rem 1rem; min-height: 44px; border: 1px solid #a9beb3; border-radius: 99px; background: transparent; color: var(--ink); font-weight: 600 }
.topics button[aria-pressed=true] { color: white; border-color: var(--petrol); background: var(--petrol) }

.hero-text { padding: clamp(10px, 2vh, 30px) 0 }
.eyebrow { display: flex; gap: 10px; align-items: center; font: 670 11px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .15em; color: var(--muted) }
.short-rule { width: 28px; height: 2px; background: #d78c66 }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.067em; line-height: .96 }
em { font-weight: 400; color: #38716a }
h1 { font-size: clamp(56px, 5.85vw, 91px); line-height: 1.03 }
.hero-intro { max-width: 430px; margin-top: 24px; font-size: clamp(16px, 1.28vw, 19px); line-height: 1.53; color: #dbe8de }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin: 32px 0 0 }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; border-radius: 26px; padding: 12px 23px; font-weight: 650; font-size: 14px; background: var(--petrol); color: white; transition: background .2s }
.button:hover { background: #295951 }
.button span { font-size: 21px; line-height: 1 }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 13px; padding-block: 8px; border-bottom: 1px solid #aebfb2 }
.text-link:hover { border-color: var(--ink) }
.portrait-card { position: relative; overflow: hidden; background: #214841; border-radius: 48% 48% 25px 25px / 18% 18% 25px 25px; box-shadow: 0 18px 35px -21px #071f22, 0 0 0 1px #d8efd04a; min-width: 0 }
.portrait-card::after { content: ""; pointer-events: none; position: absolute; inset: 62% 0 0; background: linear-gradient(transparent, #172b23b0) }
#portrait { display: block; width: 100%; aspect-ratio: .99; height: auto; object-fit: cover; object-position: center 24% }
#portrait.full-length { object-fit: contain; background: #284740 }
.portrait-caption { position: absolute; inset: auto 21px 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; z-index: 1 }
.caption-line { font-size: 12px; font-weight: 590; letter-spacing: .01em; color: white; text-shadow: 0 1px 3px #282018 }
.switch { display: flex; align-items: center; gap: 3px; border: 1px solid #ffffff3b; border-radius: 26px; padding: 3px; backdrop-filter: blur(10px); background: #183330af }
.switch button, .demo-switch button { min-height: 42px; border-radius: 22px; padding: 7px 13px; font-size: 13px; font-weight: 600 }
.switch button { color: #fff; background: transparent }
.switch button[aria-pressed=true] { color: var(--ink); background: #f4f4e9 }
.conversation { padding: clamp(48px, 6vw, 87px) 0; background: var(--mint); border-block: 1px solid #cadccf }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center }
h2 { font-size: clamp(49px, 4.7vw, 76px) }
.section-copy h2, .controls h2 { margin-top: 19px }
.section-copy > p:not(.eyebrow) { max-width: 375px; margin-top: 24px; line-height: 1.6; color: var(--muted); font-size: 17px }
.chat-demo { background: var(--paper); border-radius: 21px; border: 1px solid #bbcec1; box-shadow: 0 20px 36px -29px #355e4780; overflow: hidden }
.chat-head { padding: 15px 19px; display: flex; align-items: center; gap: 12px; background: var(--petrol); color: white }
.chat-head img { border-radius: 50%; object-fit: cover; object-position: center 23%; border: 1px solid #d6c6ab }
.chat-head strong, .chat-head small { display: block }
.chat-head strong { font-size: 16px }
.chat-head small { margin-top: 2px; color: #c6d9cd; font-size: 12px }
.demo-switch { display: inline-flex; align-items: center; margin: 19px 19px 0; border-radius: 23px; background: #e8eee6; padding: 3px }
.demo-switch button { background: transparent; color: var(--muted) }
.demo-switch button[aria-pressed=true] { background: var(--petrol); color: white }
.chat-focus { display: flex; flex-direction: column; gap: 10px; padding: 14px 19px 20px }
.saved { color: #49675c; font-size: 12px; line-height: 1.5; padding-bottom: 3px }
.bubble { padding: 11px 15px; font-size: 15px; line-height: 1.46; max-width: 90% }
.bubble small { display: block; font-size: 11px; font-weight: 700; opacity: .8; margin-bottom: 3px }
.bubble.user { background: #dbeade; align-self: flex-end; border-radius: 15px 15px 4px 15px }
.bubble.assistant { border: 1px solid var(--line); background: #fffdf6; align-self: flex-start; border-radius: 15px 15px 15px 4px }
.controls { padding: clamp(48px, 6vw, 88px) 0 }
.columns { margin-top: 37px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px }
.columns article { border-top: 1px solid #acbfb1; padding-top: 18px }
h3 { font-weight: 600; font-size: 20px; letter-spacing: -.035em }
.columns p, .open p { color: var(--muted); line-height: 1.55; margin-top: 12px; font-size: 16px }
.open { padding: clamp(26px, 4.6vw, 66px); border-radius: 23px; background: var(--petrol); display: grid; grid-template-columns: 1.45fr 1fr; gap: 6%; align-items: center; color: #f7f6eb }
.open h2 { font-size: clamp(40px, 4.8vw, 66px) }
.open em { color: var(--apricot) }
.open p { color: #d2e0d4 }
.platforms { display: grid; gap: 6px }
.platform { min-height: 42px; border-bottom: 1px solid #557b6f; display: flex; align-items: center; justify-content: space-between; gap: 11px; font: 600 15px var(--sans) }
a.platform:hover { color: var(--apricot) }
.pending { color: #d2e0d4 }
.pending span { font-weight: 450; font-size: 12px }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 31px 0 38px }
.footer .brand { font-size: 18px }
.footer > div { display: flex; flex-wrap: wrap; gap: 21px; font-size: 13px; color: var(--muted) }
.pet-feature {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  margin-bottom: clamp(46px, 6vw, 86px);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 4vw, 64px);
}
.pet-copy h2 { font-size: clamp(43px, 4.5vw, 66px); line-height: 1.03 }
.pet-copy p { margin-top: 18px; max-width: 41ch; color: var(--muted); line-height: 1.55; font-size: 16px }
.pet-copy p + p { margin-top: 10px }
.pet-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2px, 1vw, 12px);
  margin: 0;
  padding: clamp(14px, 2.8vw, 40px) clamp(6px, 1.8vw, 24px) clamp(18px, 2.2vw, 30px);
  list-style: none;
  border: 1px solid #d6d7bd;
  border-radius: 60% 60% 22px 22px / 11% 11% 22px 22px;
  background: radial-gradient(ellipse at 75% 14%, #fff8df 2%, transparent 58%), linear-gradient(160deg, #f8edda, #e0e9ce);
}
.pet-path li { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center }
.dragon-stage {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-image: url("assets/dragon.webp?v=r6"), radial-gradient(ellipse, #9d9c7152 5%, transparent 72%);
  background-repeat: no-repeat;
  background-size: 300% 100%, 66% 9%;
  background-position: left top, center 97%;
}
.pet-path li:nth-child(2) .dragon-stage { background-position: center top, center 97% }
.pet-path li:nth-child(3) .dragon-stage { background-position: right top, center 97% }
.pet-path strong { margin-top: 3px; font-size: clamp(12px, 1.18vw, 17px); line-height: 1.2; color: #233e36 }
.pet-path small { margin-top: 4px; font-size: 12px; color: #495e50 }
@media (max-width: 780px) {
  .pet-feature { grid-template-columns: 1fr; gap: 20px }
  .pet-copy p { max-width: 60ch; margin-top: 13px }
  .pet-path { max-width: 570px; width: 100%; justify-self: center }
}
@media (max-width: 400px) {
  .pet-path { padding-inline: 3px }
  .pet-path strong { font-size: 12px }
}
@media (max-width: 350px) {
  .pet-path { grid-template-columns: 1fr; gap: 0; padding: 8px 18px; border-radius: 20px }
  .pet-path li { display: grid; grid-template-columns: 80px 1fr; grid-template-rows: 1fr 1fr; column-gap: 18px; text-align: left }
  .dragon-stage { grid-area: 1 / 1 / 3 / 2 }
  .pet-path strong { grid-area: 1 / 2; align-self: end; margin: 0; font-size: 15px }
  .pet-path small { grid-area: 2 / 2; align-self: start }
}
@media (max-width: 960px) {
  .wrap { width: calc(100% - 60px) }
  .hero { gap: 30px }
  h1 { font-size: clamp(49px, 6.4vw, 68px) }
  .duo { gap: 5% }
  .columns { gap: 20px }
  .hero-intro { font-size: 17px }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px) }
  .masthead { min-height: 64px; gap: 12px; justify-content: space-between }
  .masthead nav { display: none }
  .masthead .brand { font-size: 22px }
  .masthead img { width: 29px; height: 29px }
  .nav-open { min-height: 35px; padding: 6px 12px; gap: 10px }
  .hero { grid-template-columns: 1fr; gap: 20px; margin-block: 14px 33px; padding: 15px; border-radius: 23px }
  .portrait-card { grid-row: 1; border-radius: 14px 14px 40px 14px; }
  .hero-text { margin: 0 6px 6px; }
  .hero-text { padding: 0 }
  h1 { font-size: clamp(43px, 8.5vw, 62px); line-height: 1.01 }
  h1 br { display: none }
  .hero-intro { margin-top: 12px; max-width: 520px; font-size: 16px }
  .actions { margin-top: 17px; gap: 17px }
  .button { min-height: 44px; padding: 10px 17px }
  #portrait { height: clamp(196px, 55vw, 340px); aspect-ratio: auto; object-position: center 25% }
  .portrait-caption { inset: auto 14px 14px }
  .duo { grid-template-columns: 1fr; gap: 25px }
  .section-copy h2 br { display: none }
  h2 { font-size: 47px }
  .section-copy > p:not(.eyebrow) { margin-top: 13px; font-size: 16px; max-width: 600px }
  .columns { grid-template-columns: 1fr; margin-top: 24px; gap: 19px }
  .columns p { margin-top: 6px }
  .open { grid-template-columns: 1fr; gap: 19px }
  .footer { flex-wrap: wrap; padding-block: 24px; align-items: flex-start }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition-duration: 0s !important } }

#site-language {border:1px solid #819a90;border-radius:20px;min-height:38px;min-width:49px;align-self:center;background:var(--paper);color:var(--ink);font:600 13px var(--sans);padding:3px 6px}
@media(max-width:700px){#site-language{margin-left:auto}.masthead{gap:7px}.masthead .nav-open{padding:7px 8px;gap:4px}}
@media(max-width:380px){.masthead .brand{font-size:19px}}
