/* Flottenwart homepage. Phone first, no scripts, everything from this server. */

@font-face { font-family: Barlow; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Barlow; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Barlow; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Barlow; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --petrol: #0B7285;
  --petrol-dark: #075563;
  --teal: #12B886;      /* surfaces and buttons only, never text on white */
  --ink: #12292E;
  --muted: #47606A;
  --line: #D5E1E3;
  --tint: #F2F7F7;
  --on-dark: #FFFFFF;
  --on-dark-soft: #D3E6EA;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font: 400 1.0625rem/1.55 Barlow, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word;
  hyphens: manual;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { hyphens: manual; line-height: 1.15; margin: 0; font-weight: 700; }
h2 { color: var(--petrol); font-size: clamp(1.625rem, 6.4vw, 2.375rem); letter-spacing: -0.005em; margin-bottom: 1.1rem; text-wrap: balance; }
h3 { color: var(--ink); font-size: 1.1875rem; font-weight: 600; line-height: 1.25; margin-bottom: 0.4rem; }

a { color: var(--petrol-dark); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 760px; }

.band { padding-block: 3.25rem; }
.band.tint { background: var(--tint); }
.band.dark { background: var(--petrol-dark); color: var(--on-dark); }
.band.dark h2 { color: var(--on-dark); }

.big { font-size: 1.1875rem; line-height: 1.5; }
.strong { font-weight: 600; }
.small { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }

/* Hero */
.hero { background: var(--petrol-dark); color: var(--on-dark); padding-block: 1.25rem 3rem; overflow: hidden; }
.logo { width: 172px; height: auto; margin-bottom: 2.25rem; }
.eyebrow { color: var(--on-dark-soft); font-weight: 500; font-size: 1rem; margin-bottom: 0.75rem; }
h1 { font-size: clamp(2.25rem, 10.4vw, 3.75rem); line-height: 1.04; letter-spacing: -0.01em; margin-bottom: 1.1rem; text-wrap: balance; }
h1 span { display: block; color: var(--on-dark-soft); font-weight: 500; }
.lead { font-size: 1.1875rem; line-height: 1.5; margin-bottom: 1.5rem; }
.note { color: var(--on-dark-soft); font-size: 0.9375rem; margin-top: 1rem; }

/* Buttons: at least 48 px high, full width on the phone. */
.buttons { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.hero .buttons { margin-top: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.6rem 1.4rem;
  border-radius: 8px; border: 2px solid transparent;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.2; text-align: center; text-decoration: none; hyphens: manual;
}
/* Dark text: white on teal would fall short of readable contrast. */
.btn-line { border-color: var(--on-dark-soft); color: var(--on-dark); }
.btn-line:hover { background: rgba(255, 255, 255, 0.1); }
.dark :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--on-dark); }

/* Phone frame around the screenshots */
.phone {
  width: min(78vw, 300px);
  margin-inline: auto;
  border-radius: 30px;
  border: 7px solid #0A2A31;
  background: #0A2A31;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(3, 32, 38, 0.32);
}
.phone img { border-radius: 22px; }
.hero-phone { margin-top: 2.5rem; }
.feature-phone { margin-top: 2.5rem; box-shadow: 0 14px 34px rgba(7, 85, 99, 0.2); }

/* Blocks of text */
.features, .cols { display: grid; gap: 1.75rem; }
.features article, .cols article { border-top: 3px solid var(--petrol); padding-top: 0.85rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; min-height: 2.75rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--petrol); color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem;
}
.steps strong { font-weight: 600; font-size: 1.125rem; }

/* Tick lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.42em;
  width: 1.05rem; height: 0.55rem;
  border-left: 3px solid var(--petrol); border-bottom: 3px solid var(--petrol);
  transform: rotate(-45deg) scale(0.9); transform-origin: center;
}
.ticks strong { font-weight: 600; }

/* FAQ without scripts */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 0.95rem 2.25rem 0.95rem 0;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.3; hyphens: manual;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 1.25rem;
  width: 0.65rem; height: 0.65rem;
  border-right: 2.5px solid var(--petrol); border-bottom: 2.5px solid var(--petrol);
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(225deg); top: 1.5rem; }
.faq details p { padding: 0 0 1.1rem; margin: 0; color: var(--ink); }

/* Contact */
.contact-line { font-size: 1.1875rem; margin-bottom: 0.6rem; }
.contact-line span { display: block; color: var(--on-dark-soft); font-size: 0.9375rem; font-weight: 500; }
.contact-line a { display: inline-block; padding-block: 0.25rem; color: var(--on-dark); font-size: clamp(1.5rem, 7vw, 2rem); font-weight: 700; hyphens: manual; }

/* Footer */
.foot { background: #06434E; color: var(--on-dark-soft); padding-block: 2rem; font-size: 0.9375rem; }
.foot p { margin-bottom: 0.6rem; }
.foot a { color: var(--on-dark); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.foot-links a { display: inline-block; padding-block: 0.7rem; }
.foot .small { color: var(--on-dark-soft); margin: 0; }

@media (min-width: 560px) {
  .buttons { flex-direction: row; flex-wrap: wrap; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.75rem; }
  .ticks.two { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; }
}

@media (min-width: 860px) {
  :root { --gutter: 32px; }
  body { font-size: 1.125rem; }
  .band { padding-block: 5rem; }
  .big, .lead { font-size: 1.3125rem; }
  .logo { width: 200px; margin-bottom: 3.5rem; }
  .hero { padding-block: 1.75rem 0; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
  .hero-text { padding-bottom: 4.5rem; }
  /* The phone stands on the lower edge of the hero. */
  .hero-phone { margin: 0; width: 100%; height: 470px; border-bottom: 0; border-radius: 30px 30px 0 0; }
  .hero-phone img { border-radius: 22px 22px 0 0; }
  .cols { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3.5rem; align-items: start; }
  .feature-phone { margin: 0; width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .steps li { padding-left: 0; padding-top: 3.5rem; }
}

@media print {
  .hero, .band.dark, .foot { background: #FFFFFF; color: #000000; }
  .band.dark h2, h1 span, .note, .eyebrow { color: #000000; }
  .phone, .buttons, .logo { display: none; }
}
