/* PowerCare — temporary landing page
   Source: Figma "PowerCare Branding" › Landingpage (Desktop - 2 @1440, Desktop - 7 @375) */

/* ---------- Fonts (Instrument Sans, OFL-1.1, self-hosted) ---------- */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (Figma variables) ---------- */
:root {
  --powercare-beige: #fff6e2;
  --powercare-main: #6a7dfd;
  --powercare-dark: #0a0d20;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 10px;
}

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

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

body {
  margin: 0;
  background: var(--powercare-beige);
  color: var(--powercare-dark);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, p { margin: 0; }
img { display: block; }

/* ---------- Layout ---------- */
.page {
  display: flex;
  flex-direction: column;
  gap: var(--gutter);
  padding: var(--gutter);
  min-height: 100vh;
  min-height: 100svh;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 393px;
  padding: 30px;
  isolation: isolate;
}

.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; }

/* Blurred ellipse overlay (Figma "Ellipse 64"): fixed-size, anchored top-left, rotated -120deg */
.hero__glow {
  position: absolute;
  z-index: -1;
  left: -323px;
  top: -285px;
  width: 1404.009px;
  height: 1292.757px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__glow-shape {
  position: relative;
  flex: none;
  width: 835.113px;
  height: 1139.057px;
  transform: rotate(-120deg);
}
.hero__glow-shape img {
  position: absolute;
  left: -17.24%;
  top: -12.64%;
  width: 134.48%;
  height: 125.28%;
  max-width: none;
}

.hero__logo {
  position: relative;
  width: 190px;
  height: 50px;
  flex: none;
}

/* ---------- Intro (tagline + panel) ---------- */
.intro {
  display: flex;
  flex-direction: column;
}

.intro__tagline {
  padding: 20px 30px;
  font-size: 24px;
  font-weight: 500;
  line-height: normal;
  color: var(--powercare-dark);
}

.intro__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  background: var(--powercare-main);
  color: var(--powercare-beige);
}

.intro__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.intro__body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}
.intro__body p + p { margin-top: 1.2em; } /* empty line between paragraphs in Figma */

/* ---------- Tablet: tagline and panel side by side ---------- */
@media (min-width: 768px) {
  .hero {
    flex: 1 0 auto;
    height: auto;
    min-height: 480px;
    padding: 60px;
  }

  .intro {
    flex-direction: row;
    align-items: stretch;
  }

  .intro__tagline,
  .intro__panel {
    flex: 1 1 0;
    min-width: 0;
  }

  .intro__tagline {
    display: flex;
    align-items: center;
    padding: 40px 50px;
    font-size: clamp(24px, 1.2rem + 1.25vw, 36px);
  }

  .intro__panel {
    padding: 40px 50px;
  }
}

/* ---------- Desktop: panel content in two columns ---------- */
@media (min-width: 1200px) {
  .hero { min-height: 560px; }

  .intro__panel {
    flex-direction: row;
    align-items: flex-start;
    gap: 90px;
  }

  .intro__title,
  .intro__body {
    flex: 1 1 0;
    min-width: 0;
  }
}
