/* DDchat: system type, quiet surfaces, and the real app in focus. */
:root {
  color-scheme:light;
  --paper:#fff;
  --background:#f5f5f7;
  --ink:#202024;
  --secondary:#6b6b73;
  --accent:#7752b8;
  --line:#e4e4e9;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Hiragino Sans GB","Hiragino Kaku Gothic ProN","Apple SD Gothic Neo","Segoe UI",sans-serif;
  --page-width:1160px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:92px
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font);
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased
}

body.dialog-open {
  overflow:hidden
}

h1,h2,h3,p,figure {
  margin:0
}

h1,h2,h3 {
  text-wrap:balance
}

h2 {
  font-size:clamp(34px,3.8vw,48px);
  line-height:1.28;
  letter-spacing:-.045em;
  font-weight:650;
  white-space:pre-line
}

a {
  color:inherit;
  text-decoration:none
}

button,select {
  font:inherit;
  color:inherit
}

button {
  cursor:pointer;
  border:0
}

button,summary,select {
  -webkit-tap-highlight-color:transparent
}

img {
  display:block;
  max-width:100%
}

[hidden] {
  display:none!important
}

::selection {
  color:#32204c;
  background:#e5dcf2
}

:focus-visible {
  outline:3px solid #8661be;
  outline-offset:5px
}

.container {
  width:min(var(--page-width),calc(100% - 96px));
  margin-inline:auto
}

.section {
  padding-block:112px
}

.icon-definitions {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden
}

.icon {
  display:inline-block;
  flex:0 0 auto;
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:middle
}

.icon.apple {
  fill:currentColor;
  stroke:none
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  top:12px;
  left:16px;
  padding:10px 18px;
  z-index:100;
  border-radius:8px;
  color:white;
  background:var(--ink);
  transform:translateY(-150%)
}

.skip-link:focus {
  transform:translateY(0)
}

/* Persistent navigation and the same direct download action throughout. */
.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:#f5f5f7df;
  backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  border-bottom:1px solid #20202408
}

.header-inner {
  display:flex;
  align-items:center;
  min-height:72px;
  gap:30px
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:9px;
  flex-shrink:0;
  font-size:22px;
  font-weight:700;
  letter-spacing:-.7px;
  line-height:1
}

.brand img {
  border-radius:9px
}

.site-nav {
  display:flex;
  align-items:center;
  gap:30px;
  margin-inline:auto;
  padding-left:70px
}

.site-nav a {
  display:grid;
  align-items:center;
  min-height:44px;
  color:#55555c;
  font-size:12px
}

.site-nav a:hover {
  color:var(--ink)
}

.header-actions {
  display:flex;
  align-items:center;
  gap:20px
}

.language-control {
  display:flex;
  align-items:center;
  gap:5px
}

.language-control>.icon {
  width:15px;
  height:15px
}

.language-control select {
  width:86px;
  min-height:44px;
  padding:5px 0;
  border:0;
  background:transparent;
  font-size:11px;
  cursor:pointer
}

.header-download {
  display:grid;
  place-items:center;
  min-width:62px;
  min-height:36px;
  padding:0 15px;
  background:var(--ink);
  color:white;
  border-radius:22px;
  font-size:12px;
  white-space:nowrap
}

.header-download:hover,.store-button:hover {
  background:#3b3b42
}

.store-button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  min-height:54px;
  padding:10px 24px 10px 18px;
  border-radius:30px;
  background:var(--ink);
  color:white;
  font-size:15px;
  font-weight:540;
  line-height:1.35;
  transition:background .18s
}

.store-button .icon {
  width:26px;
  height:26px
}

.text-button,.text-link {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:0;
  background:transparent;
  color:var(--accent);
  font-size:13px;
  font-weight:500
}

.text-button .icon {
  width:15px;
  height:15px
}

.text-button:hover,.text-link:hover {
  text-decoration:underline;
  text-underline-offset:4px
}

/* A single product reveal. Other changes respond to user input. */
.hero {
  overflow:hidden;
  background:var(--background)
}

.hero-copy {
  padding-top:52px;
  text-align:center;
  position:relative;
  z-index:2;
  animation:intro .75s ease-out both
}

.platform {
  color:var(--secondary);
  font-size:13px;
  margin-bottom:19px
}

.hero h1 {
  font-size:clamp(52px,5.5vw,76px);
  line-height:1.18;
  font-weight:680;
  letter-spacing:-.06em
}

.hero h1 span {
  display:block
}

.hero-description {
  margin:24px auto 25px;
  max-width:620px;
  font-size:17px;
  line-height:1.85;
  color:#6a6a72;
  white-space:pre-line
}

