/* anodera.io, in the style of the 2019 aimaps.com: bold centered headlines on maroon, white
   sections, angled edges, a laptop and phone showing the app, round-icon feature cards. */
@font-face {
  font-family: Barlow;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-latin-400-normal.woff2) format("woff2");
}
@font-face {
  font-family: Barlow;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/barlow-latin-600-normal.woff2) format("woff2");
}
@font-face {
  font-family: Barlow;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/barlow-latin-700-normal.woff2) format("woff2");
}

:root {
  --maroon: #8a3f58;
  --maroon-deep: #6e2f45;
  --rose: #c99aaa;
  --coral: #e8835f;
  --ink: #2f2a33;
  --soft: #6d6472;
  --line: #ece4e7;
  --paper: #ffffff;
  --mist: #f8f4f5;
  --charcoal: #2e2830;
  --teal: #8cb5bf;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Barlow, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.65;
}
h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.12;
}
h1 {
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 76px);
  letter-spacing: -0.01em;
}
h2 {
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
}
h3 {
  font-weight: 700;
  font-size: 21px;
}
p {
  margin: 0 0 18px;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 820px;
}
.center {
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 18px;
}

.cta {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 14px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(232, 131, 95, 0.35);
}
.cta:hover {
  background: #d9724d;
}
.cta.light {
  background: #fff;
  color: var(--maroon);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Nav over the maroon hero */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  color: #fff;
}
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand span {
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 20px;
}
.nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.9;
}
.nav .pill {
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 7px 16px;
  border-radius: 999px;
  opacity: 1;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  background: var(--maroon);
  color: #fff;
  padding: 160px 0 230px;
  overflow: hidden;
}
.hero-copy {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.hero-copy p:not(.eyebrow) {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 34px;
  opacity: 0.92;
}
.wedge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 170px;
}
.wedge::before,
.wedge::after {
  content: "";
  position: absolute;
  inset: 0;
}
.wedge::before {
  background: var(--rose);
  opacity: 0.55;
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}
.wedge::after {
  background: var(--paper);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}

/* Devices */
.devices {
  margin-top: -190px;
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
}
.devices-row {
  position: relative;
  display: flex;
  justify-content: center;
}
.laptop {
  width: min(900px, 100%);
}
.laptop-screen {
  background: #1b181d;
  border-radius: 18px 18px 0 0;
  padding: 16px 16px 20px;
  box-shadow: 0 30px 60px rgba(46, 26, 36, 0.35);
}
.laptop-base {
  height: 18px;
  background: linear-gradient(#d9d4d7, #a9a2a6);
  border-radius: 0 0 18px 18px;
  margin: 0 -5%;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 16%;
  height: 7px;
  transform: translateX(-50%);
  background: #8f888c;
  border-radius: 0 0 8px 8px;
}
.app {
  display: flex;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
}
.app-rail {
  width: 6.5%;
  background: #2e2830;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
}
.app-rail img {
  width: 56%;
}
.app-rail i {
  width: 42%;
  aspect-ratio: 1;
  border: 1.5px solid rgba(244, 232, 217, 0.4);
  border-radius: 30%;
}
.app-map {
  position: relative;
  flex: 1;
}
.app-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.app-map .pin {
  position: absolute;
  width: 6.5%;
  transform: translate(-50%, -50%);
}
.panel {
  position: absolute;
  background: #faf4ec;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.panel-head {
  background: #87465c;
  color: #fff;
  padding: 7px 10px;
}
.panel-head.red {
  background: #5c3245;
}
.panel-head small,
.panel-head b {
  display: block;
}
.panel-head small {
  opacity: 0.75;
  font-size: 9px;
}
.panel.filter {
  left: 3%;
  top: 5%;
  width: 33%;
}
.panel .row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-top: 1px solid #ecdfd0;
}
.panel .row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}
.panel .row b,
.panel .row small {
  display: block;
}
.panel .row small {
  color: var(--soft);
  font-size: 9px;
}
.panel.card {
  right: 12%;
  bottom: 5%;
  width: 34%;
}
.card-body {
  padding: 8px 10px 0;
}
.card-body p {
  margin: 6px 0 8px;
  color: var(--soft);
  font-size: 10px;
}
.badge {
  display: inline-block;
  background: #ff4b3e;
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
}
.card-actions {
  display: flex;
  border-top: 1px solid #ecdfd0;
  margin: 0 -10px;
}
.card-actions span {
  flex: 1;
  text-align: center;
  padding: 7px 0;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon-deep);
}

.phone {
  position: absolute;
  right: max(1%, calc(50% - 610px));
  bottom: -24px;
  width: 190px;
  background: #1b181d;
  border-radius: 30px;
  padding: 12px;
  box-shadow: 0 26px 50px rgba(46, 26, 36, 0.45);
}
.phone-screen {
  background: #faf4ec;
  border-radius: 20px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
}
.ph-head {
  background: #4f5d75;
  color: #fff;
  padding: 22px 12px 10px;
}
.ph-head small,
.ph-head b {
  display: block;
}
.ph-head small {
  opacity: 0.75;
  font-size: 10px;
}
.ph-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #ecdfd0;
}
.ph-row span {
  color: var(--soft);
}
.ph-row .ok {
  color: #23824c;
}
.ph-row .soft {
  color: var(--soft);
  font-weight: 400;
  font-size: 11px;
  text-align: right;
}
.ph-save {
  margin: 14px 10px 14px;
  background: #87465c;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 10px;
  border-radius: 3px;
}

