:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background: #eef1ef;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #eef1ef; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.phone {
  width: min(100%, 402px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: none;
  background: #fff;
  box-shadow: 0 0 36px rgb(26 46 38 / 9%);
}

.site-header {
  height: 138px;
  padding: 76px 21px 0;
  background: #fff;
}

.parent-brand {
  display: block;
  margin-top: 3px;
  color: #63716b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand {
  display: inline-block;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
}

.home-hero {
  position: relative;
  width: calc(100% - 79px);
  height: 459px;
  margin: 23px 42px 0;
  overflow: hidden;
}

.image-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgb(30 118 130 / 20%), rgb(242 190 104 / 32%)),
    radial-gradient(circle at 24% 24%, #cce9df 0 18%, transparent 19%),
    linear-gradient(160deg, #83c6c8 0 49%, #e7d3a5 50% 66%, #78a569 67%);
}
.image-shell::after {
  content: "Pocket Oahu";
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgb(255 255 255 / 82%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.image-shell img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.hero-image { width: 100%; height: 100%; }
.home-nav { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 24px; gap: 30px; }
.home-nav:has(.itinerary-link) { padding-top: 24px; gap: 30px; }
.home-nav a {
  width: 202px;
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgb(217 217 217 / 47%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 4px 4px rgb(0 0 0 / 25%);
  backdrop-filter: blur(2px);
  transition: transform 160ms ease, background 160ms ease;
}
.home-nav a:hover, .home-nav a:focus-visible { transform: scale(1.035); background: rgb(100 112 104 / 58%); }
.welcome { width: 304px; margin: 35px auto 84px; font-size: 16px; line-height: 1.27; font-weight: 700; }

.swipe-hint {
  width: max-content;
  max-width: calc(100% - 48px);
  margin: -58px auto 28px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgb(238 241 239 / 92%);
  color: #53615a;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}

.guide-view { padding-bottom: 50px; }
.guide-view .swipe-hint { margin: 18px auto 0; }
.guide-view .site-header { height: 128px; padding-left: 28px; }
.page-heading { display: flex; align-items: center; gap: 12px; padding: 11px 24px 0; }
.page-heading a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #f0f2f0; font-size: 17px; text-decoration: none; }
.page-heading h1 { margin: 0; font-size: 20px; text-shadow: 0 4px 4px rgb(0 0 0 / 18%); }
.guide-section { padding: 19px 41px 0; }
.guide-section h2 { margin: 0 0 19px -17px; font-size: 20px; line-height: 1.2; text-shadow: 0 4px 4px rgb(0 0 0 / 25%); }
.guide-section + .guide-section { padding-top: 43px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.place-card { margin: 0; }
.place-card h3 { margin: 0 0 6px; font-size: 12px; line-height: 1.25; font-weight: 400; }
.place-card .image-shell { width: 100%; aspect-ratio: 4 / 3; }
.destination-image { display: block; }
.placeholder-image { display: grid; place-items: center; min-height: 132px; border: 1px dashed rgb(67 126 113 / 40%); }
.placeholder-image::after { display: none; }
.placeholder-image span { position: relative; z-index: 1; padding: 16px; color: #2e665a; font-size: 13px; font-weight: 800; line-height: 1.35; text-align: center; text-shadow: 0 1px 0 rgb(255 255 255 / 65%); }
.placeholder-card h3 { font-weight: 700; }
.place-card.landscape .image-shell { aspect-ratio: 300 / 176; }
.place-card.tall .image-shell { aspect-ratio: 3 / 4; }
.parking-info { margin-top: 9px; padding: 11px 12px; border-radius: 12px; background: #f0f6f3; }
.parking-info p { margin: 0; color: #53615b; font-size: 11px; line-height: 1.4; }
.card-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 8px; margin-top: 9px; }
.map-button { min-height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / 80%); border-radius: 999px; background: linear-gradient(135deg, rgb(223 242 237 / 76%), rgb(126 188 175 / 58%)); color: #174b42; font-size: 12px; font-weight: 800; text-decoration: none; text-shadow: 0 1px 0 rgb(255 255 255 / 55%); box-shadow: 0 6px 16px rgb(72 132 119 / 20%), inset 0 1px 0 rgb(255 255 255 / 72%); -webkit-backdrop-filter: blur(7px) saturate(125%); backdrop-filter: blur(7px) saturate(125%); transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.map-button:hover, .map-button:focus-visible { transform: scale(1.025); background: linear-gradient(135deg, rgb(214 239 232 / 84%), rgb(102 171 157 / 68%)); color: #103f37; box-shadow: 0 7px 18px rgb(72 132 119 / 25%), inset 0 1px 0 rgb(255 255 255 / 78%); }
.registration-button { background: linear-gradient(135deg, rgb(211 238 231 / 78%), rgb(105 176 161 / 62%)); }
.registration-button:hover, .registration-button:focus-visible { background: linear-gradient(135deg, rgb(201 233 225 / 86%), rgb(84 158 143 / 72%)); }
.mixed .card-grid { grid-template-columns: 1fr 1fr; column-gap: 41px; }
.mixed .place-card:not(.portrait) { grid-column: 1 / -1; }
.mixed .place-card.portrait .image-shell { aspect-ratio: 139 / 185; }
.mixed .place-card h3 { min-height: 30px; }
.mixed .place-card:not(.portrait) h3 { min-height: auto; }

.itinerary-view { padding-bottom: 50px; }
.itinerary-view .site-header { height: 128px; padding-left: 28px; }
.itinerary-intro, .itinerary-form, .itinerary-result { padding-inline: 24px; }
.itinerary-intro p { margin: 18px 0 22px; color: #50605a; font-size: 14px; line-height: 1.45; }
.planner-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 25px; }
.planner-settings label { display: grid; gap: 7px; font-size: 12px; font-weight: 750; }
.planner-settings select { width: 100%; min-height: 44px; border: 1px solid #cdd6d1; border-radius: 12px; padding: 0 10px; background: #fff; color: #17221e; font: inherit; }
.itinerary-form fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.itinerary-form legend { margin-bottom: 12px; font-size: 18px; font-weight: 800; }
.choice-grid { display: grid; gap: 9px; }
.choice-card { position: relative; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1px solid #dbe2de; border-radius: 13px; background: #f8faf9; font-size: 13px; line-height: 1.25; cursor: pointer; }
.choice-card:has(input:checked) { border-color: #287f73; background: #e6f3ef; box-shadow: inset 0 0 0 1px #287f73; }
.choice-card input { width: 19px; height: 19px; margin: 0; accent-color: #287f73; }
.planner-message { min-height: 20px; margin: -5px 0 8px; color: #9c392f; font-size: 13px; font-weight: 700; }
.generate-button { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #1f7167; color: #fff; font-size: 16px; font-weight: 800; box-shadow: 0 7px 20px rgb(31 113 103 / 22%); cursor: pointer; }
.generate-button:active { transform: translateY(1px); }
.itinerary-result { scroll-margin-top: 18px; }
.result-heading { margin: 36px 0 17px; }
.result-heading .eyebrow { margin: 0 0 4px; color: #287f73; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.result-heading h2 { margin: 0; font-size: 21px; }
.day-plan { margin-bottom: 14px; padding: 17px; border-radius: 17px; background: #f0f6f3; }
.day-plan h3 { margin: 0 0 12px; color: #1f7167; font-size: 17px; }
.day-plan ol { display: grid; gap: 13px; margin: 0; padding-left: 21px; }
.day-plan li { padding-left: 3px; font-size: 13px; }
.day-plan li strong, .day-plan li span { display: block; }
.day-plan li span { margin-top: 3px; color: #5b6863; line-height: 1.35; }
.plan-note { margin: 16px 0 4px; color: #66736e; font-size: 12px; line-height: 1.4; }
.itinerary-view .swipe-hint { margin: 24px auto 0; }

.site-footer {
  margin-top: 46px;
  padding: 27px 24px calc(30px + env(safe-area-inset-bottom));
  background: #f0f6f3;
  color: #53615b;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
.site-footer .footer-brand { margin: 0 0 10px; color: #174b42; font-size: 13px; font-weight: 850; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-bottom: 13px; }
.site-footer nav a { color: #1f7167; font-size: 11px; font-weight: 800; }
.site-footer p { margin: 8px auto 0; max-width: 320px; }
.home-view .site-footer { margin-top: 0; }

.info-view { padding-bottom: 0; }
.info-view .site-header { height: 128px; padding-left: 28px; }
.info-content { padding: 24px 28px 12px; color: #43514b; font-size: 13px; line-height: 1.65; }
.info-content p { margin: 0 0 18px; }
.info-content strong { color: #173f37; }

@media (min-width: 720px) {
  body { padding: 28px 0; }
  .phone { min-height: calc(100vh - 56px); border-radius: 24px; }
}

@media (max-width: 360px) {
  .home-hero { width: calc(100% - 48px); margin-inline: 24px; }
  .guide-section { padding-inline: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
