/* Global reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  container-name: root;
  container-type: inline-size;
  --base-width: 940px;
  width: 100%;
}

:root,
:root[data-theme="light"] {
  color-scheme: light;
  --color-scheme: light;
  --color-text-primary: #000000;
  --color-text-secondary: rgba(60, 60, 67, 0.60);
  --color-fill-0: #FFFFFF;
  --color-fill-1: #F2F2F7;
  --color-fill-2: #E5E5EA;
  --color-fill-3: #D1D1D6;
  --color-accent-brand: #000000;
  --color-accent-orange: #FF8D28;
  --color-accent-green: #34C759;
  --color-accent-red: #FF3B30;
  --color-accent-blue: #007AFF;
  --color-accent-indigo: #5856D6;
  --color-accent-mint: #00C7BE;
  --color-accent-purple: #AF52DE;
  --color-accent-pink: #FF2D55;
  --color-text-accent-brand: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-scheme: dark;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: rgba(235, 235, 245, 0.60);
    --color-fill-0: #000000;
    --color-fill-1: #121214;
    --color-fill-2: #272729;
    --color-fill-3: #3A3A3C;
    --color-accent-brand: #FFFFFF;
    --color-accent-orange: #FF9230;
    --color-accent-green: #30D158;
    --color-accent-red: #FF453A;
    --color-accent-blue: #0A84FF;
    --color-accent-indigo: #5E5CE6;
    --color-accent-mint: #63E6E2;
    --color-accent-purple: #BF5AF2;
    --color-accent-pink: #FF375F;
    --color-text-accent-brand: #000000;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --color-scheme: dark;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(235, 235, 245, 0.60);
  --color-fill-0: #000000;
  --color-fill-1: #121214;
  --color-fill-2: #272729;
  --color-fill-3: #3A3A3C;
  --color-accent-brand: #FFFFFF;
  --color-accent-orange: #FF9230;
  --color-accent-green: #30D158;
  --color-accent-red: #FF453A;
  --color-accent-blue: #0A84FF;
  --color-accent-indigo: #5E5CE6;
  --color-accent-mint: #63E6E2;
  --color-accent-purple: #BF5AF2;
  --color-accent-pink: #FF375F;
  --color-text-accent-brand: #000000;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-fill-1);
  color: var(--color-text-primary);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.whimsicalFont {
  line-height: 1.06;
}

.cursiveFont {
  line-height: 1.13;
}

.monoFont {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.roundedFont {
  font-family: ui-rounded, "SF Pro Rounded", "SF Pro Display",
    "Segoe UI Rounded", "Segoe UI", "Roboto", "Noto Sans Rounded", "Nunito",
    sans-serif;
}

/* Navbar */
.navbar-spacer {
  height: 104px;
  width: 100%;
}

.navbar-container {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.navbar-container::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 140%;
  background-color: var(--color-fill-1);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

.navbar-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 130%;
  backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
}

.navbar {
  width: 100%;
  max-width: var(--base-width);
  height: 78px;
}

.navbar-content {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  align-items: center;
  padding: 18px;
  border-radius: 999px;
  backdrop-filter: blur(24px);
  background-color: color-mix(in srgb, var(--color-fill-0) 70%, transparent);
  border: 1px solid var(--color-fill-0);
  box-shadow: inset 0 0 25px var(--color-fill-0),
    0 20px 30px color(display-p3 0 0 0 / 0.02);
}

.app-identity {
  justify-self: start;
  display: flex;
  align-items: center;
  margin-left: 12px;
}