.hero-note {
  margin-top:11px;
  color:#76767d;
  font-size:11px
}

.hero-gallery {
  position:relative;
  width:1050px;
  max-width:100%;
  height:617px;
  margin:46px auto 0;
  isolation:isolate;
  animation:product-reveal 1s .12s ease-out both
}

.hero-gallery::after {
  content:"";
  position:absolute;
  z-index:5;
  bottom:-1px;
  left:-25%;
  right:-25%;
  height:112px;
  pointer-events:none;
  background:linear-gradient(transparent,var(--background) 98%)
}

.hero-floor {
  position:absolute;
  z-index:-1;
  left:-10%;
  right:-10%;
  top:130px;
  height:550px;
  background:radial-gradient(ellipse at 50% 55%,#d6d3e3 0%,#eae9f0 42%,#f5f5f700 70%)
}

.device {
  --device-radius:44px;
  --frame-width:4px;
  --bezel-width:5px;
  --corner-scale:1;
  display:block;
  padding:var(--frame-width);
  border-radius:calc(var(--device-radius) * var(--corner-scale));
  background:linear-gradient(120deg,#fafafa,#a9a9b1 22%,#eae9ed 45%,#aaa8af 78%,#eeeef0);
  box-shadow:0 0 0 1px #87858f5c,inset 1px 1px 1px #fff,0 20px 45px #27213820,0 5px 8px #17151f15
}

.device-screen {
  display:block;
  overflow:hidden;
  padding:var(--bezel-width);
  border-radius:calc((var(--device-radius) - var(--frame-width)) * var(--corner-scale));
  background:#1c1c20
}

.device-screen img {
  width:100%;
  height:auto;
  border-radius:calc((var(--device-radius) - var(--frame-width) - var(--bezel-width)) * var(--corner-scale))
}

/* Gentle smoothing with the same apparent radius and concentric frame insets. */
@supports (corner-shape:superellipse(1.25)) {
  .device {
    --corner-scale:1.16
  }

  .device,.device-screen,.device-screen img {
    corner-shape:superellipse(1.25)
  }
}

.hero-device {
  position:absolute;
  transition:box-shadow .2s
}

.hero-device:hover {
  box-shadow:0 0 0 1px #87858f5c,inset 1px 1px 1px #fff,0 24px 60px #27213835
}

.hero-html {
  width:306px;
  top:0;
  left:calc(50% - 153px);
  z-index:3
}

.hero-home {
  --device-radius:39px;
  width:268px;
  top:61px;
  left:calc(50% - 440px);
  transform:rotate(-5deg);
  z-index:2
}

.hero-search {
  --device-radius:39px;
  width:268px;
  top:61px;
  right:calc(50% - 440px);
  transform:rotate(5deg);
  z-index:2
}

@keyframes intro {
  from {
    opacity:0;
    transform:translateY(12px)
  }

  to {
    opacity:1;
    transform:none
  }

}

@keyframes product-reveal {
  from {
    opacity:0;
    transform:translateY(24px)
  }

  to {
    opacity:1;
    transform:none
  }

}

/* Magnified real screenshots demonstrate the app's visual language. */
.section-intro {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:64px;
  margin-bottom:54px
}

.section-description {
  max-width:480px;
  color:var(--secondary);
  font-size:17px;
  line-height:1.9
}

.design-showcase {
  min-height:416px;
  display:grid;
  grid-template-columns:37% 63%;
  background:#f1f1f6;
  border-radius:30px;
  overflow:hidden
}

.detail-copy {
  position:relative;
  z-index:2;
  padding:82px 0 64px 46px
}

.detail-copy h3 {
  font-size:25px;
  line-height:1.5;
  letter-spacing:-.025em;
  font-weight:620;
  max-width:275px
}

.detail-copy p {
  max-width:272px;
  color:var(--secondary);
  font-size:14px;
  line-height:1.9;
  margin-top:16px
}

.detail-copy .text-button {
  margin-top:17px
}

.detail-visual {
  position:relative;
  overflow:hidden;
  min-height:416px
}

.detail-crop {
  position:absolute;
  inset:0;
  overflow:hidden
}

.detail-crop img {
  position:absolute;
  width:650px;
  max-width:none;
  height:auto;
  left:28px;
  bottom:-18px
}

[data-detail="reading"] .detail-crop img {
  width:580px;
  top:-274px;
  bottom:auto;
  left:66px
}

[data-detail="assistants"] .detail-crop img {
  width:520px;
  top:-123px;
  bottom:auto;
  left:95px
}

.detail-controls {
  display:flex;
  flex-wrap:wrap;
  width:fit-content;
  max-width:100%;
  margin:27px auto 0;
  gap:5px;
  padding:5px;
  border-radius:26px;
  background:#f0f0f4
}

.detail-controls button {
  min-height:40px;
  padding:7px 21px;
  border-radius:24px;
  color:#6c6c75;
  font-size:13px;
  background:transparent;
  transition:background .18s,box-shadow .18s
}

.detail-controls button[aria-pressed="true"] {
  background:white;
  color:var(--ink);
  box-shadow:0 2px 6px #20202413
}

.detail-caption {
  margin-top:12px;
  color:#7c7c84;
  text-align:center;
  font-size:11px
}

.design-notes {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:38px;
  margin-top:52px
}

.design-notes p {
  display:flex;
  align-items:start;
  gap:11px;
  font-size:13px;
  color:#62626a
}

.design-notes .icon {
  width:20px;
  height:20px;
  color:#888092;
  margin-top:2px
}

/* API setup remains an approachable native form. */
.connections {
  background:var(--background)
}

.connection-layout,.assistant-layout,.html-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px;
  align-items:center
}

.feature-copy {
  min-width:0
}

.feature-copy>p {
  margin-top:24px;
  color:var(--secondary);
  font-size:16px;
  line-height:1.95
}

.feature-copy>p+p {
  margin-top:15px
}

.provider-visual {
  height:561px;
  position:relative
}

.provider-visual::before {
  content:"";
  position:absolute;
  inset:45px -8px 20px;
  border-radius:50%;
  background:radial-gradient(ellipse,#d6d6e5,#ededf2 58%,transparent 72%)
}

.provider-window {
  position:absolute;
  top:5px;
  left:50%;
  width:358px;
  height:535px;
  transform:translateX(-50%) rotate(-3deg);
  border:1px solid #fff;
  border-radius:31px;
  overflow:hidden;
  box-shadow:0 24px 55px #42404f1d,0 1px 3px #20202410;
  background:#f1f1f6
}

.provider-window img {
  position:absolute;
  width:100%;
  height:auto;
  top:-39px
}

.image-inspect {
  position:absolute;
  bottom:0;
  right:8px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid #e1e1e8;
  background:#ffffffb3;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#5d5968;
  z-index:3
}

.image-inspect .icon {
  width:19px;
  height:19px
}

.provider-names {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:9px 22px;
  margin-top:30px;
  color:#3e3d45;
  font-size:15px;
  font-weight:600;
  letter-spacing:-.35px
}

.provider-names span:last-child {
  font-size:12px;
  font-weight:400;
  letter-spacing:0
}

.feature-copy .small-note {
  font-size:11px;
  line-height:1.85;
  margin-top:17px;
  color:#7b7a83
}

/* This example is real HTML, kept visibly inside a conversation. */
.html-section {
  background:#202024;
  color:white
}

.html-layout {
  gap:82px;
  grid-template-columns:.85fr 1.15fr
}

.html-mark {
  display:inline-block;
  font:500 44px/1.1 ui-monospace,"SFMono-Regular",Menlo,monospace;
  letter-spacing:-5px;
  color:#bca8e2;
  margin-bottom:30px
}

.html-section h2 {
  font-size:44px
}

.html-section .feature-copy>p {
  color:#b8b7c0
}

.html-section .text-button {
  color:#d2bdee;
  margin-top:26px
}

.html-demo {
  border:1px solid #ffffff16;
  background:#f5f5f8;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 24px 60px #0003;
  color:var(--ink);
  min-width:0
}

.demo-toolbar {
  padding:17px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#e9e9ef
}

.demo-toolbar>span {
  color:#696975;
  font-size:11px
}

.demo-switch {
  display:flex;
  padding:3px;
  background:#dcdce4;
  border-radius:10px
}

.demo-switch button {
  min-height:35px;
  padding:6px 12px;
  border-radius:8px;
  font-size:11px;
  white-space:nowrap;
  background:transparent
}

.demo-switch button[aria-pressed="true"] {
  background:white;
  box-shadow:0 1px 4px #20202415
}

.demo-conversation {
  padding:35px 28px 20px;
  min-height:458px
}

.demo-user {
  width:fit-content;
  max-width:94%;
  margin-left:auto;
  padding:10px 17px;
  background:#0078ec;
  color:white;
  font-size:14px;
  border-radius:20px 20px 6px 20px
}

.demo-reply {
  margin-top:24px;
  padding:21px 21px 17px;
  border:1px solid #e7e7ed;
  background:#fff;
  border-radius:7px 22px 22px 22px;
  font-size:14px;
  line-height:1.8
}

.itinerary {
  margin-top:15px;
  border:1px solid #e5e3ee;
  border-radius:13px;
  background:#f6f5fa;
  overflow:hidden
}

.itinerary summary {
  position:relative;
  cursor:pointer;
  font-weight:600;
  padding:11px 15px 11px 34px;
  list-style:none;
  user-select:none
}

.itinerary summary::-webkit-details-marker {
  display:none
}

.itinerary summary::before {
  content:"";
  position:absolute;
  top:19px;
  left:17px;
  width:5px;
  height:5px;
  border-right:1.5px solid #81728e;
  border-bottom:1.5px solid #81728e;
  transform:rotate(-45deg)
}

.itinerary[open] summary::before {
  transform:rotate(45deg);
  top:17px
}

.itinerary table {
  width:calc(100% - 28px);
  border-collapse:collapse;
  margin:0 14px 10px;
  font-size:12px
}

.itinerary th,.itinerary td {
  padding:10px 6px;
  border-top:1px solid #e5e3ee;
  text-align:left
}

.itinerary th {
  width:28%;
  color:#80718e;
  font-weight:500;
  font-variant-numeric:tabular-nums
}

.demo-after {
  margin-top:16px;
  color:#74727c;
  font-size:12px
}

.demo-hint {
  font-size:10px;
  color:#7c7a85;
  text-align:center;
  margin-top:20px
}

.demo-code {
  min-height:458px;
  padding:19px 23px;
  background:#f5f5f8
}

.code-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#73717d;
  font-size:11px
}

.code-top button {
  min-height:36px;
  background:#e9e7ee;
  padding:6px 11px;
  border-radius:8px;
  font-size:11px
}

.demo-code pre {
  margin-top:14px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.85;
  color:#70528f
}

.demo-code code {
  font-family:ui-monospace,"SFMono-Regular",Menlo,monospace
}

.assistant-layout {
  grid-template-columns:.9fr 1.1fr;
  gap:76px
}

.assistant-settings {
  margin:28px 0 0
}

.assistant-settings>div+div {
  margin-top:23px
}

.assistant-settings dt {
  font-size:15px;
  font-weight:600;
  margin-bottom:7px
}

.assistant-settings dd {
  margin:0;
  color:var(--secondary);
  font-size:14px;
  line-height:1.85;
  max-width:340px
}

.feature-copy .assistant-share {
  margin-top:25px;
  font-size:13px;
  color:#79717f
}

.assistant-visual {
  position:relative;
  height:586px;
  min-width:0
}

.assistant-visual::before {
  content:"";
  position:absolute;
  inset:65px -35px 30px;
  background:radial-gradient(ellipse,#e4e0ed,transparent 67%)
}

.assistant-home-window {
  position:absolute;
  top:85px;
  left:-18px;
  width:277px;
  height:425px;
  border-radius:29px;
  border:1px solid #fff;
  overflow:hidden;
  transform:rotate(-6deg);
  box-shadow:0 20px 50px #34243a18,0 1px 4px #34243a1a;
  background:#f1f1f6
}

.assistant-home-window img {
  position:absolute;
  top:-29px;
  width:100%;
  height:auto
}

.assistant-settings-window {
  position:absolute;
  top:0;
  right:0;
  width:333px;
  height:555px;
  border-radius:29px;
  border:1px solid #fff;
  overflow:hidden;
  transform:rotate(3deg);
  box-shadow:0 24px 55px #34243a1f,0 1px 4px #34243a1a;
  background:#f1f1f6
}

.assistant-settings-window img {
  position:absolute;
  top:-34px;
  width:100%;
  height:auto
}

.privacy {
  background:#f0f0f6;
  padding-block:98px 87px
}

.privacy-inner {
  max-width:850px;
  text-align:center
}

.privacy-emblem {
  position:relative;
  display:grid;
  place-items:center;
  width:100px;
  height:100px;
  margin:0 auto 35px;
  border:1px solid #fff;
  border-radius:30px;
  background:linear-gradient(150deg,#fff,#e7e6f1);
  box-shadow:0 15px 35px #69627f16,inset 0 1px 2px white
}

.privacy-emblem .icon {
  width:46px;
  height:46px;
  stroke-width:1.3;
  color:#615568
}

.privacy h2 {
  font-size:54px
}

.privacy-body {
  margin-top:25px;
  color:#666570;
  font-size:17px;
  line-height:2;
  white-space:pre-line
}

.privacy-promises {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:0 30px;
  margin:26px 0 13px;
  font-size:13px;
  font-weight:500
}

.privacy-promises span {
  display:inline-flex;
  align-items:center;
  gap:9px
}

.privacy-promises span::before {
  content:"";
  width:8px;
  height:4px;
  border-left:1.5px solid #8a769e;
  border-bottom:1.5px solid #8a769e;
  transform:rotate(-45deg);
  margin-top:-4px
}

.privacy-note {
  margin:26px auto 0;
  max-width:630px;
  font-size:11px;
  color:#82808c
}

.support {
  padding-block:88px
}

.support-layout {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:100px
}

.support-copy h2 {
  font-size:33px
}

.support-copy>p {
  margin-top:23px;
  font-size:12px;
  color:#777680
}

.email-link {
  display:inline-flex;
  align-items:center;
  min-height:40px;
  font-size:12px
}

.email-link:hover {
  text-decoration:underline
}

.faq-list details {
  border-bottom:1px solid var(--line)
}

.faq-list details:first-child {
  border-top:1px solid var(--line)
}

.faq-list summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  min-height:66px;
  padding-block:16px;
  cursor:pointer;
  list-style:none;
  font-size:14px;
  font-weight:530
}

.faq-list summary::-webkit-details-marker {
  display:none
}

.faq-plus {
  position:relative;
  width:14px;
  height:14px;
  flex-shrink:0
}

.faq-plus::before,.faq-plus::after {
  content:"";
  position:absolute;
  width:10px;
  height:1px;
  background:#8b8892;
  top:6px;
  left:2px
}

.faq-plus::after {
  transform:rotate(90deg)
}

.faq-list details[open] .faq-plus::after {
  transform:none
}

.faq-list details>p {
  padding:0 27px 23px 0;
  color:#76737f;
  font-size:13px;
  line-height:1.9
}

.download-section {
  background:var(--background);
  padding:78px 0 82px
}

.download-inner {
  text-align:center
}

.download-icon {
  border-radius:21px;
  margin:0 auto 28px;
  box-shadow:0 10px 25px #23232c0d
}

.download-inner h2 {
  font-size:35px;
  line-height:1.45
}

.download-inner>p {
  margin:18px auto 25px;
  color:var(--secondary);
  font-size:12px
}

.site-footer {
  background:var(--background);
  border-top:1px solid var(--line)
}

.footer-inner {
  min-height:85px;
  display:flex;
  align-items:center;
  gap:30px
}

.footer-inner .brand {
  font-size:18px
}

.footer-inner>p {
  margin-right:auto;
  font-size:10px;
  color:#85838c
}

.footer-inner>div {
  display:flex;
  gap:25px;
  font-size:11px
}

.footer-inner>div a {
  display:grid;
  align-items:center;
  min-height:44px
}

.screenshot-dialog {
  width:fit-content;
  max-width:calc(100% - 32px);
  max-height:calc(100dvh - 40px);
  padding:0;
  border:1px solid #e6e0ec;
  border-radius:20px;
  color:var(--ink);
  background:var(--background);
  box-shadow:0 32px 120px #180b2759
}

.screenshot-dialog::backdrop {
  background:#25232dba;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px)
}

.dialog-toolbar {
  position:sticky;
  top:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:8px 10px 8px 20px;
  background:#f7f6f9f5;
  z-index:1
}

.dialog-toolbar h2 {
  font-size:12px;
  letter-spacing:0;
  font-weight:500;
  white-space:normal
}

.dialog-close {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:50%;
  background:#eae7ef;
  flex-shrink:0
}

.dialog-close .icon {
  width:19px;
  height:19px
}

#dialog-screen {
  width:390px;
  height:auto
}

/* Preserve the policy article's independent layout. */
.policy-page {
  background:var(--background)
}

.policy-header {
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px
}

.language-bar {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px
}

.language-bar select {
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff
}

.policy-page main {
  width:min(820px,calc(100% - 48px));
  margin:30px auto 100px;
  padding:56px 62px;
  border:1px solid var(--line);
  border-radius:24px;
  background:white
}

.policy-page article {
  display:block
}

.policy-page h1 {
  font-size:32px;
  line-height:1.4;
  letter-spacing:-.025em;
  margin-bottom:15px
}

.policy-page .date {
  font-size:12px;
  color:var(--secondary);
  margin-bottom:30px
}

.policy-page article h2 {
  font-size:20px;
  letter-spacing:-.015em;
  margin:34px 0 15px;
  white-space:normal
}

.policy-page article p,.policy-page article li {
  font-size:14px;
  line-height:1.95;
  color:#5b5663
}

.policy-page article p {
  margin-bottom:16px
}

.policy-page article ul {
  padding-left:22px
}

.policy-page article a {
  color:var(--accent);
  overflow-wrap:anywhere;
  text-decoration:underline;
  text-underline-offset:3px
}

.policy-page article li {
  margin-block:8px
}

html:lang(ko) {
  word-break:keep-all
}

html:lang(en) .hero h1 {
  letter-spacing:-.05em
}

html:lang(en) .feature-copy h2 {
  font-size:44px
}

html:lang(ja) .hero h1,html:lang(ko) .hero h1 {
  font-size:65px
}

html:lang(ja) .feature-copy h2,html:lang(ko) .feature-copy h2 {
  font-size:39px
}

@media(max-width:1100px) {
  .site-nav {
    padding-left:0;
    gap:22px
  }

  .header-inner {
    gap:22px
  }

  .connection-layout,.assistant-layout,.html-layout {
    gap:50px
  }

  .detail-copy {
    padding-left:32px
  }

  .detail-copy h3 {
    font-size:22px
  }

  .detail-copy p {
    font-size:13px
  }

  .detail-crop img {
    width:560px;
    left:0
  }

  [data-detail="reading"] .detail-crop img {
    width:530px;
    top:-246px;
    left:0
  }

  [data-detail="assistants"] .detail-crop img {
    width:480px;
    top:-110px;
    left:12px
  }

  .assistant-home-window {
    width:235px;
    left:-18px
  }

  .assistant-settings-window {
    width:305px
  }

  .demo-toolbar {
    flex-wrap:wrap
  }

  .support-layout {
    gap:70px
  }

}

@media(max-width:900px) {
  .container {
    width:calc(100% - 56px)
  }

  .site-nav {
    display:none
  }

  .header-actions {
    margin-left:auto
  }

  .section {
    padding-block:80px
  }

  .hero-gallery {
    height:557px;
    margin-top:40px
  }

  .hero-html {
    --device-radius:40px;
    width:278px;
    left:calc(50% - 139px)
  }

  .hero-home {
    --device-radius:34px;
    width:237px;
    left:calc(50% - 386px)
  }

  .hero-search {
    --device-radius:34px;
    width:237px;
    right:calc(50% - 386px)
  }

  .section-intro {
    align-items:start;
    gap:35px
  }

  .section-description {
    max-width:360px;
    font-size:15px
  }

  .detail-copy {
    padding:58px 0 35px 28px
  }

  .design-showcase {
    grid-template-columns:36% 64%
  }

  .detail-copy h3 {
    font-size:21px
  }

  .detail-crop img {
    left:20px;
    width:480px
  }

  [data-detail="reading"] .detail-crop img {
    width:470px;
    top:-207px;
    left:10px
  }

  [data-detail="assistants"] .detail-crop img {
    width:400px;
    top:-77px;
    left:24px
  }

  .design-notes {
    gap:22px
  }

  .design-notes p {
    font-size:11px
  }

  .connection-layout {
    grid-template-columns:1fr 1fr;
    gap:35px
  }

  .provider-window {
    width:300px;
    height:485px
  }

  .provider-visual {
    height:515px
  }

  .feature-copy>p {
    font-size:14px
  }

  .feature-copy h2,html:lang(en) .feature-copy h2,html:lang(ja) .feature-copy h2,html:lang(ko) .feature-copy h2 {
    font-size:34px
  }

  .html-layout {
    grid-template-columns:minmax(0,1fr);
    gap:43px
  }

  .html-layout .feature-copy {
    max-width:570px
  }

  .html-mark {
    margin-bottom:23px
  }

  .html-demo {
    width:580px;
    max-width:100%;
    margin-inline:auto
  }

  .assistant-layout {
    grid-template-columns:1fr 1.1fr;
    gap:32px
  }

  .assistant-visual {
    height:535px
  }

  .assistant-home-window {
    width:210px;
    left:-2px;
    height:370px
  }

  .assistant-settings-window {
    width:269px;
    height:490px
  }

  .support-layout {
    gap:45px;
    grid-template-columns:.85fr 1.15fr
  }

}

@media(max-width:650px) {
  html {
    scroll-padding-top:82px
  }

  .container {
    width:calc(100% - 40px)
  }

  .header-inner {
    min-height:64px;
    gap:12px
  }

  .brand {
    font-size:21px
  }

  .brand img {
    width:29px;
    height:29px;
    border-radius:8px
  }

  .header-actions {
    gap:0
  }

  .header-download {
    display:none
  }

  .language-control select {
    width:84px;
    font-size:11px
  }

  .section {
    padding-block:64px
  }

  .hero-copy {
    padding-top:41px
  }

  .platform {
    font-size:11px;
    margin-bottom:19px
  }

  .hero h1 {
    font-size:clamp(38px,10.7vw,61px);
    line-height:1.22;
    letter-spacing:-.055em
  }

  html:lang(ja) .hero h1,html:lang(ko) .hero h1 {
    font-size:clamp(34px,9.4vw,53px)
  }

  .hero-description {
    margin-top:20px;
    max-width:355px;
    font-size:13px;
    line-height:1.9
  }

  .hero .store-button {
    min-height:49px;
    padding-inline:18px 22px;
    font-size:13px
  }

  .hero-note {
    font-size:10px
  }

  .hero-gallery {
    width:100%;
    margin-top:34px;
    height:472px
  }

  .hero-html {
    --device-radius:32px;
    width:222px;
    left:calc(50% - 111px)
  }

  .hero-home {
    --device-radius:28px;
    width:194px;
    left:calc(50% - 302px);
    top:57px
  }

  .hero-search {
    --device-radius:28px;
    width:194px;
    right:calc(50% - 302px);
    top:57px
  }

  .hero-device {
    --frame-width:3px;
    --bezel-width:4px
  }

  .hero-gallery::after {
    height:70px
  }

  .section-intro {
    display:block;
    margin-bottom:31px
  }

  h2 {
    font-size:35px;
    line-height:1.35
  }

  .section-description {
    margin-top:21px;
    font-size:14px;
    max-width:470px
  }

  .design-showcase {
    display:flex;
    flex-direction:column;
    border-radius:23px
  }

  .detail-copy {
    padding:28px 25px 13px;
    min-height:188px
  }

  .detail-copy h3 {
    font-size:20px;
    max-width:100%
  }

  .detail-copy p {
    max-width:100%;
    font-size:12px;
    margin-top:12px
  }

  .detail-copy .text-button {
    margin-top:9px;
    font-size:11px
  }

  .detail-visual {
    min-height:252px
  }

  .detail-crop img {
    width:460px;
    bottom:-10px;
    left:50%;
    transform:translateX(-50%)
  }

  [data-detail="reading"] .detail-crop img {
    width:390px;
    top:-190px;
    left:50%
  }

  [data-detail="assistants"] .detail-crop img {
    width:340px;
    top:-97px;
    left:50%
  }

  .detail-controls {
    margin-top:20px;
    gap:2px;
    padding:4px;
    border-radius:24px
  }

  .detail-controls button {
    min-height:39px;
    padding-inline:13px;
    font-size:11px
  }

  .detail-caption {
    font-size:10px
  }

  .design-notes {
    grid-template-columns:1fr;
    margin-top:30px;
    gap:16px
  }

  .design-notes p {
    font-size:12px;
    align-items:center
  }

  .connection-layout,.assistant-layout {
    display:flex;
    flex-direction:column;
    gap:35px;
    align-items:stretch
  }

  .connection-layout .feature-copy {
    order:-1
  }

  .feature-copy h2,html:lang(en) .feature-copy h2,html:lang(ja) .feature-copy h2,html:lang(ko) .feature-copy h2 {
    font-size:34px
  }

  .feature-copy>p {
    margin-top:22px;
    font-size:14px;
    line-height:1.9
  }

  .provider-visual {
    height:489px
  }

  .provider-window {
    width:306px;
    max-width:92%;
    height:467px
  }

  .provider-names {
    margin-top:24px;
    gap:8px 19px;
    font-size:14px
  }

  .feature-copy .small-note {
    font-size:10px
  }

  .html-layout {
    gap:30px
  }

  .html-mark {
    font-size:35px;
    margin-bottom:24px
  }

  .html-section .text-button {
    margin-top:16px;
    font-size:12px
  }

  .html-demo {
    border-radius:19px
  }

  .demo-toolbar {
    padding:12px 13px;
    gap:8px
  }

  .demo-toolbar>span {
    font-size:9px
  }

  .demo-switch button {
    min-height:34px;
    font-size:10px;
    padding:5px 9px
  }

  .demo-conversation {
    padding:26px 16px 18px;
    min-height:430px
  }

  .demo-user {
    padding:9px 14px;
    font-size:12px
  }

  .demo-reply {
    padding:17px 15px 15px;
    font-size:12px
  }

  .itinerary summary {
    padding-top:10px;
    padding-bottom:10px
  }

  .itinerary table {
    font-size:11px
  }

  .itinerary th,.itinerary td {
    padding-block:9px
  }

  .demo-after {
    font-size:10px
  }

  .demo-hint {
    font-size:9px;
    margin-top:19px
  }

  .demo-code {
    min-height:430px;
    padding:15px
  }

  .demo-code pre {
    font-size:10px;
    line-height:1.9
  }

  .assistant-visual {
    width:100%;
    max-width:440px;
    margin-inline:auto;
    height:517px
  }

  .assistant-home-window {
    width:220px;
    top:65px;
    left:-4px
  }

  .assistant-settings-window {
    width:270px;
    right:7px;
    height:486px
  }

  .assistant-settings dd {
    max-width:460px;
    font-size:13px
  }

  .privacy {
    padding-block:67px 61px
  }

  .privacy-emblem {
    width:87px;
    height:87px;
    border-radius:26px;
    margin-bottom:29px
  }

  .privacy-emblem .icon {
    width:40px;
    height:40px
  }

  .privacy h2 {
    font-size:41px
  }

  .privacy-body {
    margin-top:23px;
    font-size:14px;
    line-height:1.95
  }

  .privacy-promises {
    gap:12px 19px;
    font-size:11px;
    margin-top:22px
  }

  .privacy-note {
    font-size:10px;
    margin-top:17px;
    max-width:340px
  }

  .privacy .text-link {
    font-size:12px
  }

  .support-layout {
    display:block
  }

  .support-copy {
    margin-bottom:26px
  }

  .support-copy h2 {
    font-size:29px
  }

  .support-copy>p {
    margin-top:17px;
    font-size:11px
  }

  .faq-list summary {
    font-size:13px;
    min-height:62px
  }

  .faq-list details>p {
    font-size:12px
  }

  .download-section {
    padding-block:59px
  }

  .download-icon {
    width:72px;
    height:72px;
    border-radius:18px;
    margin-bottom:24px
  }

  .download-inner h2 {
    font-size:28px
  }

  .download-inner>p {
    font-size:11px
  }

  .download-inner .store-button {
    min-height:49px;
    font-size:13px
  }

  .footer-inner {
    flex-wrap:wrap;
    gap:11px 20px;
    padding-block:24px
  }

  .footer-inner>div {
    width:100%;
    justify-content:space-between
  }

  .footer-inner .brand {
    font-size:17px
  }

  .footer-inner>p {
    margin-left:auto;
    margin-right:0
  }

  .footer-inner>div a {
    min-height:32px
  }

  .policy-header {
    min-height:80px;
    gap:20px
  }

  .language-bar label {
    display:none
  }

  .language-bar select {
    max-width:132px
  }

  .policy-page main {
    width:calc(100% - 32px);
    margin-top:10px;
    padding:30px 23px;
    border-radius:18px
  }

  .policy-page h1 {
    font-size:25px
  }

  .policy-page article h2 {
    font-size:19px
  }

  .policy-page article p,.policy-page article li {
    font-size:13px
  }

}

@media(max-width:360px) {
  .container {
    width:calc(100% - 32px)
  }

  .detail-controls button {
    padding-inline:9px
  }

  .demo-toolbar {
    align-items:start
  }

  .assistant-settings-window {
    width:250px;
    right:0
  }

  .assistant-home-window {
    width:195px
  }

}

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

  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }

}

