/* girassol.io landing page: an impressionist palette on a canvas-like paper. */
:root {
  --canvas: #f7f0e1;
  --canvas-deep: #efe4cc;
  --ink: #1d2738;
  --ink-soft: #44506a;
  --cobalt: #2f4f96;
  --cobalt-deep: #233c75;
  --chrome: #f4bd1f;
  --cadmium: #c76a12;
  --viridian: #2d6a4f;
  --umber: #5a3a1a;
  --paper: rgba(251, 247, 238, 0.93);
  --radius-blob: 58% 42% 51% 49% / 46% 55% 45% 54%;
  --shadow: 0 1px 0 rgba(90, 58, 26, 0.08), 0 14px 40px -18px rgba(35, 60, 117, 0.45);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Ubuntu, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--canvas) url("/img/canvas.svg");
  color: var(--ink);
  font: 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--cobalt);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cobalt-deep);
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem 0.35rem 0.45rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 1.2rem var(--serif);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.brand img {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.site-nav a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--canvas-deep);
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -1;
}

.hero-card {
  width: min(600px, 100%);
  margin-block: 6.5rem 4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border-radius: 28px 34px 26px 40px / 36px 26px 38px 28px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin-bottom: 0.4rem;
  color: var(--cadmium);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--cadmium);
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 1.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #e5edf9;
  color: var(--cobalt-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--chrome);
  box-shadow: 0 0 0 3px rgba(244, 189, 31, 0.3);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  border-radius: 999px 999px 999px 999px / 60% 70% 65% 75%;
  border: 2px solid var(--cobalt);
  color: var(--cobalt-deep);
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: #e5edf9;
}

.button-primary {
  background: var(--cobalt);
  color: #fff;
}

.button-primary:hover {
  background: var(--cobalt-deep);
  color: #fff;
}

/* Sections */
.section {
  padding-block: clamp(4rem, 9vw, 6.5rem);
}

.section-title {
  display: inline-block;
  padding-bottom: 0.2em;
  background: url("/img/stroke.svg") no-repeat 0 100% / 100% 0.5em;
}

.section-intro {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* NORI */
.nori-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.nori-steps li {
  position: relative;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow);
  counter-increment: step;
}

.nori-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-blob);
  background: center / cover;
  color: #fff;
  font: 700 1.5rem var(--serif);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.nori-steps li:nth-child(1)::before { background-image: url("/img/swatch-water.svg"); }
.nori-steps li:nth-child(2)::before { background-image: url("/img/swatch-morning.svg"); }
.nori-steps li:nth-child(3)::before { background-image: url("/img/swatch-sunset.svg"); }
.nori-steps li:nth-child(4)::before { background-image: url("/img/swatch-field.svg"); }
.nori-steps li:nth-child(5)::before { background-image: url("/img/swatch-petal.svg"); }

.nori-steps h3 {
  margin-bottom: 0.35rem;
}

.nori-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.nori-letter {
  color: var(--cadmium);
}

/* Eisenhower matrix */
.matrix-section {
  background: linear-gradient(180deg, transparent, rgba(47, 79, 150, 0.07) 30%, rgba(47, 79, 150, 0.07) 70%, transparent);
}

.matrix-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 860px) {
  .matrix-layout {
    grid-template-columns: 1fr;
  }
}

.matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.matrix li {
  display: flex;
  align-items: flex-end;
  min-height: 170px;
  padding: 0.75rem;
  border-radius: 20px;
  background: center / cover;
  box-shadow: var(--shadow);
}

.matrix .do { background-image: url("/img/swatch-sunset.svg"); }
.matrix .schedule { background-image: url("/img/swatch-morning.svg"); }
.matrix .delegate { background-image: url("/img/swatch-petal.svg"); }
.matrix .eliminate { background-image: url("/img/swatch-mist.svg"); }

.matrix .label {
  width: 100%;
  padding: 0.6rem 0.8rem;
  background: var(--paper);
  border-radius: 14px;
}

.matrix strong {
  display: block;
  font: 600 1.15rem var(--serif);
}

.matrix span span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature {
  overflow: hidden;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feature::before {
  content: "";
  display: block;
  height: 92px;
  background: center / cover;
}

.feature.calendar::before { background-image: url("/img/swatch-morning.svg"); }
.feature.chat::before { background-image: url("/img/swatch-water.svg"); }
.feature.pages::before { background-image: url("/img/swatch-petal.svg"); }
.feature.offline::before { background-image: url("/img/swatch-field.svg"); }
.feature.plugins::before { background-image: url("/img/swatch-sunset.svg"); }
.feature.devices::before { background-image: url("/img/swatch-mist.svg"); }

.feature div {
  padding: 1.25rem 1.4rem 1.4rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.platforms li {
  padding: 0.45rem 1rem;
  border: 2px solid var(--viridian);
  border-radius: 999px;
  color: var(--viridian);
  font-weight: 650;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/img/field.svg") center 75% / cover;
}

.contact-card {
  width: min(640px, 100%);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--paper);
  border-radius: 34px 26px 40px 28px / 28px 38px 26px 36px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card .actions {
  justify-content: center;
}

/* Standard Invector product footer */
.site-footer {
  border-top: 1px solid rgba(90, 58, 26, 0.18);
  background: var(--canvas-deep);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 2rem;
}

.site-footer p {
  margin: 0;
}

.site-footer .credit {
  flex-basis: 100%;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 600;
}

/* 404 */
.not-found {
  min-height: 80vh;
}