.app-icon-container {
  flex-grow: 0;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.app-name {
  font-size: 17px;
  font-weight: bold;
  margin-left: 11px;
}

.nav-links {
  justify-self: center;
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  transition: opacity 0.05s;
}

.nav-links a:hover {
  opacity: 0.5;
}

.navbar-action {
  justify-self: end;
}

@container root (width < 768px) {
  .navbar-container {
    padding-top: 12px;
  }

  .navbar-content {
    display: flex;
    justify-content: space-between;
  }

  .navbar {
    padding: 0 12px;
  }

  .app-name {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }
}

@container root style(--color-scheme: dark) {
  .navbar-content {
    background-color: color-mix(in srgb, var(--color-fill-2) 70%, transparent);
    border: 1px solid var(--color-fill-3);
    box-shadow: inset 0 0 25px var(--color-fill-2);
  }
}

/* App icon */
.app-icon {
  position: relative;
}

.app-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

/* Download button */
.download-action-button:link,
.download-action-button:visited {
  display: block;
  color: var(--color-text-accent-brand);
  background-color: var(--color-accent-brand);
  border-radius: 999px;
  border: none;
  transition: transform 0.15s ease-in-out;
  text-decoration: none;
}

.download-action-button .label,
.download-action-button .download-label,
.download-action-button .apple-logo,
.download-action-button svg {
  color: var(--color-text-accent-brand);
  fill: currentColor;
}

.download-action-button:hover {
  transform: scale(1.03);
}

.download-action-button:active {
  transform: scale(0.97);
}

.download-action-button .label {
  position: relative;
  left: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-action-button .apple-logo {
  position: relative;
  top: -1px;
}

.download-action-button .download-label {
  font-weight: 500;
}

.download-action-button.small {
  padding: 8px 18px;
}

.download-action-button.small .label {
  gap: 8px;
}

.download-action-button.small .download-label {
  font-size: 16px;
}

.download-action-button.medium {
  padding: 10px 20px;
}

.download-action-button.medium .label {
  gap: 8px;
}

.download-action-button.medium .download-label {
  font-size: 18px;
}

/* Section */
.section {
  width: 100%;
  max-width: var(--base-width);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  scroll-margin-top: 100px;
}

.section + .section {
  margin-top: 80px;
}

.section-title {
  font-size: 34px;
  line-height: 1.2;
  font-weight: bold;
  width: 100%;
  margin-bottom: 32px;
  padding: 0 30px;
}

/* Hero */
.hero {
  --media-min-height: 640px;
  max-width: var(--base-width);
  display: grid;
  grid-template-columns: 1fr 310px;
  grid-template-rows: minmax(var(--media-min-height), 1fr);
  grid-template-areas: "content video";
  gap: 80px;
  padding: 0px 100px 0 60px;
  margin-bottom: 40px;
}

.hero-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding-bottom: 40px;
}

.hero-title {
  font-size: 66px;
  line-height: 1.03;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 300;
  margin-top: 16px;
}

.hero-action {
  width: 100%;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
}

.hero-media {
  display: flex;
  align-items: center;
  grid-area: video;
  width: 100%;
  max-width: 310px;
  min-height: var(--media-min-height);
}

.hero-image {
  position: relative;
  width: 100%;
  min-height: var(--media-min-height, 640px);
  overflow: visible;
}

.hero-image-canvas,
.bezel-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-image .hero-image-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-shadow {
  position: absolute;
  z-index: 0;
  bottom: calc(-7px + var(--bottom-offset, 0px));
  left: 0;
  opacity: 0;
  animation: shadowFadeIn 1.5s ease-out 0.5s forwards;
}

@keyframes shadowFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@container root (width < 768px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(var(--media-min-height), auto);
    grid-template-areas: "content" "video";
    gap: 40px;
    padding: 0 30px;
  }

  .hero-content {
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-action {
    align-items: center;
  }

  .hero-media {
    justify-self: center;
  }
}

/* Card grid */
.card-grid {
  container-name: cardGrid;
  --layout: grid;
  --card-gap: 20px;
  width: 100%;
  max-width: var(--base-width);
  padding: 0 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.card-grid + .card-grid {
  margin-top: 20px;
}

@container root (width < 768px) {
  .card-grid {
    --layout: column;
    gap: 30px;
  }
}

.grid-card-item {
  container: mediaCard / inline-size;
  --min-width: calc((100% - var(--card-gap) * 2) / 3);
  --color-base-background: var(--color-fill-0);
  position: relative;
  height: var(--card-height);
  box-sizing: border-box;
  color: var(--color-text-primary);
  background-color: color-mix(in srgb, var(--color-base-background) 50%, transparent);
  border-radius: 35px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-fill-0);
  box-shadow: inset 0 0 25px var(--color-fill-0);
  overflow: hidden;
}

.grid-card-item.third { width: var(--min-width); }
.grid-card-item.half { width: calc((100% - var(--card-gap)) / 2); }
.grid-card-item.two-thirds { width: calc(100% - var(--card-gap) - var(--min-width)); }
.grid-card-item.full { width: 100%; }

@supports (corner-shape: squircle) {
  .grid-card-item {
    border-radius: 60px;
    corner-shape: squircle;
  }
}

@container cardGrid style(--layout: column) {
  .grid-card-item.third,
  .grid-card-item.half,
  .grid-card-item.two-thirds,
  .grid-card-item.full {
    width: 100%;
  }
}

@container root style(--color-scheme: dark) {
  .grid-card-item {
    --color-base-background: var(--color-fill-2);
    background-color: color-mix(in srgb, var(--color-base-background) 70%, transparent);
    border: 1px solid var(--color-fill-3);
    box-shadow: inset 0 0 25px var(--color-fill-2);
  }
}

/* Stacked card */
.stacked-card-content {
  container-name: stackedCardContent;
  container-type: style;
  display: grid;
  height: 100%;
  width: 100%;
}

.stacked-card-content.forward {
  --media-position: top;
  grid-template-rows: 3fr 1fr;
  grid-template-columns: 1fr;
  grid-template-areas: "media" "text";
}

.stacked-card-content.reverse {
  --media-position: bottom;
  grid-template-rows: 1fr 3fr;
  grid-template-columns: 1fr;
  grid-template-areas: "text" "media";
}

.stacked-card-media-area {
  position: relative;
  z-index: 0;
  grid-area: media;
}

.stacked-card-text {
  position: relative;
  z-index: 1;
  grid-area: text;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: start;
}

.stacked-card-text .text-content {
  text-align: start;
}

.stacked-card-text.center {
  align-items: center;
  justify-content: center;
}

.stacked-card-text.center .text-content {
  text-align: center;
}

.stacked-card-title {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
}

.stacked-card-title.cursive {
  font-size: 30px;
}

.stacked-card-description {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 500;
  margin-top: 6px;
}

.stacked-card-media {
  container-name: stackedCardMedia;
  container-type: size;
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.media-object {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.media-object.padded {
  padding: 30px;
}

.media-object.cropped-top {
  object-position: top;
  padding-top: 0;
}

.media-object.cropped-bottom {
  object-position: bottom;
  padding-bottom: 0;
}

@container mediaCard (420px <= width < 580px) {
  .stacked-card-text.leading {
    padding: 30px 120px 30px 30px;
  }

  .stacked-card-text.center {
    padding: 30px 60px;
  }

  .stacked-card-title.cursive {
    font-size: 42px;
  }
}

@container mediaCard (width >= 580px) {
  .media-object.padded {
    padding: 40px;
  }

  .stacked-card-content.forward {
    --media-position: leading;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "media text";
  }

  .stacked-card-content.forward .stacked-card-text {
    padding: 40px 40px 40px 30px;
  }

  .stacked-card-content.reverse {
    --media-position: trailing;
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text media";
  }

  .stacked-card-content.reverse .stacked-card-text {
    padding: 40px 30px 40px 40px;
  }

  .stacked-card-text.center {
    align-items: center;
    justify-content: start;
  }

  .stacked-card-text.center .text-content {
    text-align: start;
  }

  .stacked-card-title {
    font-size: 44px;
    font-weight: 900;
  }

  .stacked-card-title.cursive {
    font-size: 50px;
  }

  .stacked-card-description {
    font-size: 18px;
    margin-top: 8px;
  }
}

@container mediaCard (width >= 700px) {
  .stacked-card-content.forward {
    grid-template-columns: 2fr 1fr;
  }

  .stacked-card-content.reverse {
    grid-template-columns: 1fr 2fr;
  }
}

@container stackedCardContent style(--media-position: leading) {
  .media-object.padded { padding-right: 0; }
}

@container stackedCardContent style(--media-position: trailing) {
  .media-object.padded { padding-left: 0; }
}

@container stackedCardContent style(--media-position: top) {
  .media-object.padded { padding-bottom: 0; }
}

@container stackedCardContent style(--media-position: bottom) {
  .media-object.padded { padding-top: 0; }
}

/* Overlaid card */
.overlaid-card {
  position: relative;
  display: flex;
}

.overlaid-card.center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlaid-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
}

.overlaid-card-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 30px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.1s ease 0.3s;
  --overlaid-card-text-backdrop-color: #000000;
  color: #ffffff;
}

.overlaid-card-text.dark-background-image {
  --overlaid-card-text-backdrop-color: color-mix(in srgb, var(--color-fill-1) 20%, #000000);
  color: #ffffff;
  opacity: 1;
}

.overlaid-card-text.light-background-image {
  --overlaid-card-text-backdrop-color: color-mix(in srgb, var(--color-fill-1) 80%, #ffffff);
  color: #000000;
  opacity: 1;
}

.overlaid-card-text.center::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 110%;
  background-color: var(--overlaid-card-text-backdrop-color);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 90%);
  z-index: -1;
  opacity: 0.8;
}

@container root style(--color-scheme: dark) {
  .overlaid-card-text.dark-background-image {
    --overlaid-card-text-backdrop-color: color-mix(in srgb, var(--color-fill-1) 85%, #000000);
  }

  .overlaid-card-text.light-background-image {
    --overlaid-card-text-backdrop-color: color-mix(in srgb, var(--color-fill-1) 15%, #ffffff);
  }
}

.overlaid-card-title {
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.overlaid-card-description {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 500;
  margin-top: 6px;
}

@container mediaCard (width >= 580px) {
  .overlaid-card-title {
    font-size: 44px;
    font-weight: 900;
  }

  .overlaid-card-description {
    font-size: 18px;
    margin-top: 8px;
  }

  .overlaid-card-text.center {
    padding-left: 20%;
    padding-right: 20%;
  }
}

/* Icon card */
.icon-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 0;
  text-align: start;
  padding: 30px;
  height: 100%;
}

.icon-card .icon {
  height: 32px;
  flex-shrink: 0;
  color: var(--color-accent-brand);
  font-size: 32px;
}

.icon-card .icon-filled {
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 30;
}

.icon-card-info {
  min-height: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.icon-card-title {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 700;
}

.icon-card-description {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--color-text-secondary);
}

@container mediaCard (width >= 580px) {
  .icon-card {
    position: relative;
    top: -16px;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
  }

  .icon-card-info {
    min-height: auto;
    max-width: 370px;
  }

  .icon-card-title {
    font-size: 24px;
  }
}

/* Footer */
.compact-footer {
  width: 100%;
  max-width: var(--base-width);
  padding: 0 20px;
  margin-bottom: 40px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}

.compact-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  background-color: var(--color-fill-2);
  border-radius: 32px;
}

.compact-footer-main .app-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.compact-footer-links {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}

.compact-footer-link {
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.05s ease-in-out;
}

.compact-footer-link:hover {
  opacity: 0.5;
}

.compact-footer-footnotes {
  display: flex;
  justify-content: space-between;
  padding: 0 32px;
  color: var(--color-text-secondary);
  font-size: 14px;
}

.compact-footer-footnotes a {
  text-decoration: underline;
  transition: color 0.05s ease-in-out;
}

.compact-footer-footnotes a:hover {
  color: var(--color-text-primary);
}

@container root (width < 768px) {
  .compact-footer-main {
    flex-direction: column;
    padding: 32px 32px 40px;
    gap: 48px;
  }

  .compact-footer-links {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .compact-footer-footnotes {
    flex-direction: column;
    gap: 12px;
    padding: 0;
    text-align: center;
  }
}

/* Article (privacy, release notes) */
.article {
  width: 100%;
  max-width: calc(0.75 * var(--base-width));
  padding: 20px 30px;
  font-size: 18px;
  line-height: 1.5;
}

.article h1,
.article h2,
.article h3 {
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.2;
  margin: 2rem 0 0.75rem;
}

.article h1 { font-size: clamp(32px, 4vw, 50px); }
.article h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); }
.article h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); }