/* Keep the complete input bar visible, with the conversation receding above it. */
.detail-copy h3 {
  white-space:pre-line
}

[data-detail="composer"] .detail-crop {
  top:70px;
  bottom:35px
}

[data-detail="composer"] .detail-crop::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(#f1f1f6 0%,#f1f1f6ee 10%,transparent 44%)
}

@media(max-width:650px) {
  [data-detail="composer"] .detail-crop {
    top:0;
    bottom:0
  }

  .demo-code {
    height:430px;
    overflow:auto
  }

}

/* Contain the assistant artwork's soft light within its section. */
.assistants-section {
  overflow: hidden;
}
/* Scale the native controls to the available mobile width without cropping their actions. */
@media (max-width:650px) {
  [data-detail="composer"] .detail-crop img {
    width: 100%;
    left: 0;
    transform: none;
    bottom: 0;
  }
  [data-detail="reading"] .detail-crop img {
    width: 100%;
    left: 0;
    transform: none;
    top: calc(18px - (100vw - 40px) * .5375);
  }
  [data-detail="assistants"] .detail-crop img {
    width: 100%;
    left: 0;
    transform: none;
    top: calc((100vw - 40px) * -.21);
  }
}
/* Supporting text remains legible on the pale surfaces. */
.hero-note,.detail-caption,.feature-copy .small-note,.privacy-note,.footer-inner > p,.support-copy > p,.demo-hint {
  color: #6e6b77;
}
.dialog-close {
  width: 44px;
  height: 44px;
}
.code-top button {
  min-height: 44px;
}
@media (max-width:650px) {
  .detail-controls button,.demo-switch button,.footer-inner > div a {
    min-height: 44px;
  }
}

html:lang(ja) .hero h1 span {
  white-space: pre-line;
}
@media (max-width:650px) {
  html:lang(ja) .hero h1 {
    font-size: clamp(29px,8.8vw,44px);
  }
}
