:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-soft: #eef3ee;
  --ink: #14201f;
  --muted: #5f6b67;
  --line: #d9e2dc;
  --harbor: #0e4b52;
  --harbor-deep: #082f35;
  --mint: #d8eee5;
  --signal: #f2b84b;
  --signal-soft: #fff2d3;
  --blue: #1f6f8b;
  --red: #b35342;
  --radius: 8px;
  --container: 1140px;
  --shadow: 0 18px 44px rgba(16, 35, 36, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 430px;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(14, 75, 82, .14), rgba(31, 111, 139, .06) 46%, transparent 70%),
    linear-gradient(180deg, #edf5f0, transparent);
  z-index: -1;
}

a { color: var(--harbor); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 244, .88);
  border-bottom: 1px solid rgba(217, 226, 220, .9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover { text-decoration: none; }

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 35%;
  box-shadow: 0 8px 18px rgba(8, 47, 53, .18);
}

.brand strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-weight: 750;
  padding: 9px 11px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav a.active,
.nav a:hover {
  color: var(--harbor-deep);
  background: var(--surface-soft);
  text-decoration: none;
}

.hero {
  padding: 56px 0 20px;
  overflow: hidden;
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--signal-soft);
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: .78rem;
}

.eyebrow.dark {
  color: var(--harbor);
}

h1,
.page-title {
  margin: 0 0 18px;
  font-size: clamp(3.4rem, 11vw, 7.6rem);
  line-height: .88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 61ch;
  margin: 0;
  color: #334240;
  font-size: 1.14rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 17px;
  border-radius: var(--radius);
  font-weight: 850;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--harbor-deep);
  color: #fff;
  box-shadow: 0 12px 26px rgba(8, 47, 53, .22);
}

.btn.secondary {
  color: var(--harbor-deep);
  border-color: var(--line);
  background: rgba(255, 255, 255, .72);
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.03);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-facts span,
.premium-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--harbor-deep);
  background: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid #111817;
  border-radius: 34px;
  background: #111817;
  box-shadow: 0 28px 70px rgba(8, 47, 53, .24);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 0 0 16px 16px;
  background: #111817;
  z-index: 1;
}

.phone-frame img {
  width: 100%;
  border-radius: 24px;
}

.phone-main {
  width: min(66vw, 330px);
  margin-left: auto;
  transform: rotate(2deg);
}

.phone-side {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: min(50vw, 250px);
  transform: rotate(-5deg);
}

.section {
  padding: 60px 0;
}

.section-tight {
  padding-top: 24px;
  padding-bottom: 24px;
}

.intro-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.intro-strip p {
  margin: 0;
  color: #34413f;
}

.intro-strip strong {
  color: var(--red);
  white-space: nowrap;
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.feature-card h3,
.card h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
}

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

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--harbor-deep);
  font-weight: 900;
  font-size: .88rem;
}

.app-section {
  background: #e9f0ec;
  border-block: 1px solid var(--line);
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 40px;
}

.app-grid p {
  color: #40504d;
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #34413f;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: inset 0 0 0 4px var(--signal-soft);
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.phone-frame.small {
  width: min(44vw, 250px);
  border-width: 8px;
  border-radius: 28px;
}

.phone-frame.small:nth-child(2) {
  margin-top: 50px;
}

.premium-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 47, 53, .98), rgba(14, 75, 82, .94)),
    url("assets/app-ipad-dashboard.png") right center / 46% auto no-repeat;
  box-shadow: var(--shadow);
}

.premium-panel h2 {
  margin-bottom: 12px;
}

.premium-panel p {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, .84);
}

.premium-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.premium-list span {
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card ul { margin: 0; padding-left: 19px; }
.card li { margin: 7px 0; }

.notice {
  margin-top: 14px;
  background: var(--signal-soft);
  border: 1px solid #e8cf8e;
  color: #5b4700;
  border-radius: var(--radius);
  padding: 14px;
}

.page {
  padding: 36px 0 8px;
}

.page-head {
  margin-bottom: 18px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--harbor), var(--harbor-deep));
  border-radius: var(--radius);
}

.page-head .page-title {
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1;
}

.page-head p {
  max-width: 72ch;
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.rich {
  max-width: 920px;
}

.rich h2 {
  margin: 1.6em 0 .45em;
  font-size: 1.32rem;
}

.rich h2:first-child {
  margin-top: 0;
}

.rich h3 {
  margin: 1.2em 0 .35em;
  font-size: 1.04rem;
}

.rich p,
.rich li {
  color: #3f3a34;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.meta-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.meta-row strong {
  color: var(--harbor-deep);
}

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .93rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--muted);
}

@media (max-width: 940px) {
  .hero-grid,
  .app-grid,
  .premium-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

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

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-strip strong {
    white-space: normal;
  }

  .premium-list {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 5.4rem);
  }

  .lead {
    font-size: 1.04rem;
  }

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

  .phone-main {
    width: min(74vw, 300px);
  }

  .phone-side {
    width: min(56vw, 220px);
  }

  .section {
    padding: 42px 0;
  }

  .feature-grid,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .device-row {
    gap: 12px;
  }

  .phone-frame.small {
    width: min(45vw, 210px);
  }

  .premium-panel {
    padding: 22px;
    background: linear-gradient(135deg, rgba(8, 47, 53, .98), rgba(14, 75, 82, .94));
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
