/*
  Official Astramar website palette  -  modern maritime direction.
  The noindex cargo experiments retain their own isolated stylesheets.
*/

:root {
  --ink: #132033;
  --muted: #536274;
  --line: #dfe4e6;
  --panel: #ffffff;
  --soft: #f4f1ec;
  --navy: #132033;
  --navy-2: #1e2d42;
  --blue: #176f72;
  --blue-2: #2c989a;
  --violet: #58718c;
  --green: #2c989a;
  --amber: #d88b37;
  --red: #e46c52;
  --radius: 18px;
  --shadow: 0 24px 64px rgba(19, 32, 51, .11);

  --official-harbor-navy: #132033;
  --official-water-teal: #2c989a;
  --official-signal-coral: #e46c52;
  --official-cargo-amber: #d88b37;
  --official-mineral-blue: #58718c;
  --official-warm-canvas: #f4f1ec;
}

body {
  background: #fbfaf8;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline-color: var(--official-signal-coral);
}

.section-muted {
  background: var(--official-warm-canvas);
}

.site-header.scrolled,
.site-header[data-header].scrolled {
  border-color: rgba(19, 32, 51, .1);
  background: rgba(251, 250, 248, .92);
  box-shadow: 0 10px 28px rgba(19, 32, 51, .06);
}

.brand-mark {
  border-color: rgba(19, 32, 51, .12);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(19, 32, 51, .09);
}

.primary-nav > a {
  color: #526174;
}

.primary-nav > a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--official-water-teal);
}

.button {
  border-radius: 13px;
}

.button-primary {
  background: var(--official-harbor-navy);
  box-shadow: 0 13px 28px rgba(19, 32, 51, .18);
}

.button-primary:hover {
  background: #1d3048;
  box-shadow: 0 17px 34px rgba(19, 32, 51, .22);
}

.button-secondary,
.button-ghost {
  border-color: rgba(19, 32, 51, .14);
  background: rgba(255, 255, 255, .78);
}

.button-secondary:hover {
  border-color: rgba(44, 152, 154, .5);
  box-shadow: 0 10px 24px rgba(19, 32, 51, .08);
}

.button-disabled {
  color: #778291;
  border-color: #dce1e3;
  background: #eceeea;
}

.hero {
  min-height: 900px;
  background:
    radial-gradient(circle at 80% 18%, rgba(44, 152, 154, .14), transparent 34%),
    radial-gradient(circle at 12% 85%, rgba(228, 108, 82, .09), transparent 28%),
    linear-gradient(180deg, var(--official-warm-canvas), #fbfaf8 80%);
}

.hero::before {
  opacity: .3;
  background-image:
    linear-gradient(rgba(19, 32, 51, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 32, 51, .035) 1px, transparent 1px);
}

.ambient-one {
  border-color: rgba(44, 152, 154, .18);
}

.ambient-two {
  border-color: rgba(228, 108, 82, .15);
}

.eyebrow {
  color: #536274;
}

.eyebrow-dot {
  background: var(--official-signal-coral);
  box-shadow: 0 0 0 5px rgba(228, 108, 82, .12);
}

.hero h1 span,
.section-heading h2 span,
.trust-copy h2 span {
  color: var(--official-water-teal);
}

.hero-visual {
  display: flex;
  min-height: 650px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  perspective: none;
}

.official-ship-card {
  position: relative;
  z-index: 1;
  width: min(620px, 96%);
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 51, .1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(19, 32, 51, .12);
}

.official-ship-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual .app-window {
  z-index: 3;
  width: min(600px, 92%);
  margin: -112px auto 0 0;
  border-color: rgba(19, 32, 51, .13);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(19, 32, 51, .17), 0 8px 20px rgba(19, 32, 51, .07);
  transform: none;
}

.window-bar,
.palette-footer {
  background: #f7f7f4;
}

.palette-search {
  border-color: rgba(19, 32, 51, .12);
  border-radius: 11px;
}

kbd {
  border-radius: 6px;
}

.phrase-row,
.phrase-icon,
.phrase-badge {
  border-radius: 9px;
}

.phrase-row-active {
  border-color: rgba(228, 108, 82, .28);
  background: #f8dfd9;
  box-shadow: inset 3px 0 var(--official-signal-coral);
}

.phrase-icon-blue {
  color: #176f72;
  background: #d9eded;
}

.phrase-icon-violet {
  color: #405c77;
  background: #e1e8ee;
}

.phrase-icon-amber {
  color: #8a5318;
  background: #f5e8d6;
}

.phrase-icon-green {
  color: #176f72;
  background: #d9eded;
}

.cursor-orbit,
.floating-chip {
  display: none;
}

.trust-strip {
  border-color: rgba(19, 32, 51, .09);
  background: #fbfaf8;
}

.story-panel,
.benefit-card,
.feature-block,
.persona-panels article,
.price-card,
.page-hero-aside,
.signal-list div,
.readiness-card,
.overview-card,
.audience-card,
.journey-list li,
.feature-detail-card,
.persona-detail-card {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(19, 32, 51, .055);
}

.story-panel:hover,
.overview-card:hover,
.audience-card:hover,
.feature-detail-card:hover,
.persona-detail-card:hover {
  border-color: rgba(44, 152, 154, .34);
}

.persona-icon-stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 51, .08);
  border-radius: 20px;
  background: #f5f4f0;
}

.persona-icon-stage::before,
.persona-icon-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.persona-icon-stage::before {
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  opacity: .13;
}

