/* ComfyViews website: the colors of the app's evening cabin scene. */
:root {
  --night: #15182a;
  --deep: #1e2136;
  --dusk: #2c2a4a;
  --plum: #483859;
  --rose: #b55d67;
  --ember: #e4875f;
  --gold: #fdd585;
  --cream: #f7efe3;
  --mist: #c9c3d6;
  --line: rgba(247, 239, 227, 0.12);
  --card: rgba(255, 255, 255, 0.045);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 17px/1.6 "Nunito", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe6ad; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
}
.site-header.solid { position: static; background: var(--deep); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: 0.2px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,0.35); }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 15px; opacity: 0.85; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--gold); }

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 860px);
  display: flex; align-items: center;
  background: var(--dusk) url("img/hero.jpg") center bottom / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,24,42,0.78) 0%, rgba(21,24,42,0.45) 45%, rgba(21,24,42,0) 70%),
              linear-gradient(0deg, var(--night) 0%, rgba(21,24,42,0) 22%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 120px; }
.hero-copy { max-width: 560px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2.4px; font-size: 13px; font-weight: 800; color: var(--gold); margin: 0 0 14px; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; margin: 0 0 18px; font-weight: 900; letter-spacing: -0.5px; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: #ece4f2; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #2a1f16; text-decoration: none; font-weight: 800;
  padding: 14px 24px; border-radius: 999px; box-shadow: 0 8px 26px rgba(253,213,133,0.25);
}
.button:hover { background: #ffe2a3; color: #2a1f16; }
.button.ghost { background: rgba(255,255,255,0.1); color: var(--cream); box-shadow: none; border: 1px solid rgba(255,255,255,0.22); }
.button.ghost:hover { background: rgba(255,255,255,0.16); color: var(--cream); }
.soon { font-size: 14px; color: var(--mist); }

/* Sections */
section { padding: 84px 0; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 0 0 14px; font-weight: 900; }
.section-lede { color: var(--mist); max-width: 640px; margin: 0 0 40px; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--ember), var(--rose)); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; stroke: #fff6e8; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--mist); font-size: 16px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.picture { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.45); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: #e9e2ef; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%232a1f16' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.business { background: linear-gradient(180deg, var(--night), var(--deep)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tag { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ember); margin-bottom: 10px; }

.privacy-note { text-align: center; }
.privacy-note p { max-width: 640px; margin: 0 auto 22px; color: var(--mist); font-size: 18px; }

/* Text pages */
.page { padding: 56px 0 90px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.page .updated { color: var(--mist); margin: 0 0 36px; font-size: 15px; }
.page h2 { font-size: 24px; margin: 40px 0 10px; }
.page p, .page li { color: #e6dfec; }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 8px; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--gold); font-weight: 600; }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 16px; }
details p { margin: 0 0 10px; }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; }
.contact p { margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--mist); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--mist); text-decoration: none; }
.foot a:hover { color: var(--gold); }
.small { font-size: 12.5px; opacity: 0.8; margin-top: 14px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { background-position: 72% bottom; }
  .hero::after { background: linear-gradient(180deg, rgba(21,24,42,0.82) 0%, rgba(21,24,42,0.55) 55%, var(--night) 100%); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14px; }
  .brand span { display: none; }
  section { padding: 60px 0; }
  .hero .wrap { padding-top: 100px; padding-bottom: 80px; }
}
.hero + section { padding-top: 36px; }
