/* Matches double-shore.com: full-bleed indigo, General Sans at weight 500 with tight tracking,
   lime used for emphasis only, thin outlined pill controls, no cards. */
@font-face { font-family: "General Sans"; font-weight: 400; font-display: swap; src: url(assets/GeneralSans-400.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-display: swap; src: url(assets/GeneralSans-500.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-display: swap; src: url(assets/GeneralSans-600.woff2) format("woff2"); }

:root {
  --indigo: #2027b7;
  --indigo-d: #171c86;
  --lime: #cfff5e;
  --ink: #332848;
  --white: #fff;
  --soft: rgba(255, 255, 255, .86);
  --line: rgba(255, 255, 255, .75);
  --font: "General Sans", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--indigo); color: var(--white); font: 400 18px/1.6 var(--font); min-height: 100vh; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
[hidden] { display: none !important; }

.top { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 18px max(24px, 4vw); }
.brand img { height: 40px; width: auto; display: block; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 500; }

.page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); padding: 24px max(24px, 4vw) 80px; max-width: 1400px; margin: 0 auto; }
.host { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
h1 { font-size: clamp(3.4rem, 8vw, 7rem); line-height: .95; letter-spacing: -.03em; font-weight: 500; margin: 0; }
.about { color: var(--lime); font-weight: 500; margin: 0; max-width: 30ch; font-size: 1.15rem; line-height: 1.5; }
.who { display: flex; align-items: center; gap: 16px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.who b { display: block; font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
.who span { color: var(--soft); font-size: 16px; }
.meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.meta li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 16px; font-weight: 500; }
.meta #picked { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.stage { min-width: 0; padding-top: 10px; }
h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; margin: 0 0 24px; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.pick.has-times { grid-template-columns: minmax(0, 1.5fr) minmax(190px, 1fr); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head b { font-weight: 500; font-size: 1.2rem; }
.nav { display: flex; gap: 8px; }
.icon { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; cursor: pointer; }
.icon:hover:not(:disabled) { background: var(--white); color: var(--indigo); }
.icon:disabled { opacity: .5; cursor: not-allowed; }
.dow, .grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.dow span { text-align: center; font-size: 14px; color: var(--soft); padding-bottom: 6px; }
.day { aspect-ratio: 1; max-height: 56px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .66); display: grid; place-items: center; cursor: default; position: relative; font-weight: 400; }
.day.avail { border-color: var(--line); color: var(--white); font-weight: 500; cursor: pointer; }
.day.avail:hover { background: var(--white); color: var(--indigo); border-color: var(--white); }
.day.sel, .day.sel:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.day.today::after { content: ""; position: absolute; bottom: 8px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.tz { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tz label { color: var(--soft); }
select, input, textarea { width: 100%; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
option { color: var(--ink); background: var(--white); }
textarea { border-radius: 24px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--lime); outline: none; box-shadow: 0 0 0 1px var(--lime); }

.times { display: flex; flex-direction: column; gap: 16px; max-height: 560px; }
.times-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.times-head b { font-weight: 500; }
.fmt { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.fmt button { border: 0; background: none; padding: 3px 12px; font-size: 14px; cursor: pointer; color: var(--soft); }
.fmt button[aria-pressed="true"] { background: var(--white); color: var(--indigo); font-weight: 500; }
.slots { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.5) transparent; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 2px 6px 2px 2px; }
.slot { display: grid; grid-template-columns: 1fr; gap: 8px; }
.slot.sel { grid-template-columns: 1fr 1fr; }
.slot button { padding: 12px 10px; border-radius: 999px; font-weight: 500; cursor: pointer; border: 1px solid var(--line); background: transparent; }
.slot button:hover { background: var(--white); color: var(--indigo); border-color: var(--white); }
.slot.sel .time, .slot.sel .time:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.slot .next { background: var(--white); border-color: var(--white); color: var(--indigo); }
.slot .next:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.empty { color: var(--soft); }

.form { max-width: 480px; display: flex; flex-direction: column; gap: 6px; }
.form label { color: var(--soft); margin-top: 14px; font-size: 15px; }
.back { align-self: flex-start; display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: none; padding: 6px 16px 6px 8px; border-radius: 999px; cursor: pointer; margin-bottom: 20px; font-size: 15px; font-weight: 500; }
.back:hover { background: var(--white); color: var(--indigo); }
.primary { margin-top: 24px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; cursor: pointer; align-self: flex-start; }
.primary:hover { background: var(--white); }
.primary:disabled { opacity: .6; cursor: wait; }
.error { margin: 10px 0 0; color: var(--lime); font-weight: 500; }

.done { max-width: 520px; }
.done h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.03em; color: var(--lime); margin-bottom: 14px; }
.done p { color: var(--soft); margin: 0; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; border-top: 1px solid var(--line); margin: 32px 0 0; padding-top: 24px; }
.summary dt { color: var(--soft); }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.summary a { color: var(--lime); font-weight: 500; }

@media (max-width: 900px) {
  .page { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
  .pick.has-times { grid-template-columns: minmax(0, 1fr); }
  .times { max-height: none; }
}
@media (prefers-reduced-motion: no-preference) { .times, .form, .done { animation: in .25s ease-out; } @keyframes in { from { opacity: 0; transform: translateY(6px); } } }

/* time zone combobox */
.combo { position: relative; }
.combo-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; text-align: left; }
.combo-btn:hover { background: rgba(255, 255, 255, .08); }
.combo-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.combo-pop { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); background: var(--indigo-d); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); }
.combo-pop input { padding: 9px 16px; font-size: 16px; margin-bottom: 8px; }
.combo-pop ul { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 240px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .5) transparent; }
.combo-pop li { padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 16px; }
.combo-pop li.active { background: var(--white); color: var(--indigo); }
.combo-pop li[aria-selected="true"] { background: var(--lime); color: var(--ink); font-weight: 500; }
.combo-pop li.none { color: var(--soft); cursor: default; }

.ts { margin-top: 18px; min-height: 0; }

/* profile blocks */
.who span { color: var(--soft); font-size: 16px; }
.bio { margin: 0; max-width: 46ch; color: var(--soft); font-size: 1.05rem; line-height: 1.55; }
.creds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { border: 1px solid var(--lime); color: var(--lime); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 500; }
.help h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--soft); font-weight: 500; }
.help ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; max-width: 46ch; }
.help li { padding-left: 22px; position: relative; }
.help li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--lime); }
.track { margin: 0; max-width: 46ch; color: var(--soft); font-size: 15px; }
.pill-link { border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 15px; font-weight: 500; color: var(--white); text-decoration: none; }
.pill-link:hover { background: var(--white); color: var(--indigo); }
.avatar.initials { background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 32px; }
