@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{font-family:"Plus Jakarta Sans",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a;background:#f7f9fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--blue:#0056ff;--blue-dark:#0043c8;--sky:#38bdf8;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--paper:#fff;--green:#10b981;--coral:#ef4444;--shadow:0 4px 20px -2px rgba(15,23,42,.05),0 2px 6px -1px rgba(15,23,42,.03)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;min-width:320px;background:#f7f9fb}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(56,189,248,.58);outline-offset:2px}
.site-header{height:78px;padding:0 max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(255,255,255,.84);border-bottom:1px solid rgba(226,232,240,.75);backdrop-filter:blur(16px);position:sticky;top:0;z-index:10}
.brand{display:inline-flex;align-items:center;gap:10px;flex:none}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;color:white;background:linear-gradient(145deg,#2563eb,#0042c8);box-shadow:0 5px 12px rgba(0,86,255,.24)}
.brand-mark svg{width:27px;height:27px}
.brand-copy{display:flex;flex-direction:column;line-height:1.08}
.brand-copy strong{font-size:15px;letter-spacing:-.045em;font-weight:800}
.brand-copy>span{font-size:8px;color:#8a96a8;letter-spacing:.15em;font-weight:700;margin-top:4px}
.desktop-nav{display:flex;align-items:center;gap:35px;margin-left:auto;margin-right:28px}
.desktop-nav a{font-size:13px;color:#586579;font-weight:600;transition:color .2s}
.desktop-nav a:hover{color:var(--blue)}
.header-cta{height:40px;padding:0 17px;border-radius:99px;background:#eef4ff;color:#174bb8;display:flex;align-items:center;gap:11px;font-size:12px;font-weight:700}
.header-cta span{font-size:15px}
.hero{max-width:1240px;padding:68px 24px 74px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(450px,.94fr);align-items:center;gap:clamp(40px,7vw,104px);min-height:770px}
.hero-copy{padding:20px 0 30px}
.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#3867c6;font-size:10px;letter-spacing:.12em;font-weight:800}
.sparkle{font-size:15px;color:#22a9ed}
.hero h1{font-size:clamp(36px,4.1vw,55px);line-height:1.18;letter-spacing:-.055em;font-weight:800;margin:20px 0 17px}
.hero h1 span{color:var(--blue)}
.hero-description{max-width:440px;margin:0;color:#64748b;font-size:15px;line-height:1.85;word-break:keep-all}
.hero-points{display:flex;flex-direction:column;gap:14px;margin-top:31px}
.hero-points>div{display:flex;align-items:center;gap:12px;color:#334155;font-size:13px;font-weight:600}
.point-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eaf1ff;color:#2361db;font-size:19px;font-weight:700}
.point-green{background:#e7f8f1;color:#0b9e70;font-size:14px}
.mini-proof{display:flex;gap:12px;align-items:center;margin-top:42px}
.avatar-stack{display:flex;padding-left:2px}
.avatar-stack span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:2px solid #f7f9fb;margin-left:-3px;color:#fff;background:#3778ec;font-size:12px}
.avatar-stack span:nth-child(2){background:#18a783}
.avatar-stack span:nth-child(3){background:#ffae54}
.mini-proof p{font-size:10px;color:#94a3b8;line-height:1.6;margin:0}
.mini-proof strong{color:#334155;font-size:11px}
.planner-card{padding:30px 31px 23px;background:var(--paper);border:1px solid #e9edf3;border-radius:24px;box-shadow:0 18px 55px -25px rgba(20,52,101,.20),0 4px 14px rgba(15,23,42,.035)}
.card-heading{display:flex;align-items:flex-start;justify-content:space-between;margin:0 0 21px}
.step-label{font-size:9px;letter-spacing:.14em;font-weight:800;color:#4b73bc;display:flex;align-items:center;gap:7px}
.step-label i{width:6px;height:6px;border-radius:50%;background:#45bbff;box-shadow:0 0 0 4px #e9f6ff}
.card-heading h2{font-size:21px;letter-spacing:-.04em;margin:9px 0 0;font-weight:800}
.card-sparkle{width:35px;height:35px;display:grid;place-items:center;border-radius:12px;background:#eff6ff;color:#3b82f6;font-size:20px}
.field-group{margin:0 0 17px;padding:0;border:0;min-width:0}
.field-group>label,.field-group legend,.label-line label{display:block;font-size:12px;font-weight:700;color:#273449;margin:0 0 8px}
.required{margin-left:4px;color:#8da0bb;font-weight:500;font-size:10px}
.input-wrap{height:48px;border:1px solid #dfe6ee;border-radius:11px;background:#fff;display:flex;align-items:center;padding:0 12px;gap:10px;transition:border .16s,box-shadow .16s}
.input-wrap:focus-within,.spot-entry:focus-within{border-color:#4a83ff;box-shadow:0 0 0 3px rgba(56,189,248,.15)}
.input-wrap>svg{flex:none;width:17px;height:17px;stroke:#8b99aa;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.input-wrap input,.spot-entry input{width:100%;height:100%;min-width:0;border:0;outline:0;background:transparent;color:#18263b;font-size:13px}
.input-wrap input::placeholder,.spot-entry input::placeholder{color:#a2acb9}
.char-count{flex:none;font-size:10px;color:#98a4b5}
.char-count.near-limit{color:#de7d37}
.field-error{display:none;margin:6px 0 0;font-size:10px;line-height:1.45;color:var(--coral)}
.field-group.invalid .field-error{display:block}
.field-group.invalid .input-wrap,.field-group.invalid .date-wrap{border-color:#ef7474;background:#fffafa}
.theme-field{margin-bottom:15px}
.theme-field legend{margin-bottom:8px}
.chip-row{display:flex;flex-wrap:wrap;gap:7px}
.choice-chip{min-height:34px;padding:0 11px;border:1px solid #e5eaf0;border-radius:99px;background:#fff;color:#66758a;font-size:10px;font-weight:600;transition:all .16s}
.choice-chip span{margin-right:3px}
.choice-chip:hover{border-color:#9bb8ff;color:#315cc0}
.choice-chip[aria-pressed="true"]{border-color:#0056ff;background:#eff5ff;color:#1354d3;box-shadow:0 2px 5px rgba(0,86,255,.08)}
.theme-field.invalid .choice-chip{border-color:#efcaca}
.label-line{display:flex;justify-content:space-between;align-items:center}
.label-line label{margin-bottom:8px}
.date-hint{font-size:10px;color:#97a3b4;margin-bottom:8px}
.date-inputs{display:grid;grid-template-columns:1fr 21px 1fr;align-items:center;gap:7px}
.date-wrap{padding:0 9px;gap:7px}
.date-wrap>svg{width:15px;height:15px}
.date-wrap input{font-size:11px;color:#526176}
.date-arrow{text-align:center;color:#a5b1c1;font-size:12px}
.optional-fields{border-top:1px solid #f0f2f5;padding-top:15px;margin-top:2px}
.optional-label{padding:2px 7px;border-radius:20px;background:#f1f5f9;color:#8794a5;font-size:9px;font-weight:600;margin-left:4px}
.spots-field{margin-bottom:14px}
.spot-entry{height:38px;border:1px solid #e2e8f0;border-radius:9px;display:flex;align-items:center;overflow:hidden;transition:border .16s,box-shadow .16s}
.spot-entry input{padding:0 11px;font-size:11px}
.spot-entry button{align-self:stretch;border:0;background:#f1f5f9;color:#45566f;font-size:10px;font-weight:700;padding:0 13px}
.spot-entry button:hover{background:#e8eff8}
.suggestions,.selected-spots{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.suggestions button{border:0;border-radius:99px;background:#f5f8fc;color:#738198;padding:5px 9px;font-size:9px;font-weight:600}
.suggestions button:hover{background:#e9f1ff;color:#285ac0}
.selected-spots:empty{display:none}
.spot-tag{display:inline-flex;gap:5px;align-items:center;padding:5px 8px;border-radius:99px;background:#edf4ff;color:#2d5ec4;font-size:10px;font-weight:600}
.spot-tag button{display:grid;place-items:center;width:14px;height:14px;border:0;border-radius:50%;background:transparent;color:#5475b9;font-size:12px;padding:0;line-height:1}
.preferences-row{display:grid;grid-template-columns:1fr 1.15fr;gap:14px}
.compact-group{min-width:0;margin:0 0 16px}
.compact-group legend{margin-bottom:7px}
.segmented-control{height:34px;display:flex;gap:3px;border-radius:9px;padding:3px;background:#f3f6f9}
.segmented-control button{flex:1;min-width:0;border:0;border-radius:7px;background:transparent;color:#778498;font-size:9px;font-weight:600;white-space:nowrap;padding:0 5px}
.segmented-control button[aria-pressed="true"]{background:#fff;color:#2658bf;box-shadow:0 1px 4px rgba(15,23,42,.1)}
.primary-button{width:100%;height:52px;border:0;border-radius:99px;color:#fff;background:linear-gradient(100deg,#0757f9,#1767ff);box-shadow:0 8px 18px rgba(0,86,255,.22);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:14px;transition:transform .16s,box-shadow .16s,background .16s}
.primary-button:hover{background:linear-gradient(100deg,#0049e5,#0758ef);box-shadow:0 10px 22px rgba(0,86,255,.28);transform:translateY(-1px)}
.primary-button:active{transform:scale(.985)}
.primary-button:disabled{opacity:.72;cursor:wait;transform:none}
.primary-button span:last-child{font-size:18px;font-weight:400}
.privacy-note{margin:11px 0 0;text-align:center;color:#9aa5b4;font-size:9px}
.privacy-note span{color:#66a4ff;margin-right:4px}
.trust-strip{max-width:1192px;margin:0 auto 70px;padding:25px 30px;border:1px solid #e9eef3;border-radius:16px;background:rgba(255,255,255,.72);display:flex;align-items:center;justify-content:space-between;gap:25px}
.trust-copy{display:flex;align-items:center;gap:13px}
.trust-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:#edf4ff;color:#1b66eb;font-size:19px}
.trust-copy>span:last-child{display:flex;flex-direction:column;gap:4px}
.trust-copy strong{font-size:12px}
.trust-copy small{font-size:10px;color:#8290a2}
.trust-features{display:flex;gap:25px;color:#718096;font-size:10px;font-weight:600}
.trust-features b{color:#4b7be0;font-size:9px;margin-right:5px}
.how-section{padding:40px 24px 90px;max-width:1180px;margin:auto}
.section-title{text-align:center}
.section-title .eyebrow{font-size:9px}
.section-title h2{margin:10px 0 8px;font-size:25px;letter-spacing:-.045em}
.section-title p{color:#718096;font-size:12px;margin:0}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
.step-card{position:relative;padding:24px 23px 26px;background:white;border:1px solid #e9edf2;border-radius:17px;box-shadow:0 3px 12px rgba(15,23,42,.025)}
.step-number{font-size:10px;color:#85a3e8;font-weight:800;letter-spacing:.12em}
.step-illustration{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;margin:18px 0 15px;background:#edf4ff;color:#2465e9;font-size:27px;font-weight:500}
.route-illustration{background:#e8f8f2;color:#0ba578}
.share-illustration{background:#fff4e7;color:#e89b37}
.step-card h3{font-size:14px;margin:0 0 7px}
.step-card p{font-size:11px;color:#7a8799;line-height:1.7;margin:0}
.site-footer{padding:25px max(24px,calc((100vw - 1180px)/2));border-top:1px solid #e9eef3;display:flex;align-items:center;gap:20px;color:#97a2b1;font-size:10px}
.site-footer .brand-mark{width:29px;height:29px;border-radius:9px;font-size:16px}
.site-footer .brand-copy strong{font-size:12px;color:#364254}
.site-footer .brand-copy>span{font-size:7px}
.site-footer>span{margin-left:auto}
.site-footer>small{font-size:9px}


/* Results view */
.results-screen{min-height:100vh;padding:25px max(24px,calc((100vw - 1320px)/2)) 50px}
.results-header{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;gap:20px;margin:0 auto 24px;max-width:1320px}
.back-button,.share-button,.filter-button,.breakdown-toggle{height:40px;border:1px solid #e1e8f0;border-radius:10px;background:#fff;color:#475569;font-size:11px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .16s,border .16s}
.back-button{justify-self:start;padding:0 13px}
.back-button:hover,.share-button:hover,.filter-button:hover,.breakdown-toggle:hover{border-color:#b9c9e1;background:#f9fbff}
.back-button span{font-size:16px}
.results-title{text-align:center}
.results-title .eyebrow{justify-content:center;font-size:9px}
.results-title h1{font-size:25px;letter-spacing:-.04em;margin:6px 0 4px}
.results-title p{margin:0;color:#778499;font-size:11px}
.share-button{justify-self:end;padding:0 15px;color:#26364d}
.share-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.results-layout{max-width:1320px;margin:auto;display:grid;grid-template-columns:minmax(360px,.88fr) minmax(480px,1.12fr);gap:21px;align-items:start}
.map-panel,.itinerary-panel{background:#fff;border:1px solid #e5ebf1;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.map-topline{height:52px;padding:0 17px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#334155}
.live-dot{width:7px;height:7px;border-radius:50%;background:#16bf88;box-shadow:0 0 0 4px #e6f8f1}
.map-mode{margin-left:auto;color:#8795a7;font-size:9px;font-weight:700;letter-spacing:.08em}
.map-mode b{color:#2966df;margin-left:4px}
.map-canvas{position:relative;height:clamp(400px,58vh,635px);overflow:hidden;background:#eef5f1}
.google-map{position:absolute;inset:0;width:100%;height:100%}
.google-map[hidden],.map-art[hidden],.map-controls[hidden]{display:none!important}
.map-art{width:100%;height:100%;display:block}
.map-place{font:700 12px "Plus Jakarta Sans",sans-serif;letter-spacing:2px;fill:#a3b2b0;opacity:.75}
.map-point{transition:transform .35s}
.pin-halo{fill:#3b82f6;opacity:.15;animation:pin-pulse 2.7s infinite}
.pin{fill:#fff;stroke:#0056ff;stroke-width:4}
.map-point text{font:700 11px "Plus Jakarta Sans",sans-serif;fill:#0056ff;text-anchor:middle}
.map-point.active .pin{fill:#0056ff}
.map-point.active text{fill:#fff}
.map-route-shadow{filter:url(#route-shadow);opacity:.19}
.map-floating-card{position:absolute;top:17px;left:17px;display:flex;align-items:center;gap:10px;padding:10px 12px;background:rgba(255,255,255,.96);border:1px solid rgba(226,232,240,.85);border-radius:13px;box-shadow:0 7px 22px rgba(15,23,42,.1)}
.floating-icon{display:grid;place-items:center;width:32px;height:32px;background:#eff5ff;border-radius:10px;color:#2764da;font-size:21px}
.map-floating-card>span:nth-child(2){display:grid;gap:3px}
.map-floating-card small{font-size:9px;color:#8290a2}
.map-floating-card strong{font-size:12px}
.floating-arrow{margin-left:8px;font-size:13px;color:#4976d5}
.map-controls{position:absolute;top:16px;right:16px;display:flex;flex-direction:column;gap:6px}
.map-controls button{width:32px;height:32px;border:1px solid #e0e7eb;border-radius:10px;background:#fff;color:#4a6077;font-size:17px;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.map-controls button:last-child{margin-top:5px;color:#2464e6}
.map-caption{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border:1px solid rgba(221,231,232,.8);border-radius:9px;background:rgba(255,255,255,.94);color:#7d8d99;font-size:9px;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.map-caption span{color:#36a9d5;margin-right:3px}
.map-caption a{color:#1e5bc9;font-weight:700;text-decoration:none;white-space:nowrap}
.map-caption a:hover{text-decoration:underline}
.map-legend{height:41px;padding:0 16px;display:flex;align-items:center;gap:18px;font-size:9px;color:#718096}
.map-legend>span{display:flex;align-items:center;gap:6px}
.map-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}
.legend-origin{background:#10b981}
.legend-route{height:3px!important;border-radius:2px!important;background:#0056ff;width:13px!important}
.legend-stop{background:#fff;border:2px solid #0056ff}
.itinerary-panel{padding:21px 22px 20px}
.itinerary-heading{display:flex;justify-content:space-between;align-items:center}
.itinerary-heading .eyebrow{font-size:9px}
.itinerary-heading h2{font-size:20px;margin:5px 0 0;letter-spacing:-.04em}
.filter-button{height:32px;padding:0 10px;border-radius:8px;font-size:9px}
.filter-button span,.breakdown-toggle span{font-size:13px;color:#8592a2}
.day-tabs{display:flex;gap:7px;overflow-x:auto;padding:17px 0 12px;scrollbar-width:none}
.day-tabs::-webkit-scrollbar{display:none}
.day-tab{flex:1;min-width:68px;height:47px;border:1px solid #e6ebf1;border-radius:10px;background:#fff;color:#728096;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;font-size:9px;transition:all .16s}
.day-tab b{font-size:11px;color:#38485e}
.day-tab[aria-selected="true"]{background:#eef4ff;border-color:#b8ceff;color:#2862d3}
.day-tab[aria-selected="true"] b{color:#1452ce}
.day-summary{display:flex;align-items:center;gap:10px;margin:2px 0 14px;padding:11px 12px;border-radius:11px;background:#f6f9fc}
.day-summary-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#fff4dc;color:#e3a72e}
.day-summary>div{display:grid;gap:3px}
.day-summary strong{font-size:10px}
.day-summary small{font-size:8px;color:#8794a5}
.weather-pill{margin-left:auto;padding:5px 8px;border-radius:99px;background:#fff;color:#8896a8;font-size:8px}
.weather-pill b{color:#42546b;margin-left:4px}
.timeline{position:relative;display:flex;flex-direction:column;gap:0;padding:1px 0 0 4px}
.timeline:before{content:"";position:absolute;left:18px;top:19px;bottom:22px;border-left:1px dashed #afcafc}
.place-row{position:relative;display:grid;grid-template-columns:30px 42px minmax(0,1fr) auto;gap:9px;align-items:start;padding:0 0 14px}
.place-row[data-place-index]{cursor:pointer;border-radius:8px}
.place-row[data-place-index]:hover .place-name,.place-row[data-place-index]:focus-visible .place-name{color:#0757e8}
.place-row[data-place-index]:focus-visible{outline:2px solid #77a9ff;outline-offset:2px}
.place-row:last-child{padding-bottom:6px}
.place-number{z-index:1;display:grid;place-items:center;width:29px;height:29px;border:2px solid #2771f4;border-radius:50%;background:#fff;color:#1760df;font-size:9px;font-weight:800}
.place-time{padding-top:7px;color:#8d99aa;font-size:9px;font-weight:600}
.place-details{min-width:0;padding:5px 0 0}
.place-name{font-size:11px;font-weight:700;color:#213149;line-height:1.35}
.place-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:5px;color:#8693a5;font-size:8px}
.place-category{padding:3px 6px;background:#f1f5f9;border-radius:5px;color:#66768c}
.place-cost{padding-top:5px;text-align:right;color:#0c9b70;font-size:10px;font-weight:700;white-space:nowrap}
.place-cost.free{color:#10a67c}
.reservation-badge{display:inline-flex;padding:3px 5px;border-radius:5px;background:#fff0ed;color:#e45c49;font-size:7px;font-weight:700}
.travel-leg{grid-column:3/5;margin:-6px 0 11px;padding-left:1px;color:#8190a4;font-size:8px}
.travel-leg span{color:#94a3b8;margin-right:4px}
.budget-card{margin-top:13px;padding:15px 14px 11px;border:1px solid #e6eee9;border-radius:13px;background:linear-gradient(135deg,#fbfefc,#f5fbf8)}
.budget-heading{display:flex;align-items:center;justify-content:space-between}
.budget-heading .eyebrow{font-size:8px;color:#399977}
.budget-heading h3{font-size:13px;margin:4px 0 0}
.breakdown-toggle{height:29px;padding:0 8px;background:#fff;border-color:#e5eee8;border-radius:7px;font-size:8px}
.budget-total{display:flex;align-items:baseline;gap:8px;margin:13px 0 9px}
.budget-total strong{font-size:25px;letter-spacing:-.05em;color:#0e9c70}
.budget-total span{font-size:8px;color:#91a098}
.budget-bar{display:flex;height:7px;overflow:hidden;border-radius:9px;background:#edf1ee;gap:2px}
.budget-bar span{display:block;height:100%}
.budget-transport{width:40%;background:#3b82f6}
.budget-food{width:45%;background:#10b981}
.budget-ticket{width:15%;background:#f7b84d}
.budget-legend{display:flex;justify-content:space-between;gap:5px;margin-top:9px}
.budget-legend span{display:flex;align-items:center;gap:4px;font-size:7px;color:#7c8b83;white-space:nowrap}
.budget-legend i{width:6px;height:6px;border-radius:50%}
.budget-legend b{font-size:8px;color:#4c5e54}
.transport-dot{background:#3b82f6}
.food-dot{background:#10b981}
.ticket-dot{background:#f7b84d}
.budget-detail{margin-top:11px;border-top:1px solid #e6eee9;padding-top:6px}
.budget-detail>div{display:flex;justify-content:space-between;padding:5px 0;color:#728176;font-size:9px}
.budget-detail b{color:#394b40;font-size:9px}
.budget-detail .detail-total{border-top:1px dashed #dce7df;margin-top:3px;padding-top:8px;color:#33483c;font-weight:700}
.budget-detail .detail-total b{color:#0e9c70}
.budget-note{display:flex;align-items:flex-start;gap:4px;color:#99a69f;font-size:7px;line-height:1.5;margin:10px 0 0}
.budget-note span{color:#4dae8b}
.toast{position:fixed;left:50%;bottom:26px;z-index:20;transform:translate(-50%,12px);padding:11px 16px;border-radius:99px;background:#10243f;color:#fff;box-shadow:0 8px 25px rgba(15,23,42,.2);font-size:11px;opacity:0;pointer-events:none;transition:all .22s}
.toast.show{opacity:1;transform:translate(-50%,0)}
.loading-overlay{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:20px;background:rgba(241,246,252,.83);backdrop-filter:blur(8px)}
.loading-overlay[hidden],.results-screen[hidden]{display:none}
.loading-card{width:min(100%,400px);padding:35px 30px 30px;text-align:center;background:white;border:1px solid #e8edf4;border-radius:24px;box-shadow:0 25px 65px rgba(26,62,118,.16)}
.radar{position:relative;width:82px;height:82px;margin:0 auto 19px;border-radius:50%;background:radial-gradient(circle,#e9f3ff 0 27%,#dceaff 28% 48%,#f0f6ff 49% 69%,#e1edff 70%);display:grid;place-items:center;color:#175fe0;font-size:24px}
.radar:before,.radar:after,.radar i{content:"";position:absolute;inset:7px;border:1px solid rgba(48,120,234,.17);border-radius:50%;animation:radar-expand 2.2s infinite}
.radar:after{animation-delay:.7s}
.radar i:first-of-type{animation-delay:1.4s}
.radar i:last-of-type{inset:19px;border-color:rgba(48,120,234,.2);animation:none}
.radar-core{z-index:1}
.loading-card h2{font-size:20px;letter-spacing:-.04em;margin:9px 0 7px}
.loading-card>p{font-size:11px;color:#8592a3;margin:0}
.loading-progress{height:5px;border-radius:9px;background:#edf2f8;margin:24px 0 17px;overflow:hidden}
.loading-progress i{display:block;height:100%;width:0;border-radius:9px;background:linear-gradient(90deg,#38bdf8,#0056ff);animation:progress-run 2.1s ease forwards}
.loading-steps{display:flex;justify-content:space-between;color:#a1acba;font-size:8px}
.loading-steps span{display:flex;align-items:center;gap:5px}
.loading-steps b{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#f0f3f7;font-size:8px}
.loading-steps .complete{color:#0ba779}
.loading-steps .complete b{background:#e5f8f0}
.loading-steps .current{color:#2862dc}
.loading-steps .current b{background:#eaf1ff}
.loading-overlay.is-done .loading-progress i{width:100%;animation:none;transition:width .18s}
.invalid .field-error{animation:nudge .2s ease}
.date-inputs.invalid .date-wrap{border-color:#ef7474}
@keyframes pin-pulse{0%,100%{transform:scale(.82);opacity:.12}
50%{transform:scale(1.12);opacity:.22}
}
@keyframes radar-expand{0%{transform:scale(.45);opacity:.8}
100%{transform:scale(1.35);opacity:0}
}
@keyframes progress-run{0%{width:5%}
60%{width:72%}
100%{width:91%}
}
@keyframes nudge{50%{transform:translateX(2px)}
}


@media(max-width:980px){.hero{grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:35px;padding-top:48px}
.hero h1{font-size:42px}
.planner-card{padding:26px 24px 21px}
.trust-strip{margin-left:24px;margin-right:24px}
.results-layout{grid-template-columns:minmax(300px,.85fr) minmax(390px,1.15fr);gap:14px}
.itinerary-panel{padding:18px 16px}
.budget-legend span{font-size:7px}
.budget-legend b{font-size:7px}
}

@media(max-width:760px){.site-header{height:64px;padding:0 17px}
.brand-mark{width:34px;height:34px;border-radius:11px}
.brand-copy strong{font-size:13px}
.desktop-nav{display:none}
.header-cta{height:36px;padding:0 13px;font-size:10px}
.hero{display:flex;flex-direction:column;align-items:stretch;gap:27px;padding:41px 16px 48px;min-height:0}
.hero-copy{padding:0}
.hero h1{font-size:clamp(34px,8.7vw,45px);margin:14px 0 12px}
.hero-description{font-size:13px;max-width:430px}
.hero-points{flex-direction:row;flex-wrap:wrap;gap:12px 20px;margin-top:22px}
.hero-points>div{font-size:10px;gap:7px}
.point-icon{width:24px;height:24px;border-radius:8px;font-size:16px}
.point-green{font-size:12px}
.mini-proof{display:none}
.planner-card{padding:23px 19px 19px;border-radius:20px}
.card-heading{margin-bottom:19px}
.card-heading h2{font-size:19px}
.trust-strip{margin:0 16px 45px;padding:19px 17px;align-items:flex-start;flex-direction:column;gap:15px}
.trust-copy strong{font-size:11px}
.trust-copy small{font-size:9px}
.trust-features{width:100%;justify-content:space-between;gap:8px;border-top:1px solid #edf1f5;padding-top:13px;font-size:8px}
.trust-features b{margin-right:3px;font-size:8px}
.how-section{padding:24px 16px 55px}
.section-title h2{font-size:21px}
.section-title p{font-size:10px}
.steps-grid{grid-template-columns:1fr;gap:9px;margin-top:25px}
.step-card{display:grid;grid-template-columns:37px 39px 1fr;grid-template-rows:20px auto;column-gap:10px;padding:14px;align-items:center}
.step-number{grid-row:1/3}
.step-illustration{width:36px;height:36px;grid-row:1/3;margin:0;font-size:23px}
.step-card h3{grid-column:3;align-self:end;font-size:12px;margin:0 0 2px}
.step-card p{grid-column:3;align-self:start;font-size:9px}
.site-footer{padding:20px 16px;gap:9px;flex-wrap:wrap}
.site-footer>span{margin-left:auto;font-size:9px}
.site-footer>small{width:100%;margin-left:39px}
.results-screen{padding:14px 0 30px}
.results-header{display:grid;grid-template-columns:1fr auto;gap:11px;padding:0 15px;margin-bottom:15px}
.back-button{grid-column:1;grid-row:1;height:34px;padding:0 10px;font-size:9px}
.results-title{grid-column:1/3;grid-row:2;text-align:left;margin-top:2px}
.results-title .eyebrow{justify-content:flex-start;font-size:8px}
.results-title h1{font-size:22px;margin:4px 0 3px}
.results-title p{font-size:10px}
.share-button{grid-column:2;grid-row:1;height:34px;padding:0 11px;font-size:9px}
.results-layout{display:flex;flex-direction:column;gap:12px}
.map-panel{width:100%;border-radius:0;border-left:0;border-right:0}
.map-topline{height:42px;padding:0 16px;font-size:10px}
.map-canvas{height:42vh;min-height:300px;max-height:430px}
.map-floating-card{top:12px;left:12px;padding:8px 10px}
.floating-icon{width:28px;height:28px}
.map-controls{top:12px;right:12px}
.map-controls button{width:30px;height:30px}
.map-legend{height:35px;padding:0 14px;gap:14px;font-size:8px}
.itinerary-panel{width:100%;border-radius:18px 18px 0 0;border-bottom:0;padding:18px 16px 25px;box-shadow:0 -4px 20px rgba(15,23,42,.035)}
.itinerary-heading h2{font-size:18px}
.day-tabs{padding-top:14px}
.day-tab{min-width:63px;height:43px}
.day-summary{padding:9px 10px;margin-bottom:12px}
.place-row{grid-template-columns:30px 43px minmax(0,1fr) auto;gap:8px}
.place-name{font-size:10px}
.place-meta{font-size:7px}
.place-cost{font-size:9px}
.budget-card{margin-top:12px}
.budget-total strong{font-size:23px}
.budget-legend span{font-size:8px}
.budget-legend b{font-size:8px}
.toast{bottom:calc(20px + env(safe-area-inset-bottom))}
}

@media(max-width:390px){.planner-card{padding:21px 15px 17px}
.choice-chip{padding:0 8px;font-size:9px}
.preferences-row{gap:8px}
.segmented-control button{font-size:8px;padding:0 3px}
.date-inputs{gap:4px}
.date-wrap{padding:0 7px}
.date-wrap input{font-size:10px}
.trust-features{font-size:7px}
.budget-legend{flex-wrap:wrap;row-gap:7px}
.place-row{grid-template-columns:28px 38px minmax(0,1fr) auto;gap:6px}
.place-number{width:27px;height:27px}
.timeline:before{left:17px}
.place-cost{font-size:8px}
}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

