/* Sun Panama — static one-pager. Dark surface matches the official wordmark. */

:root {
  --bg: #0b0b0b;
  --bg-elev: #141414;
  --bg-card: #161616;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4efe8;
  --muted: #b8b0a4;
  --soft: #8d867c;
  --sand: #e0c9a6;
  --sand-dim: #c4ae8a;
  --focus: #f0ddc0;
  --max: 72rem;
  --radius: 1.1rem;
  --space: 1.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--sand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--focus); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--sand);
  color: #111;
  padding: 0.5rem 0.8rem;
  z-index: 20;
  font-weight: 600;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo img {
  height: 2rem;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a:hover { color: var(--sand); }

/* Hero */
.hero {
  padding: 5.5rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 4.15rem);
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 0 1.5rem;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--sand);
  color: #16110a;
}

.btn-primary:hover { background: var(--focus); color: #111; }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--sand);
  color: var(--sand);
}

/* Sections */
section { padding: 1rem 0 5rem; }

.kicker {
  color: var(--sand-dim);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  font-weight: 560;
}

.about-copy {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.about-copy p { margin: 0 0 1rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* Cards */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-column: 1 / -1; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.card-feature {
  background:
    radial-gradient(1200px 280px at 100% 0%, rgba(224, 201, 166, 0.08), transparent 50%),
    var(--bg-elev);
}

.card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
}

.badge-soon {
  color: var(--sand);
  border-color: rgba(224, 201, 166, 0.35);
}

.card p { margin: 0; color: var(--muted); }

.host {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--soft);
  letter-spacing: 0;
}

.price-list {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  padding: 0.7rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.price-list strong {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

.fine {
  font-size: 0.9rem;
  color: var(--soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

.social-note { margin: 0; max-width: 36rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { backdrop-filter: none; }
}