.persona-icon-stage::after {
  width: 236px;
  height: 236px;
  border: 1px solid currentColor;
  opacity: .07;
}

.persona-icon-stage-support {
  color: #176f72;
  background: linear-gradient(145deg, #e7f2f1, #f7f7f3);
}

.persona-icon-stage-engineering {
  color: #405c77;
  background: linear-gradient(145deg, #e1e8ee, #f7f7f3);
}

.persona-icon-stage-success {
  color: #9a3f2e;
  background: linear-gradient(145deg, #f8dfd9, #f7f7f3);
}

.persona-icon-stage-operations {
  color: #865316;
  background: linear-gradient(145deg, #f5e8d6, #f7f7f3);
}

.persona-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid rgba(19, 32, 51, .09);
  border-radius: 30px;
  color: currentColor;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 36px rgba(19, 32, 51, .1);
}

.persona-icon-engineering::before {
  content: "</>";
  font: 800 30px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -.12em;
  transform: translateX(-2px);
}

.persona-icon-success::before {
  content: "↗";
  font-size: 48px;
  font-weight: 620;
  line-height: 1;
}

.persona-icon-success::after {
  position: absolute;
  width: 58px;
  height: 58px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .24;
}

.persona-icon-operations::before {
  content: "✓";
  font-size: 44px;
  font-weight: 760;
  line-height: 1;
}

.persona-icon-operations::after {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 2px solid currentColor;
  border-radius: 18px;
  content: "";
  opacity: .24;
}

.persona-icon-support::before {
  position: absolute;
  top: 28px;
  left: 29px;
  width: 42px;
  height: 36px;
  border: 6px solid currentColor;
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  content: "";
}

.persona-icon-support::after {
  position: absolute;
  top: 57px;
  left: 22px;
  width: 10px;
  height: 25px;
  border-radius: 6px;
  background: currentColor;
  box-shadow: 58px 0 currentColor, 50px 23px 0 -2px currentColor;
  content: "";
}

.benefit-icon,
.feature-icon,
.mini-icon,
.story-cost span,
.persona-tab,
.status-card,
.clean-search,
.clean-result,
.clean-delivery,
.messy-canvas,
.clean-canvas {
  border-radius: 12px;
}

.benefit-dark,
.readiness-card-dark,
.page-cta,
.download-card {
  border-color: var(--official-harbor-navy);
  background: var(--official-harbor-navy);
}

.readiness-card-dark .card-kicker,
.readiness-card-dark .text-link,
.benefit-dark .card-kicker {
  color: #82ccce;
}

.page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(44, 152, 154, .13), transparent 33%),
    radial-gradient(circle at 12% 92%, rgba(228, 108, 82, .07), transparent 26%),
    linear-gradient(180deg, var(--official-warm-canvas), #fbfaf8);
  border-bottom-color: rgba(19, 32, 51, .08);
}

.page-hero-aside {
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 55px rgba(19, 32, 51, .08);
}

.page-hero-aside > span,
.breadcrumb a,
.journey-list li::before,
.text-link {
  color: #176f72;
}

.home-readiness,
.overview-section {
  border-color: rgba(19, 32, 51, .08);
}

.audience-card:hover {
  box-shadow: 0 16px 34px rgba(19, 32, 51, .08);
}

.price-featured {
  border-color: rgba(44, 152, 154, .42);
  box-shadow: 0 20px 52px rgba(19, 32, 51, .09);
}

.popular-badge {
  color: #fff;
  background: var(--official-water-teal);
}

.site-footer {
  border-top-color: rgba(19, 32, 51, .08);
  background: #efece6;
}

.pixel-wave-divider {
  background-color: var(--official-water-teal);
}

.footer-bottom {
  border-top-color: rgba(19, 32, 51, .11);
}

/* Information pages share the same official color contract. */
:root {
  --info-ink: #132033;
  --info-muted: #536274;
  --info-line: #dfe4e6;
  --info-soft: #f4f1ec;
  --info-blue: #176f72;
  --info-navy: #132033;
}

.info-header {
  border-bottom-color: rgba(19, 32, 51, .09);
  background: rgba(251, 250, 248, .96);
}

.info-brand-mark {
  border-color: rgba(19, 32, 51, .12);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(19, 32, 51, .08);
}

.info-hero {
  position: relative;
}

.info-hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(135deg, rgba(44, 152, 154, .08), transparent 48%);
  content: "";
}

.info-notice {
  border-color: rgba(44, 152, 154, .25);
  border-radius: 14px;
  color: #405064;
  background: #e7f2f1;
}

.info-card {
  border-color: var(--info-line);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(19, 32, 51, .055);
}

.info-button {
  border-radius: 12px;
}

.info-button-primary {
  box-shadow: 0 12px 24px rgba(19, 32, 51, .16);
}

code {
  border-radius: 6px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 720px;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-color: rgba(19, 32, 51, .09);
    background: rgba(251, 250, 248, .95);
  }

  .primary-nav {
    border-bottom-color: rgba(19, 32, 51, .1);
    background: #fbfaf8;
  }

  .primary-nav > a[aria-current="page"] {
    box-shadow: inset 3px 0 var(--official-water-teal);
  }

  .hero-visual {
    min-height: 590px;
  }

  .official-ship-card {
    width: 100%;
  }

  .hero-visual .app-window {
    width: 96%;
    margin-top: -54px;
  }

  .persona-icon-stage {
    min-height: 210px;
  }
}

@media (max-width: 520px) {
  .hero-visual {
    min-height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .official-ship-card,
  .hero-visual .app-window {
    transform: none;
  }
}