/* Text sections */
section {
  padding: 90px 0;
}
.intro p {
  font-size: 20px;
  color: var(--soft);
}
.intro h2 {
  color: var(--ink);
}

.band {
  position: relative;
  background: var(--maroon);
  color: #fff;
  padding: 170px 0;
}
.band-angle {
  position: absolute;
  left: 0;
  right: 0;
  height: 110px;
  background: var(--paper);
}
.band-angle.top {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.band-angle.bottom {
  bottom: -1px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.band-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.band p {
  font-size: 19px;
  opacity: 0.92;
}
.band-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.band-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-left: 4px solid var(--coral);
}

.cards {
  background: var(--mist);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid article {
  background: #fff;
  padding: 36px 24px 28px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(110, 47, 69, 0.08);
}
.icon {
  display: inline-flex;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--maroon);
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-grid p {
  color: var(--soft);
  font-size: 16px;
  margin: 0;
}

.cards h2 {
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cta.ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.cta.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.sub {
  color: var(--soft);
  font-size: 19px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Modules */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.module-grid article {
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
}
.module-grid article.now {
  border-color: var(--maroon);
}
.module-grid p {
  color: var(--soft);
  font-size: 16px;
  flex: 1;
}
.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--maroon);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag.soon {
  background: transparent;
  color: var(--soft);
  border: 1.5px solid var(--line);
}

/* Security */
.security {
  background: var(--mist);
}
.security-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.security .sub {
  margin: 0;
}
.security ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.security li {
  background: #fff;
  padding: 16px 20px;
  border-left: 4px solid var(--coral);
  color: var(--soft);
  box-shadow: 0 6px 18px rgba(110, 47, 69, 0.06);
}
.security li b {
  color: var(--ink);
}

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

/* Contact */
.closing {
  background: var(--maroon-deep);
  color: #fff;
  padding: 110px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.closing p {
  font-size: 19px;
  opacity: 0.92;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  padding: 26px;
  border-radius: 8px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.contact-form small {
  font-weight: 400;
  opacity: 0.7;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 4px;
  padding: 11px 12px;
  width: 100%;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--coral);
  outline-offset: 1px;
}
.contact-form .wide {
  grid-column: 1 / -1;
}
.contact-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.contact-form button:disabled {
  opacity: 0.7;
  cursor: default;
}
.form-note {
  margin: 0;
  min-height: 1em;
  font-size: 16px;
}
.form-note.ok {
  color: #c9f2d8;
}
.form-note.bad {
  color: #ffd2c4;
}

.foot {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 22px 0;
  font-size: 15px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
}
.foot a {
  color: rgba(255, 255, 255, 0.85);
}

/* Tablets */
@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .band-row,
  .security-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .phone {
    width: 150px;
    right: 2%;
  }
}
/* Phones */
@media (max-width: 640px) {
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 16px;
  }
  .nav nav a:not(.pill) {
    display: none;
  }
  .hero {
    padding: 120px 0 170px;
  }
  .hero-copy p:not(.eyebrow) {
    font-size: 18px;
  }
  .wedge {
    height: 110px;
  }
  .devices {
    margin-top: -120px;
  }
  .laptop-screen {
    padding: 8px 8px 10px;
    border-radius: 10px 10px 0 0;
  }
  .laptop-base {
    height: 10px;
  }
  .panel {
    font-size: 8px;
  }
  .panel-head small,
  .panel .row small,
  .card-body p {
    font-size: 7px;
  }
  .panel.filter .row:nth-child(n + 3) {
    display: none;
  }
  .card-actions span,
  .badge {
    font-size: 7px;
  }
  .phone {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 28px auto 0;
    width: 200px;
  }
  .devices-row {
    flex-direction: column;
    align-items: center;
  }
  section {
    padding: 60px 0;
  }
  .band {
    padding: 110px 0;
  }
  .band-angle {
    height: 60px;
  }
  .card-grid,
  .module-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 18px;
  }
  .closing {
    padding: 70px 0;
  }
}

/* Inner pages (privacy): a solid header bar and plain text. */
.nav.solid {
  position: static;
  background: var(--maroon);
}
.page {
  padding: 56px 0 80px;
}
.page h1 {
  font-size: clamp(34px, 5vw, 48px);
}
.page h2 {
  font-size: 24px;
  margin-top: 36px;
}
.page p {
  color: var(--soft);
}

/* Very narrow screens (small phones): the header still fits on one row. */
@media (max-width: 380px) {
  .brand span {
    font-size: 17px;
    letter-spacing: 0.14em;
  }
  .nav .pill {
    padding: 6px 12px;
  }
}

/* Screenshots */
.shot {
  display: block;
  width: 100%;
  height: auto;
}
.laptop-screen .shot {
  border-radius: 4px;
}
.phone-screen .shot {
  border-radius: 20px;
}
.screens h2 {
  margin-bottom: 40px;
}
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.screen-grid figure {
  margin: 0;
}
.screen-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(46, 26, 36, 0.18);
}
.screen-grid figcaption {
  margin-top: 14px;
  color: var(--soft);
  font-size: 16px;
}
.screen-grid figcaption b {
  display: block;
  color: var(--ink);
  font-size: 18px;
}
@media (max-width: 980px) {
  .screen-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}