.article p {
  color: var(--color-text-primary);
  margin: 26px 0;
}

.article ul,
.article ol {
  margin: 1rem 0 1rem 1.5rem;
  padding: 0;
  color: var(--color-text-primary);
}

.article li + li {
  margin-top: 0.4rem;
}

.article a {
  color: var(--color-accent-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity 150ms ease-in-out;
}

.article a:hover {
  opacity: 0.6;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.article th,
.article td {
  text-align: left;
  padding: 0.5rem;
}

.article thead tr {
  border-bottom: 1px solid var(--color-fill-3);
}

.article tbody tr {
  border-bottom: 1px solid var(--color-fill-2);
}

.article hr {
  border: none;
  border-top: 1px solid var(--color-fill-3);
  margin: 2rem auto;
  width: 70%;
}

/* Release note */
.release-note {
  scroll-margin-top: 150px;
}

.release-note:first-of-type,
.release-note + .release-note {
  margin-top: 60px;
}

.release-note-date {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}

.release-note-title {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.center-download {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Contact page */
.contact-page {
  padding-top: 40px;
  padding-bottom: 60px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;
  margin: 40px 0;
  padding: 32px;
  color: var(--color-text-primary);
  background-color: color-mix(in srgb, var(--color-fill-0) 50%, transparent);
  border-radius: 35px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-fill-0);
  box-shadow: inset 0 0 25px var(--color-fill-0);
}

@supports (corner-shape: squircle) {
  .contact-card {
    border-radius: 60px;
    corner-shape: squircle;
  }
}

@container root style(--color-scheme: dark) {
  .contact-card {
    background-color: color-mix(in srgb, var(--color-fill-2) 70%, transparent);
    border: 1px solid var(--color-fill-3);
    box-shadow: inset 0 0 25px var(--color-fill-2);
  }
}

.contact-card-icon {
  font-size: 36px;
  color: var(--color-accent-brand);
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 30;
}

.contact-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 8px;
}

.contact-card-description {
  font-size: 17px;
  line-height: 1.3;
  color: var(--color-text-secondary);
  margin: 0 0 16px;
}

.contact-email-link {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-accent-brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity 150ms ease-in-out;
}

.contact-email-link:hover {
  opacity: 0.6;
}

.contact-response-note {
  color: var(--color-text-secondary);
  font-size: 16px;
}

@container root (width >= 580px) {
  .contact-card {
    flex-direction: row;
    align-items: center;
    padding: 40px;
    gap: 32px;
  }
}
