/* A quiet canvas with translucent, light-catching surfaces. */
:root {
  --bg:#f5f7f7;
  --ink:#202c29;
  --muted:#61716b;
  --line:#dfe8e380;
  --green:#40cb37;
  --green-strong:#2c713d;
  --mint:#e7f5e8;
  --mint-soft:#f0f7f2;
  --glass:linear-gradient(135deg,#ffffffdb,#ffffff70 55%,#ffffffa8);
  --glass-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff80,0 8px 28px #293f3610,0 1px 3px #293f3606;
  --shadow:var(--glass-shadow);
  background:#eef2f1;
}
body {
  background:radial-gradient(ellipse 85% 430px at 0 100px,#dff0e3a8,transparent),radial-gradient(ellipse 90% 480px at 100% 380px,#e3edf6a6,transparent),var(--bg);
  box-shadow:0 0 60px #344d4008;
}
.header-inner { min-height:86px; }
.brand-logo { --logo-size:82px; }
.language,.language-menu,.secondary,.chip,.link-pill,.save-button,.close-button {
  border:1px solid #ffffffd9;
  background:var(--glass);
  box-shadow:inset 0 1px 0 #fff,0 3px 12px #344b3e08;
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  backdrop-filter:blur(16px) saturate(140%);
}
.language { padding-inline:12px; font-weight:580; }
.language .icon { color:var(--green-strong); }
.language-menu { background:#fffffff0; border-radius:20px; }
.home-heading { margin-block:12px 21px; }
h1 { font-size:clamp(29px,8vw,36px); font-weight:720; line-height:1.22; letter-spacing:-.045em; }
.home-heading p,.page-heading p { font-size:13px; margin-block-start:9px; line-height:1.65; }
.page-heading { margin-block:16px 25px; }
.section { margin-block-start:27px; }
.section-heading { margin-block-end:14px; }
.section-heading h2 { font-size:21px; font-weight:700; letter-spacing:-.03em; }
.section-heading p { font-size:12px; line-height:1.55; }
.feature-card { min-height:224px; border-radius:29px; padding:16px; box-shadow:0 12px 30px #264d431c,inset 0 0 0 1px #ffffff70; }
.feature-card::after { background:linear-gradient(to top,#132c345c,transparent 70%); }
.feature-copy {
  padding:12px 15px; border:1px solid #ffffff70; border-radius:20px;
  background:linear-gradient(130deg,#ffffff2e,#ffffff12);
  box-shadow:inset 0 1px 0 #ffffff60,0 5px 16px #102d3012;
  -webkit-backdrop-filter:blur(18px) saturate(130%); backdrop-filter:blur(18px) saturate(130%);
  text-shadow:0 1px 6px #102d3060;
}
.feature-copy strong { font-size:25px; font-weight:700; }
.feature-copy > span { font-size:11px; margin-block-start:3px; }
.feature-arrow { width:42px; height:42px; color:#fff; border-color:#ffffff9c; background:#ffffff38; box-shadow:inset 0 1px 0 #ffffff8c,0 4px 12px #16352b16; -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px); }
.planner,.surface,.travel-card,.check-in-list,.place-card,.utility-card,.agent-landing {
  border:1px solid #ffffffd9;
  background:var(--glass);
  box-shadow:var(--glass-shadow);
  -webkit-backdrop-filter:blur(18px) saturate(120%);
  backdrop-filter:blur(18px) saturate(120%);
}
.planner { margin-block-start:16px; padding:16px 14px 11px; border-radius:26px; }
.planner-title { gap:8px; margin-block-end:15px; }
.planner-title > div { flex:1; min-width:0; }
.planner-title h2 { font-size:15px; font-weight:700; }
.planner-title p { font-size:11px; font-weight:450; margin-block-start:4px; }
.tint-icon { border:1px solid #ffffffd9; border-radius:13px; background:linear-gradient(140deg,#ffffff,#e3f3e4); box-shadow:inset 0 1px 0 #fff,0 3px 8px #35553d08; }
.planner .chips { margin-inline:-14px; padding-inline:14px; margin-block-start:10px; }
.input-wrap { border-color:#e0e8e480; background:#ffffff80; border-radius:15px; box-shadow:inset 0 1px 3px #244c3305; }
.input-wrap input { padding-block:12px; }
.chip { font-weight:550; min-height:34px; padding:7px 10px; }
.chip .icon { color:var(--green-strong); }
.chip[aria-pressed="true"] { border-color:#9cd49b99; background:linear-gradient(135deg,#f4fff3,#dff1df); box-shadow:inset 0 1px 0 #fff,0 2px 7px #40cb370b; }
.primary,.secondary { border-radius:16px; font-weight:650; transition:transform .22s ease,box-shadow .22s ease,background .22s ease; }
.primary {
  color:#235c30; border:1px solid #97d79899;
  background:linear-gradient(135deg,#f1ffed,#d0eecb 70%,#c1e8ba);
  box-shadow:inset 0 1px 0 #ffffffed,inset 0 -1px 0 #83bd7938,0 4px 12px #5b99521a;
}
.primary:active { background:#d4edcf; transform:scale(.97); }
.text-button { font-weight:600; }
.link-pill { border-radius:12px; padding-inline:9px; font-weight:600; }
.card-rail { gap:13px; grid-auto-columns:minmax(145px,46%); padding-block:3px 12px; }
.travel-card { border-radius:23px; padding:6px; }
.travel-card img { height:112px; border-radius:18px; }
.travel-card-body { padding:11px 7px 9px; gap:6px; }
.travel-card h3 { font-weight:680; }
.travel-card p { font-weight:500; }
.check-in-list { border-radius:25px; padding-inline:13px; }
.check-in-row { padding-block:12px; }
.check-in-place img { width:56px; height:56px; border-radius:16px; }
.check-in-place strong { font-weight:650; }
.check-in-place small { line-height:1.5; }
.check-in-progress { background:#e7f3e7; font-weight:600; }
.visit-compact { color:var(--green-strong); }
.visit-compact .icon { border:1px solid #fff; background:linear-gradient(130deg,#fff,#e5f1e7); box-shadow:0 2px 6px #294d3410; }
.visit-compact[aria-pressed="true"] .icon,.visit-button.secondary[aria-pressed="true"] { color:#24562e; background:#d7eed3; }
.tools-grid { gap:13px; }
.utility-card { position:relative; overflow:hidden; border-radius:26px; min-height:158px; padding:16px; background:radial-gradient(ellipse at 100% 0,var(--tile),transparent 75%),var(--glass); }
.utility-card::after { content:""; position:absolute; pointer-events:none; inset:0; border-radius:inherit; background:linear-gradient(120deg,transparent 20%,#ffffff8c 48%,transparent 70%); opacity:0; transform:translateX(-65%); transition:transform .7s ease,opacity .35s ease; }
.utility-icons .tint-icon { width:43px; height:43px; border-radius:15px; border-color:#fff; background:linear-gradient(145deg,#fff,var(--tile)); }
.utility-icons > .icon { opacity:.45; width:14px; }
.utility-copy { gap:6px; }
.utility-copy strong { font-weight:680; }
.utility-copy > span { font-size:12px; line-height:1.55; }
.surface,.place-card { border-radius:24px; }
.surface { padding:16px; }
.place-list { gap:13px; }
.place-card .place-art { margin:7px; border-radius:18px; overflow:hidden; width:25%; }
.place-card .place-body { padding-inline-start:6px; }
.field input,.field textarea,.field select { background:#ffffffa8; border-color:#dae4de99; border-radius:14px; }
.field select {
  -webkit-appearance:none;
  appearance:none;
  padding-block:10px;
  padding-inline:12px 40px;
  line-height:1.4;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361716b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-size:16px 16px;
  background-position:right 12px center;
}
[dir="rtl"] .field select { background-position:left 12px center; }
.preferences > summary { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; }
.preferences > summary::-webkit-details-marker { display:none; }
.preferences > summary::after { content:""; flex:none; width:8px; height:8px; margin-inline-end:5px; border-right:1.7px solid var(--muted); border-bottom:1.7px solid var(--muted); transform:translateY(-2px) rotate(45deg); transition:transform .2s ease; }
.preferences[open] > summary::after { transform:translateY(2px) rotate(225deg); }
.language .icon:last-child { width:14px; height:14px; margin-inline-start:3px; }
.mobile-nav {
  bottom:calc(12px + env(safe-area-inset-bottom)); width:min(calc(100% - 28px),444px); padding:7px 5px;
  border:1px solid #ffffffeb; border-radius:29px;
  background:linear-gradient(140deg,#ffffffc9,#ffffff85 50%,#ffffffb3);
  -webkit-backdrop-filter:blur(28px) saturate(165%); backdrop-filter:blur(28px) saturate(165%);
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 #ffffff99,0 10px 35px #263e3924,0 2px 6px #263e3908;
}
.mobile-nav a { min-height:49px; gap:3px; font-size:10px; font-weight:550; border-radius:23px; transition:background .25s ease,transform .25s ease; }
.mobile-nav a:active { transform:scale(.94); }
.mobile-nav a[aria-current="page"] { background:linear-gradient(140deg,#f4fff5,#dcefdc99); box-shadow:inset 0 1px 0 #fff,0 2px 5px #294c3410; color:#2d6c3a; font-weight:700; }
.mobile-nav a[aria-current="page"] .nav-icon,.mobile-nav .agent-tab[aria-current="page"] .nav-icon { background:transparent; border-color:transparent; color:inherit; }
.agent-tab .nav-icon { border-color:transparent; color:var(--green-strong); }
.nav-icon { width:40px; height:25px; }
.mobile-nav .icon { width:21px; height:21px; }
.footer { border-color:#dde6e180; padding-block:20px calc(112px + env(safe-area-inset-bottom)); margin-block-start:35px; }
.footer-brand { gap:10px; }
.footer-brand .brand-logo { --logo-size:47px; }
.agent-landing { padding:44px 20px 32px; border-radius:32px; gap:15px; background:radial-gradient(ellipse at 20% 0,#e0f3e2a3,transparent 65%),radial-gradient(ellipse at 100% 20%,#e6edf9a1,transparent 70%),var(--glass); }
.agent-landing h1 { font-size:31px; }
.agent-landing > p { font-size:13px; line-height:1.75; }
.agent-landing .primary { min-height:48px; padding-inline:20px; border-radius:100px; }
.agent-orb {
  color:#397b4a; border:1px solid #fff; width:76px; height:76px;
  background:radial-gradient(circle at 28% 22%,#fff 0%,#ffffffb3 13%,transparent 40%),radial-gradient(circle at 72% 80%,#93cfa696,transparent 62%),conic-gradient(from 40deg,#ecf9f3,#d1e4ee,#e6f4d6,#d8efdf,#ecf9f3);
  box-shadow:inset 0 0 14px #ffffffd9,inset -3px -5px 9px #8cb89d40,0 8px 26px #4978591a,0 0 0 7px #ffffff60;
}
.agent-orb::before { content:""; position:absolute; inset:6px; border:1px solid #ffffff85; border-radius:inherit; pointer-events:none; }
.agent-landing .agent-orb { margin-block-end:10px; }
@keyframes orb-breathe { 50% { transform:translateY(-4px) scale(1.025); box-shadow:inset 0 0 14px #ffffffd9,inset -3px -5px 9px #8cb89d40,0 13px 30px #49785920,0 0 0 10px #ffffff40; } }
.agent-shortcuts { gap:9px; justify-content:center; margin-block-start:20px; }
.agent-shortcuts .chip { padding:11px 14px; }
.agent-profile .agent-orb { box-shadow:inset 0 0 8px #fff,0 0 0 3px #ffffff80; }
.bubble.user { color:#2b5934; background:linear-gradient(135deg,#eaf8e7,#d9ecd5); border:1px solid #fff; }
.agent-result { background:#ffffff90; border-color:#fff; border-radius:19px; }
.agent-thinking { color:var(--green-strong); }
.voice-button { border:1px solid #fff; background:linear-gradient(135deg,#fff,#e4f1e4); border-radius:50%; box-shadow:var(--glass-shadow); }
dialog { background:#f6f9f7ed; border:1px solid #ffffffd9; border-radius:30px 30px 0 0; box-shadow:0 -12px 60px #213b3326,inset 0 1px 0 #fff; -webkit-backdrop-filter:blur(28px) saturate(140%); backdrop-filter:blur(28px) saturate(140%); }
dialog[open] { animation:sheet-in .32s cubic-bezier(.2,.8,.2,1); }
dialog::backdrop { background:#203d382e; -webkit-backdrop-filter:blur(7px); backdrop-filter:blur(7px); }
.modal-top { background:#f8fbf7e0; padding:16px; border-color:#e0e8e480; -webkit-backdrop-filter:blur(20px); backdrop-filter:blur(20px); }
.modal-body { gap:15px; }
.conditions,.tip,.result,.social-review { border-color:#ffffffd9; border-radius:19px; background:#ffffff90; }
.toast { bottom:calc(95px + env(safe-area-inset-bottom)); }
@keyframes sheet-in { from { opacity:0; transform:translateY(25px); } to { opacity:1; transform:translateY(0); } }
@media (hover:hover) and (pointer:fine) {
  .utility-card:hover::after { transform:translateX(65%); opacity:1; }
  .utility-card:hover { box-shadow:inset 0 1px 0 #fff,0 14px 30px #38534416; }
  .primary:hover { box-shadow:inset 0 1px 0 #fff,0 6px 17px #5b99522b; }
}
@media (max-width:359px) {
  .feature-card { min-height:205px; padding:12px; }
  .feature-copy { padding:10px 12px; }
  .feature-copy strong { font-size:22px; }
  .planner-title { display:grid; grid-template-columns:38px minmax(0,1fr); }
  .planner-title > .link-pill { grid-column:2; justify-self:start; margin-inline-start:0; min-height:34px; }
  .utility-card { padding:13px; }
  .agent-landing h1 { font-size:27px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .mobile-nav,.language-menu,dialog,.modal-top { background:#f9fcf9; }
  .feature-copy { background:#183a3acc; }
}
@media (prefers-reduced-transparency:reduce) {
  .mobile-nav,.planner,.surface,.travel-card,.check-in-list,.place-card,.utility-card,.agent-landing,dialog,.modal-top,.language-menu { background:#f8fbf8; -webkit-backdrop-filter:none; backdrop-filter:none; }
  .feature-copy { background:#183a3acc; -webkit-backdrop-filter:none; backdrop-filter:none; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition:none!important; animation:none!important; }
}

.live-translator { display:grid; justify-items:center; gap:10px; padding:22px 16px 18px; border:1px solid #fff; border-radius:26px; text-align:center; background:radial-gradient(ellipse at 20% 0,#e1f4df,transparent 70%),var(--glass); box-shadow:var(--glass-shadow); }
.live-badge { display:inline-flex; align-items:center; gap:5px; font-size:11px; font-weight:650; color:var(--green-strong); }
.live-badge .icon { width:14px; height:14px; }
.live-translator h3 { font-size:24px; font-weight:700; letter-spacing:-.025em; margin:0; }
.live-translator > .note { max-width:34ch; }
.live-wave { --level:0; display:flex; align-items:center; justify-content:center; gap:5px; height:48px; padding:5px; }
.live-wave i { display:block; width:5px; height:8px; border-radius:10px; background:#95bc99; transition:height .1s ease,background .2s ease; }
.live-wave[data-active="true"] i { height:calc(8px + var(--level) * var(--wave) * 13px); background:var(--green); }
.live-listen { min-width:174px; border-radius:100px; min-height:48px; }
.live-listen[aria-pressed="true"] { background:linear-gradient(135deg,#fff,#e9efec); color:var(--ink); border-color:#c8d7cd; }
.live-transcript { display:grid; gap:12px; max-height:270px; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:2px; }
.live-transcript:empty { display:none; }
.live-segment { display:grid; gap:7px; padding:15px; border-radius:20px; background:#ffffffad; border:1px solid #fff; }
.live-source-label,.live-target-label { font-size:10px; font-weight:650; color:var(--muted); }
.live-target-label { color:var(--green-strong); padding-block-start:7px; border-block-start:1px solid var(--line); }
.live-source { font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.live-segment output { font-size:17px; line-height:1.6; font-weight:600; overflow-wrap:anywhere; }
.live-segment output[data-live-pending] { font-size:12px; color:var(--muted); font-weight:400; }
.live-segment .text-button { justify-self:start; min-height:34px; padding:4px 0; }
.live-manual { padding:12px 0 0; border-block-start:1px solid var(--line); }
.live-manual summary { color:var(--green-strong); cursor:pointer; font-size:13px; font-weight:600; min-height:36px; }
.live-manual .field { margin-block:8px 12px; }
