:root {
  --ink: #071126;
  --muted: #4c5871;
  --soft: #f6f8ff;
  --line: rgba(7, 17, 38, 0.1);
  --primary: #4b3dff;
  --primary-dark: #3324d8;
  --green: #18b65b;
  --green-soft: #e9f8ef;
  --surface: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(54, 65, 120, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(75, 61, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(24, 182, 91, 0.12), transparent 25rem),
    linear-gradient(180deg, #f9fbff 0%, #eef3ff 44%, #f4fff8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #7b72ff);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(75, 61, 255, 0.28);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.secondary-link:hover,
.site-footer a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.section-band,
.how-section,
.split-section,
.task-types-section,
.features-section,
.privacy-section,
.permission-section,
.faq-section,
.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 510px);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 30px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 94px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text,
.split-copy p,
.privacy-copy p,
.permission-section p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 34px 0 34px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 20px 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(7, 17, 38, 0.24);
  font-size: 20px;
  font-weight: 800;
}

.app-store-button small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.8;
}

.apple-icon {
  width: 30px;
  height: 30px;
}

.apple-icon svg {
  width: 100%;
  height: 100%;
}

.secondary-link {
  color: var(--muted);
  font-weight: 800;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
  margin: 0;
}

.hero-stats div,
.steps article,
.feature-grid article,
.privacy-list article,
.faq-list details {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(54, 65, 120, 0.08);
}

.hero-stats div {
  padding: 18px;
}

.hero-stats dt {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% -12% 4%;
  background: linear-gradient(135deg, rgba(75, 61, 255, 0.18), rgba(24, 182, 91, 0.1));
  border-radius: 42px;
  filter: blur(34px);
}

.hero-visual img {
  position: relative;
  width: auto;
  max-width: min(100%, 450px);
  max-height: min(74vh, 720px);
  margin-left: auto;
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.how-section,
.task-types-section,
.features-section,
.faq-section {
  padding: 84px 0;
}

.steps,
.feature-grid,
.task-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article,
.feature-grid article,
.task-type-grid article {
  padding: 24px;
}

.steps p,
.feature-grid p,
.task-type-grid p,
.privacy-list p,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #746aff);
  border-radius: 14px;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
  gap: 58px;
  align-items: center;
  padding: 84px 0;
}

.phone-pair {
  position: relative;
  min-height: 620px;
}

.phone-pair img {
  position: absolute;
  width: min(52%, 300px);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.phone-pair img:first-child {
  left: 8%;
  top: 0;
  transform: rotate(-4deg);
}

.phone-pair img:last-child {
  right: 8%;
  top: 90px;
  transform: rotate(5deg);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 999px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-type-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.task-type-grid article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(54, 65, 120, 0.1);
}

.task-type-label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: var(--primary);
  background: rgba(75, 61, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #8278ff);
  box-shadow: 0 14px 28px rgba(75, 61, 255, 0.2);
}

.feature-icon.task,
.feature-icon.custom,
.feature-icon.timer,
.feature-icon.shield {
  background: linear-gradient(135deg, var(--green), #73df9d);
  box-shadow: 0 14px 28px rgba(24, 182, 91, 0.18);
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1fr);
  gap: 44px;
  align-items: center;
  padding: 72px;
  background:
    radial-gradient(circle at 85% 5%, rgba(24, 182, 91, 0.18), transparent 22rem),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.privacy-copy .eyebrow {
  color: var(--green);
}

.privacy-list {
  display: grid;
  gap: 14px;
}

.privacy-list article {
  padding: 22px;
}

.permission-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 84px 0 40px;
}

.permission-section h2 {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  padding-top: 14px;
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: 80px 30px;
  margin-bottom: 70px;
  text-align: center;
  background: linear-gradient(135deg, rgba(75, 61, 255, 0.12), rgba(24, 182, 91, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
}

.final-cta h2 {
  max-width: 780px;
}

.legal-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 80px;
}

.legal-hero {
  margin-bottom: 34px;
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 82px);
}

.legal-hero p:last-child {
  color: var(--muted);
  font-weight: 800;
}

.legal-card {
  padding: 44px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.15;
}

.legal-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

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

  .hero,
  .split-section,
  .privacy-section,
  .permission-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 42px;
  }

  .hero-visual img {
    width: auto;
    max-width: min(100%, 390px);
    max-height: 680px;
    margin: 0 auto;
  }

  .steps,
  .feature-grid,
  .task-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-pair {
    min-height: 540px;
  }

  .privacy-section {
    padding: 34px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section-band,
  .how-section,
  .split-section,
  .task-types-section,
  .features-section,
  .privacy-section,
  .permission-section,
  .faq-section,
  .final-cta,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: 50px;
  }

  .hero-text,
  .split-copy p,
  .privacy-copy p,
  .permission-section p {
    font-size: 17px;
  }

  .hero-stats,
  .steps,
  .feature-grid,
  .task-type-grid {
    grid-template-columns: 1fr;
  }

  .phone-pair {
    min-height: 420px;
  }

  .phone-pair img {
    width: 58%;
  }

  .phone-pair img:first-child {
    left: 0;
  }

  .phone-pair img:last-child {
    right: 0;
    top: 70px;
  }

  .privacy-section {
    padding: 24px;
  }

  .final-cta {
    padding: 54px 18px;
  }

  .legal-main {
    width: min(100% - 28px, 920px);
    padding: 42px 0 58px;
  }

  .legal-card {
    padding: 26px;
    border-radius: 22px;
  }
}
