:root {
  --teal: #0F9B8E;
  --teal-dark: #0A7268;
  --ink: #12211F;
  --muted: #5A6B68;
  --line: #E3EAE8;
  --bg: #FFFFFF;
  --soft: #F5F9F8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap {
  display: flex; align-items: center; gap: 12px;
  height: 64px;
}
header.site img { width: 30px; height: 30px; border-radius: 8px; }
header.site .name { font-weight: 800; letter-spacing: -.02em; }
header.site nav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--teal-dark); }

.hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 88px 0 96px;
  text-align: center;
}
.hero img { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 26px; }
.hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 14px; letter-spacing: -.03em; }
.hero p { font-size: 19px; margin: 0 auto; max-width: 30em; opacity: .93; }
.badges { margin-top: 34px; font-size: 14px; opacity: .85; }

section { padding: 64px 0; }
section.alt { background: var(--soft); }
h2 { font-size: 27px; letter-spacing: -.02em; margin: 0 0 28px; }
h3 { font-size: 17px; margin: 0 0 6px; }

.features { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.dot {
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px;
  background: rgba(15,155,142,.12); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}

table.plans { width: 100%; border-collapse: collapse; font-size: 15px; }
table.plans th, table.plans td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.plans th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
table.plans td.num { text-align: right; white-space: nowrap; }

footer.site { border-top: 1px solid var(--line); padding: 34px 0 54px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--teal-dark); }

/* legal pages */
.legal { padding: 52px 0 80px; }
.legal h1 { font-size: 31px; letter-spacing: -.02em; margin: 0 0 4px; }
.legal h2 { font-size: 19px; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; margin: 22px 0 6px; }
.legal p, .legal li { color: #2C3B39; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.legal th { background: var(--soft); }
.updated { color: var(--muted); font-size: 14px; }

@media (max-width: 620px) {
  .hero { padding: 64px 0 70px; }
  .hero h1 { font-size: 33px; }
  /* The nav does not fit on one line beside the logo; give it its own row
     rather than letting the last links fall off the screen. */
  header.site .wrap {
    height: auto;
    padding-top: 12px; padding-bottom: 10px;
    flex-wrap: wrap; row-gap: 8px;
  }
  header.site nav {
    margin-left: 0; width: 100%;
    gap: 18px; font-size: 13.5px;
    justify-content: flex-start;
  }
  footer.site a { display: inline-block; margin-bottom: 6px; }
}

.brandlink { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }

.langswitch { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; }
.langswitch a { color: var(--muted); text-decoration: none; font-weight: 600; }
.langswitch a.on { color: var(--teal-dark); }
.langswitch .bar { color: var(--line); }
