/* shipETA marketing + calculator
   Direction: Atlantic night + brass instruments — not purple, not cream-serif. */

:root {
  --ink: #061525;
  --deep: #012f5a;
  --mid: #0a4a7a;
  --foam: #c8e6e3;
  --brass: #c9a227;
  --brass-hot: #e8c547;
  --paper: #e8f0f4;
  --paper-2: #d5e4ec;
  --muted: #8aa4b5;
  --danger: #e07a5f;
  --ok: #3d9b8f;
  --glass: rgba(8, 28, 48, 0.55);
  --line: rgba(200, 230, 227, 0.14);
  --shadow: 0 24px 60px rgba(0, 10, 30, 0.45);
  --radius: 14px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foam);
  background: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brass-hot);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #fff;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 60% at 70% 20%, rgba(14, 90, 130, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(165deg, #021a33 0%, var(--deep) 42%, #021525 100%);
}

.hero__chart {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(200, 230, 227, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 230, 227, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  animation: chart-drift 48s linear infinite;
}

@keyframes chart-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 48px 48px, 48px 48px; }
}

.hero__wave {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2%;
  height: 28vh;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 100% at 50% 100%, rgba(61, 155, 143, 0.35), transparent 60%),
    radial-gradient(ellipse 80% 80% at 20% 100%, rgba(1, 47, 90, 0.9), transparent 55%);
  animation: swell 9s ease-in-out infinite alternate;
}

@keyframes swell {
  from { transform: translateY(0) scaleX(1); opacity: 0.85; }
  to { transform: translateY(-12px) scaleX(1.03); opacity: 1; }
}

.hero__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 860px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    padding-bottom: 5.5rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18%;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  max-width: 18ch;
  color: #f2f8fa;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--brass);
  color: #1a1400;
}

.btn--primary:hover {
  background: var(--brass-hot);
  color: #1a1400;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--foam);
}

.btn--ghost:hover {
  border-color: var(--foam);
  color: #fff;
}

.hero__visual {
  justify-self: center;
  position: relative;
  width: min(100%, 320px);
}

.phone {
  position: relative;
  border-radius: 28px;
  padding: 0.55rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  animation: float-phone 6.5s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.phone img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 9 / 17.5;
  object-fit: cover;
  object-position: top center;
  background: #0a2038;
}

.phone__glow {
  position: absolute;
  inset: 20% -15% -10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25), transparent 65%);
  z-index: -1;
  filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .hero__chart,
  .hero__wave,
  .phone {
    animation: none;
  }
}

/* ——— Sections ——— */
.section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 0.65rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: #f4fafb;
}

.section__sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Features — not cards; open list with rule */
.features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .feature {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
  }
}

.feature__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--foam);
}

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

/* ——— Calculator ——— */
.calc-band {
  background:
    linear-gradient(180deg, rgba(8, 40, 70, 0.55), rgba(6, 21, 37, 0.2)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 11px,
      rgba(200, 230, 227, 0.03) 11px,
      rgba(200, 230, 227, 0.03) 12px
    );
  border-block: 1px solid var(--line);
}

.calc-shell {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .calc-shell {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

.calc-panel {
  background: rgba(4, 18, 32, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.calc-tabs button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.calc-tabs button:hover {
  color: var(--foam);
  border-color: rgba(200, 230, 227, 0.35);
}

.calc-tabs button.is-active {
  background: var(--foam);
  color: var(--ink);
  border-color: var(--foam);
}

.field-grid {
  display: grid;
  gap: 0.85rem 1rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-mono);
}

.field input[type="text"],
.field input[type="number"],
.field input[type="datetime-local"] {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(232, 240, 244, 0.06);
  color: #f4fafb;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.field input:focus {
  outline: 2px solid rgba(201, 162, 39, 0.55);
  outline-offset: 1px;
  border-color: transparent;
}

.field input::-webkit-calendar-picker-indicator {
  filter: invert(0.85);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
}

.toggle input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brass);
}

.toggle span {
  font-size: 0.95rem;
  color: var(--foam);
}

.calc-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.calc-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.result-row:last-child {
  border-bottom: none;
}

.result-row--accent .result-value {
  color: var(--brass-hot);
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.result-label {
  color: var(--muted);
  font-size: 0.88rem;
}

.result-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-align: right;
  color: var(--foam);
}

.calc-warn {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(224, 122, 95, 0.12);
  border: 1px solid rgba(224, 122, 95, 0.35);
  color: #f0c4b8;
  font-size: 0.88rem;
}

.calc-output-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

/* ——— Download ——— */
.download {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .download {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.store-row a {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-row a:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-row img {
  height: 52px;
  width: auto;
}

.store-soon {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(1, 47, 90, 0.35);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.shots img {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #0a2038;
}

/* ——— Contact / footer ——— */
.contact-band {
  background: linear-gradient(180deg, transparent, rgba(1, 47, 90, 0.35));
}

.contact-block {
  display: grid;
  gap: 0.5rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--foam);
}

.contact-email:hover {
  color: var(--brass-hot);
}

.site-footer {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--foam);
}

.disclaimer {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.privacy-doc {
  max-width: 40rem;
  display: grid;
  gap: 1.15rem;
}

.privacy-doc h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0;
  color: var(--foam);
}

.privacy-doc p,
.privacy-doc li {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.privacy-doc ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.privacy-doc a {
  color: var(--brass-hot);
}

@media (max-width: 560px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}
