/* Home and Pricing views (index.html). Figma: Home, Pricing, Home — Mobile, Pricing — Mobile. */


/* Hero */
.hero{padding:56px 0 64px}
.hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.hero-title{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:28px}
.hero-line{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.photo-cluster,.agent-cluster{display:inline-flex;align-items:center;margin:0 6px}
.photo-cluster img{width:92px;height:68px;border-radius:34px;object-fit:cover;border:4px solid #fff;position:relative}
.photo-cluster img+img{margin-left:-26px}
.photo-cluster img:nth-child(1){z-index:3}.photo-cluster img:nth-child(2){z-index:2}
.agent-cluster .atile{border-radius:999px;border:4px solid #fff;box-sizing:content-box;position:relative}
.agent-cluster .atile+.atile{margin-left:-18px}
.agent-cluster .atile:nth-child(1){z-index:3}.agent-cluster .atile:nth-child(2){z-index:2}
.agent-cluster .atile-chatgpt{box-shadow:inset 0 0 0 1px #e3e3e3}
.hero-lead{max-width:560px;margin-top:24px}
.works-with{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 22px;margin-top:26px;font-size:15px;font-weight:600;color:#5c5c5c}
.works-with>span:first-child{font-size:14px;font-weight:500;color:var(--ink-3)}
.works-with-item{display:inline-flex;align-items:center;gap:7px}
.hero-actions{display:flex;gap:10px;margin-top:30px;flex-wrap:wrap;justify-content:center}
.hero-checks{display:flex;gap:18px;margin-top:18px;padding:0;list-style:none;font-size:14px;color:var(--ink-2);flex-wrap:wrap;justify-content:center}
.hero-checks li{display:flex;align-items:center;gap:6px}
.hero-checks svg{color:var(--deal-ink)}

/* Playground */
.playground-stage{border-radius:32px;padding:88px 0;display:flex;align-items:center;justify-content:center}
.playground-stage>.bg{z-index:0}
.pg-window{position:relative;z-index:1;width:min(1040px,calc(100% - 64px));display:flex;flex-direction:column}
.pg-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 16px 8px 18px;border-bottom:1px solid #ededed;flex-wrap:wrap}
.pg-bar-left{display:flex;align-items:center;gap:18px}
.pg-dots{display:flex;gap:8px}
.pg-dots i{width:12px;height:12px;border-radius:9px;background:#ff5f57;display:block}
.pg-dots i:nth-child(2){background:#febc2e}.pg-dots i:nth-child(3){background:#28c840}
.pg-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--text-soft)}
.pg-tools>button{font-family:var(--mono);font-size:12.5px;font-weight:500}
.pg-bar-right{display:flex;align-items:center;gap:10px}
.pg-body{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);min-height:548px}
.pg-request{background:#fafafa;border-right:1px solid #ededed;display:flex;flex-direction:column;min-width:0}
.pg-response{display:flex;flex-direction:column;min-width:0}
.pg-pane-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:8px 16px;flex-wrap:wrap}
.pg-response .pg-pane-head{border-bottom:1px solid #f2f2f2;padding-left:20px}
.pg-pane-title{font-size:14px;font-weight:600}
.pg-status{display:flex;align-items:center;gap:10px}
#response-status.ok{background:var(--deal-tint);color:var(--deal-ink)}
#response-status.failed{background:var(--warn-tint);color:var(--warn-ink)}
.pg-controls{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 10px}
.pg-field{display:flex;flex-direction:column;gap:4px;font-size:11.5px;font-weight:600;color:var(--ink-3);flex:1 1 128px;min-width:0}
.pg-field-xs{flex:0 0 70px}
.pg-field-sm{flex:1 1 96px}
.pg-field-wide{flex:1 1 100%}
.pg-field input,.pg-field select{height:34px;border-radius:10px;border:1px solid #e6e6e6;background:#fff;padding:0 10px;font-size:13px;font-weight:500;color:var(--ink);width:100%;min-width:0}
.pg-field select{padding-right:30px!important;background-position:right 10px center}
.pg-field input:focus,.pg-field select:focus{outline:none;border-color:var(--ink)}
.pg-endpoint{display:flex;align-items:center;gap:8px;padding:2px 18px 6px;font-family:var(--mono);font-size:12.5px;color:var(--text-soft);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pg-endpoint .http-method{display:inline-flex;height:20px;align-items:center;padding:0 7px;border-radius:6px;background:var(--deal-tint);color:var(--deal-ink);font-weight:700;font-size:10.5px;flex-shrink:0}
.pg-code-wrap,.pg-json{position:relative;flex:1;min-height:0;display:flex}
.pg-code{flex:1;margin:0;font-family:var(--mono);font-size:12.5px;line-height:20px;padding:8px 18px 56px;color:var(--ink);white-space:pre;overflow:auto;max-height:520px}
.pg-json .pg-code{padding-top:16px;max-height:600px}
.pg-copy{position:absolute;right:12px;bottom:12px;box-shadow:var(--shadow-chip)}
.pg-preview{padding:14px 18px 18px;overflow:auto;max-height:600px;flex:1}
.pg-preview .preview-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13.5px;color:var(--ink-2)}
.pg-preview .preview-caption b{color:var(--ink);font-weight:600}
.record-card{border:1px solid var(--line);border-radius:18px;padding:16px}
.record-card h4{font-size:17px;line-height:22px;font-weight:600;letter-spacing:-.015em}
.record-card .record-meta{display:flex;flex-direction:column;gap:0;margin-top:12px}
.record-card .record-meta div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid #f2f2f2;font-size:13.5px}
.record-card .record-meta dt{color:var(--ink-2)}
.record-card .record-meta dd{margin:0;text-align:right;font-weight:500;overflow-wrap:anywhere}
.result-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
.result-note{font-size:13px;line-height:19px;color:var(--ink-2);margin-top:10px}
.result-error{display:flex;gap:10px;align-items:flex-start;border-radius:14px;background:var(--warn-tint);color:var(--warn-ink);padding:12px 14px;font-size:14px;line-height:20px}
.pg-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:8px 18px;border-top:1px solid #ededed;background:#fafafa;font-size:12.5px;color:var(--ink-3);flex-wrap:wrap}
.pg-foot>span{display:flex;align-items:center;gap:8px}
.pg-foot b{color:var(--ink);font-weight:600}
.pg-meta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;flex-wrap:wrap}
.pg-meta-tool{display:flex;align-items:flex-start;gap:14px;max-width:620px}
.pg-meta-tool .pill{margin-top:1px}
.pg-meta-links{display:flex;gap:8px;flex-wrap:wrap}
.pg-notice{display:flex;align-items:center;gap:8px;margin-top:14px;font-size:13px;line-height:19px;color:var(--ink-3)}
.pg-notice a{font-weight:600;color:var(--ink)}
.pg-limits{margin-top:10px;border-top:1px solid var(--line)}
.pg-limits summary{display:flex;align-items:center;gap:8px;padding:16px 0;font-size:15px;font-weight:600;cursor:pointer;list-style:none}
.pg-limits summary::-webkit-details-marker{display:none}
.pg-limits[open] summary svg{transform:rotate(180deg)}
.pg-limits-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 40px;padding-bottom:8px}
.pg-limits-body p{font-size:14px;line-height:21px;color:var(--ink-2)}
.pg-limits-body strong{color:var(--ink)}
.pg-limits-body a{font-weight:600;color:var(--ink)}

/* Compare fan */
.fan{display:flex;justify-content:center;align-items:flex-start;padding-top:26px;min-height:340px}
.fan-card{width:212px;background:#fff;border-radius:24px;padding:10px 10px 14px;box-shadow:var(--shadow-card);transform:translateY(var(--drop)) rotate(var(--rot));flex-shrink:0;position:relative;z-index:1}
.fan-card+.fan-card{margin-left:-8px}
.fan-card.center{width:264px;z-index:3;transform:translateY(-26px)}
.fan-photo{display:none}
/* Only the hotel photo (a direct child); provider logos inside .ptile keep their tile size. */
.fan-card>img{width:100%;height:132px;border-radius:16px;object-fit:cover}
.fan-card.center>img{height:150px}
.fan-card.soon>img{filter:saturate(.3);opacity:.55}
.fan-body{display:flex;flex-direction:column;gap:6px;padding:12px 6px 0}
.fan-provider{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600}
.fan-card.soon .fan-provider{color:var(--mute)}
.fan-price{display:flex;align-items:center;justify-content:space-between;gap:8px}
.fan-price>span:first-child{font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.03em}
.fan-card.center .fan-price>span:first-child{font-size:30px}
.fan-card.soon .fan-price>span:first-child{color:#c2c2c2}
.fan-delta{font-size:12px;font-weight:500;color:var(--ink-3)}
.fan-cta{margin-top:6px}

/* Bento */
.bento-grid{display:grid;gap:16px}
.bento-top{grid-template-columns:832fr 432fr}
.bento-bottom{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:40px}
.bento-item h3{margin-top:16px;padding:0 4px}
.bento-item p{margin-top:4px;padding:0 4px}
.bento-tile{height:420px;display:flex;align-items:center;justify-content:center}
.bento-card-wrap{position:relative;z-index:1;width:100%;display:flex;justify-content:center;padding:0 16px}
.bento-card{width:100%;max-width:340px;padding:18px;border-radius:22px;min-height:250px;display:flex;flex-direction:column;gap:2px}
.bento-card-wide{max-width:600px}
.bento-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.bento-card-title{font-size:14px;font-weight:600}
.bento-card-title.big{font-size:17px;line-height:22px}
.bento-hotel{display:flex;align-items:center;gap:12px;min-height:60px}
.bento-hotel.sep,.bento-room.sep,.check-row.sep{border-top:1px solid #f2f2f2}
.bento-hotel img{width:40px;height:40px;border-radius:10px;object-fit:cover;flex-shrink:0}
.bento-hotel .grow{display:flex;flex-direction:column;gap:2px}
.bento-hotel-name{font-size:14.5px;font-weight:600;line-height:19px}
.bento-hotel-price{font-size:15px;font-weight:600;width:76px;text-align:right;flex-shrink:0}
.tag-space{width:38px;flex-shrink:0}
.bento-room{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;font-size:14px;font-weight:600}
.bento-room-price{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;white-space:nowrap}
.bento-card .chip-row{margin-top:14px}
.bento-foot{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:14px}
.bento-cover{display:flex;align-items:center;justify-content:space-between;height:34px;font-size:13.5px;font-weight:500}
.bento-cover svg{color:var(--deal)}
.bento-cover.off{color:var(--mute)}

/* In your chat (shared chat components live in styles.css) */
.chat-panel{display:grid;grid-template-columns:520px minmax(0,1fr);gap:40px;padding:40px}

/* Quality on home */
.quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.quality-card{padding:28px 24px 24px;border-radius:28px;display:flex;flex-direction:column;gap:6px}
.quality-card>.t-body{margin-bottom:18px}
.quality-card-inner{padding:18px;border-radius:18px;margin-top:auto}
.check-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.check-amount{gap:8px;font-weight:600;font-variant-numeric:tabular-nums;font-size:15px}
.check-amount svg{color:var(--deal)}
.mini-icon{width:26px;height:26px;border-radius:8px;background:#f2f2f2;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.mini-icon.amber{width:28px;height:28px;border-radius:9px;background:var(--amber-tint);color:var(--amber-ink)}
.card-foot{display:flex;align-items:center;gap:6px;margin-top:12px}
.id-line{display:block;margin-bottom:6px}
.provider-strip{display:flex;align-items:center;gap:16px 20px;margin-top:28px;padding:20px 24px;border:1px solid var(--line);border-radius:22px;flex-wrap:wrap}
.provider-strip>.t-small{font-weight:600;color:var(--ink)}
.provider-strip-list{display:flex;gap:8px;flex:1;flex-wrap:wrap}
.provider-chip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 9px;border-radius:999px;background:var(--surface);font-size:14px;font-weight:600;transition:background-color .2s ease}
.provider-chip:hover{background:#ebebeb}

/* Pricing teaser */
.teaser{display:grid;grid-template-columns:430px minmax(0,1fr);gap:72px;align-items:center;padding:40px 40px 40px 72px;min-height:560px}
.teaser-copy{display:flex;flex-direction:column;align-items:flex-start}
.teaser-copy h2{margin-top:18px}
.teaser-copy .t-lead{margin-top:16px}
.teaser-actions{display:flex;gap:10px;margin-top:30px;flex-wrap:wrap}
.teaser-visual{position:relative;height:480px}
.teaser-photo{position:absolute;inset:0}
.teaser-card{position:absolute;left:-40px;top:96px;width:360px;padding:18px 20px}
.credit-line{display:flex;flex-direction:column;gap:7px;padding:10px 0}

/* Pricing view */
.pricing-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:72px}
.pricing-hero h1{align-items:center}
.pricing-hero .t-lead{max-width:600px;margin-top:22px}
.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:48px}
.plan-card{padding:28px;border-radius:28px;display:flex;flex-direction:column}
.plan-card h2{font-size:20px}
.plan-icon{width:44px;height:44px;border-radius:14px;background:#fff;border:1px solid #e8e8e8;display:inline-flex;align-items:center;justify-content:center}
.plan-price{display:flex;align-items:baseline;gap:8px;margin-top:28px}
.plan-price>span:first-child{font-size:56px;line-height:56px;font-weight:600;letter-spacing:-.04em}
.plan-free{margin-top:16px;align-self:flex-start}
.plan-desc{margin:18px 0 22px;min-height:44px}
.plan-card .hr{background:#e6e6e6}
.plan-list{list-style:none;padding:0;margin-top:18px;display:flex;flex-direction:column;gap:12px}
.plan-list li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:20px}
.plan-list svg{color:var(--deal-ink);flex-shrink:0;margin-top:2px}
.pricing-cta{display:flex;justify-content:center;gap:10px;margin-top:40px;flex-wrap:wrap}
.calculator{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:48px;padding:16px 16px 16px 48px}
.calc-inputs{display:flex;flex-direction:column;padding:18px 0}
.calc-input{display:flex;flex-direction:column;gap:12px;padding:22px 0;border-bottom:1px solid #e6e6e6;position:relative}
.calc-input:last-child{border-bottom:0}
.calc-input-head{display:flex;align-items:center;gap:8px}
.calc-input-head label{font-size:16px;line-height:24px;font-weight:600;letter-spacing:-.02em}
.calc-info-btn{color:var(--mute);display:inline-flex;border-radius:999px}
.calc-info-btn:hover,.calc-info-btn[aria-expanded="true"]{color:var(--ink)}
.calc-unit{margin-left:auto;font-size:12px;font-weight:500;color:var(--ink-3)}
.calc-value{min-width:96px;height:36px;border-radius:10px;background:#fff;border:1px solid var(--line-2);display:inline-flex;align-items:center;justify-content:flex-end;padding:0 12px;font-weight:600}
.usage-info-panel{position:absolute;left:0;right:0;top:56px;z-index:5;background:#fff;border-radius:18px;box-shadow:var(--shadow-float);padding:18px 20px}
.usage-info-panel h3{font-size:15px;font-weight:600}
.usage-info-panel p{font-size:14px;line-height:21px;color:var(--ink-2);margin-top:6px}
.calc-input input[type="range"]{height:20px;margin:0}
.calc-result{padding:32px;border-radius:24px;display:flex;flex-direction:column}
.calc-total{font-size:64px;line-height:68px;font-weight:600;letter-spacing:-.04em;margin-top:10px}
.calc-breakdown{margin-top:24px}
.calc-line{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;border-top:1px solid #f0f0f0;font-size:14px}
.calc-line strong{font-weight:600;font-variant-numeric:tabular-nums;font-size:16px}
.calc-sum{display:flex;justify-content:space-between;align-items:center;min-height:52px;border-top:1px solid var(--ink);font-weight:600}
.calc-sum strong{font-size:18px}
.calc-note{margin-top:18px}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.stat-card{padding:28px;border-radius:24px;display:flex;flex-direction:column;gap:6px}
.stat-card .t-sub{font-size:16px;margin-top:6px}
.stat-big{font-size:40px;line-height:44px;font-weight:600;letter-spacing:-.035em}
.business-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding:22px 28px;border-radius:22px;border:1px solid var(--line);flex-wrap:wrap}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width:1180px){
  .chat-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:28px}
  .teaser{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;padding:40px}
  .teaser-card{left:-24px}
  .calculator{grid-template-columns:minmax(0,1fr) 380px;gap:32px;padding-left:32px}
  /* Narrower fan so all five cards fit down to 1024 px. */
  .fan-card{width:180px}
  .fan-card.center{width:236px}
  .fan-card>img{height:116px}
  .fan-card.center>img{height:136px}
  .fan-price>span:first-child{font-size:21px;line-height:28px}
  .fan-card.center .fan-price>span:first-child{font-size:27px}
}
@media (max-width:1023px){
  .playground-stage{padding:48px 0}
  .pg-window{width:calc(100% - 40px)}
  .pg-body{grid-template-columns:minmax(0,1fr)}
  .pg-request{border-right:0;border-bottom:1px solid #ededed}
  .pg-code{max-height:360px}
  .pg-limits-body{grid-template-columns:minmax(0,1fr)}
  /* Figma "Home — Mobile": one hotel photo, then straight price tiles sorted by price (4 across on tablets, 2×2 on phones). */
  .fan-photo{display:block;height:220px;border-radius:22px;margin-bottom:10px}
  .fan-photo-pill{position:absolute;left:12px;bottom:12px;z-index:1;display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;background:#fff;font-size:13px;font-weight:600;box-shadow:0 1px 2px rgba(16,24,40,.08),0 6px 16px rgba(16,24,40,.12)}
  .fan-photo-pill span{font-size:12px;font-weight:500;color:var(--ink-3)}
  .fan{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-height:0;padding-top:0}
  .fan-card,.fan-card.center{width:auto;min-height:118px;transform:none;margin:0!important;box-shadow:none;border:1px solid var(--line);border-radius:18px;padding:14px;display:flex;flex-direction:column}
  .fan-card.center{order:-1;border-color:#bfe9d0;background:var(--deal-tint)}
  .fan-card:nth-child(2){order:1}
  .fan-card>img,.fan-cta{display:none}
  .fan-card.soon{display:none}
  .fan-body{flex:1;padding:0;gap:0}
  .fan-provider{font-size:13.5px}
  .fan-price{flex-direction:column;align-items:flex-start;gap:6px;margin-top:auto;padding-top:14px}
  .fan-price>span:first-child,.fan-card.center .fan-price>span:first-child{font-size:24px;line-height:30px}
  .bento-top,.bento-bottom{grid-template-columns:minmax(0,1fr)}
  .bento-bottom{margin-top:16px;gap:16px}
  .chat-panel{grid-template-columns:minmax(0,1fr)}
  .quality-grid,.stat-grid,.plan-grid{grid-template-columns:minmax(0,1fr)}
  .teaser{grid-template-columns:minmax(0,1fr);padding:32px;gap:32px}
  .teaser-visual{height:360px}
  .teaser-card{left:16px;right:16px;top:auto;bottom:16px;width:auto}
  .calculator{grid-template-columns:minmax(0,1fr);padding:16px}
  .calc-inputs{padding:8px 16px}
}
@media (max-width:767px){
  .hero{padding:28px 0 36px}
  .hero-title{margin-top:22px;gap:2px}
  .hero-line{gap:8px}
  .photo-cluster{margin:0 2px}
  .photo-cluster img{width:46px;height:34px;border-width:2px;border-radius:17px}
  .photo-cluster img+img{margin-left:-14px}
  .agent-cluster{margin:0 2px}
  .agent-cluster .atile{width:34px!important;height:34px!important;border-width:2px}
  .agent-cluster .atile svg{width:20px;height:20px}
  .agent-cluster .atile+.atile{margin-left:-10px}
  .hero-lead{margin-top:16px}
  .works-with{display:none}
  .hero-actions{flex-direction:column;width:100%;margin-top:24px}
  .hero-actions .btn{width:100%}
  .hero-checks{gap:12px;font-size:13px;margin-top:14px}
  .playground-stage{padding:16px 0;border-radius:24px}
  .pg-window{width:calc(100% - 24px)}
  .pg-bar{padding:10px 12px}
  .pg-bar-left .pg-dots{display:none}
  .pg-tools{order:3;width:100%}
  .pg-preview{padding:12px}
  .pg-code{padding:8px 14px 56px;font-size:12px}
  .pg-meta{margin-top:18px}
  .pg-meta-links .btn{flex:1 1 auto}
  .fan-photo{height:168px}
  .fan{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bento-tile{height:300px;border-radius:22px}
  .bento-card{min-height:0;padding:14px;max-width:320px}
  .bento-card-head .chip{max-width:200px;overflow:hidden;text-overflow:ellipsis}
  .bento-hotel-price{width:auto}
  .bento-item h3{margin-top:12px;font-size:18px}
  .chat-panel{padding:16px;border-radius:24px;gap:16px}
  .quality-card{padding:22px 18px 18px}
  .provider-strip{padding:16px}
  .provider-strip>a{width:100%}
  .teaser{padding:28px 20px 20px;border-radius:28px}
  .teaser-visual{height:260px}
  .teaser-actions{width:100%;flex-direction:column}
  .teaser-actions .btn{width:100%}
  .pricing-hero{padding-top:32px}
  .plan-price>span:first-child{font-size:44px;line-height:46px}
  .pricing-cta{flex-direction:column}
  .calc-value{min-width:72px}
  .calc-total{font-size:48px;line-height:52px}
  .calc-result{padding:22px}
  .stat-card{padding:22px}
  .business-row{padding:18px}
}
